update embedded default image icons

This commit is contained in:
Ben Fry
2015-06-03 16:20:10 -05:00
parent 07a18bfa9a
commit 00bfda4998
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -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");
+7 -6
View File
@@ -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));
}
+2 -1
View File
@@ -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