From: fred-boy Date: Sat, 21 Apr 2018 19:56:57 +0000 (+0700) Subject: Add icon on desktop X-Git-Tag: alpha0.2.1~8 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ae127044500e62f503403562d2b80c7d59235831;p=cavedroid.git Add icon on desktop --- diff --git a/android/assets/icons/icon128.png b/android/assets/icons/icon128.png new file mode 100644 index 0000000..7f15a2d Binary files /dev/null and b/android/assets/icons/icon128.png differ diff --git a/android/assets/icons/icon16.png b/android/assets/icons/icon16.png new file mode 100644 index 0000000..4fe56a5 Binary files /dev/null and b/android/assets/icons/icon16.png differ diff --git a/android/assets/icons/icon32.png b/android/assets/icons/icon32.png new file mode 100644 index 0000000..30a3eca Binary files /dev/null and b/android/assets/icons/icon32.png differ diff --git a/desktop/src/ru/deadsoftware/cavecraft/desktop/DesktopLauncher.java b/desktop/src/ru/deadsoftware/cavecraft/desktop/DesktopLauncher.java index e640ebb..533b65d 100644 --- a/desktop/src/ru/deadsoftware/cavecraft/desktop/DesktopLauncher.java +++ b/desktop/src/ru/deadsoftware/cavecraft/desktop/DesktopLauncher.java @@ -1,5 +1,6 @@ package ru.deadsoftware.cavecraft.desktop; +import com.badlogic.gdx.Files; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import ru.deadsoftware.cavecraft.CaveGame; @@ -7,6 +8,9 @@ import ru.deadsoftware.cavecraft.CaveGame; public class DesktopLauncher { public static void main (String[] arg) { LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); + config.addIcon("icons/icon128.png", Files.FileType.Internal); + config.addIcon("icons/icon32.png", Files.FileType.Internal); + config.addIcon("icons/icon16.png", Files.FileType.Internal); config.foregroundFPS = 60; config.title = "CaveCraft"; config.width = 960;