mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
update embedded default image icons
This commit is contained in:
@@ -975,7 +975,7 @@ public class PSurfaceAWT extends PSurfaceNone {
|
||||
try {
|
||||
if (iconImages == null) {
|
||||
iconImages = new ArrayList<Image>();
|
||||
final int[] sizes = { 16, 32, 48, 64 };
|
||||
final int[] sizes = { 16, 32, 48, 64, 128, 256, 512 };
|
||||
|
||||
for (int sz : sizes) {
|
||||
//URL url = getClass().getResource("/icon/icon-" + sz + ".png");
|
||||
|
||||
@@ -461,12 +461,13 @@ public class PSurfaceJOGL implements PSurface {
|
||||
|
||||
|
||||
protected void setIconImages() {
|
||||
int[] sizes = { 16, 32, 48, 64 };
|
||||
String[] iconImages = new String[sizes.length];
|
||||
for (int i = 0; i < sizes.length; i++) {
|
||||
iconImages[i] = "/icon/icon-" + sizes[i] + ".png";
|
||||
}
|
||||
NewtFactory.setWindowIcons(new ClassResources(PApplet.class, iconImages));
|
||||
//int[] sizes = { 16, 32, 48, 64 };
|
||||
final int[] sizes = { 16, 32, 48, 64, 128, 256, 512 };
|
||||
String[] iconImages = new String[sizes.length];
|
||||
for (int i = 0; i < sizes.length; i++) {
|
||||
iconImages[i] = "/icon/icon-" + sizes[i] + ".png";
|
||||
}
|
||||
NewtFactory.setWindowIcons(new ClassResources(PApplet.class, iconImages));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@ X https://msdn.microsoft.com/en-us/library/dn742485.aspx
|
||||
X merged list of sizes: 16, 24, 32, 48, 64, 256
|
||||
X Linux version of updated icon
|
||||
X handled with the .desktop file, nothing has changed for the file location
|
||||
_ add larger icons to core folder
|
||||
X add larger icons to core folder
|
||||
_ update export icons in java/application (export.icns and export.ico)
|
||||
|
||||
fixed earlier
|
||||
X Can't set Breakpoint from the Breakpoint bar at the side
|
||||
|
||||
Reference in New Issue
Block a user