Skip to content

Commit

Permalink
added multiple icon sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
David52920 committed Dec 4, 2020
1 parent 24a9520 commit a18bcb3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ public void resize (int width, int height) {
};
config.width = windowWidth;
config.height = windowHeight;
config.addIcon("gclogo.png", FileType.Internal);

config.addIcon("gclogo16.png", FileType.Internal);
config.addIcon("gclogo32.png", FileType.Internal);
config.addIcon("gclogo64.png", FileType.Internal);
config.addIcon("gclogo128.png", FileType.Internal);

if(prop.getProperty("user.width") == null || !(prop.getProperty("user.width").matches("[0-9]{3,}")) ||
prop.getProperty("user.height") == null || !(prop.getProperty("user.height").matches("[0-9]{3,}"))) {

Expand Down

0 comments on commit a18bcb3

Please sign in to comment.