Skip to content

Commit

Permalink
Added application icons :)
Browse files Browse the repository at this point in the history
  • Loading branch information
freddycansic committed Feb 18, 2022
1 parent 5a7cc69 commit 0a7f612
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
Binary file removed core/assets/badlogic.jpg
Binary file not shown.
Binary file added core/assets/icon_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/assets/icon_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/assets/icon_32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion desktop/src/com/tsp/desktop/DesktopLauncher.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.tsp.desktop;

import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.graphics.Color;
Expand All @@ -13,7 +14,11 @@ public static void main (String[] arg) {
config.title = "Travelling Salesman";
config.initialBackgroundColor = Color.WHITE;
config.samples = 3; // anti aliasing
config.forceExit = false;
config.forceExit = true;
config.resizable = false;
config.addIcon("icon_128.png", FileType.Internal);
config.addIcon("icon_32.png", FileType.Internal);
config.addIcon("icon_16.png", FileType.Internal);
new LwjglApplication(new Main(), config);
}
}

0 comments on commit 0a7f612

Please sign in to comment.