From ae127044500e62f503403562d2b80c7d59235831 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Sun, 22 Apr 2018 02:56:57 +0700 Subject: [PATCH] Add icon on desktop --- android/assets/icons/icon128.png | Bin 0 -> 3647 bytes android/assets/icons/icon16.png | Bin 0 -> 661 bytes android/assets/icons/icon32.png | Bin 0 -> 1258 bytes .../cavecraft/desktop/DesktopLauncher.java | 4 ++++ 4 files changed, 4 insertions(+) create mode 100644 android/assets/icons/icon128.png create mode 100644 android/assets/icons/icon16.png create mode 100644 android/assets/icons/icon32.png diff --git a/android/assets/icons/icon128.png b/android/assets/icons/icon128.png new file mode 100644 index 0000000000000000000000000000000000000000..7f15a2d8e384f9a20a7aa244e5a8a1abe8e87dcd GIT binary patch literal 3647 zcmV-F4#4q=P)s`MRV><+#KuVwqBq2B;XdV=mM_Z|-MFFa|0Z|A)s6dKT zsr;&%{-{(!Qxpl|2tx>{FSUPoH6#HNKv7X4p`|EELr4lWHjW=_vTN^pAGbf44V%pw zd+yA=Gk4Z=q?N5ZGk5Mi-*?YF=e`CAC6rJ?2_=+JLJ1|5P(leMlu$wmC6rJ?38l^@ z5|BJYIa`=YU`1+vsQEt>v7j^J=L-Rfsgj}^*x)<=WokoGRS7LwkyO_`D$rwY$We(Y-~IWG&}D(cI+5=UsqQbnwpx( zvW$<9lX+F@Znu6;?lTMni9`bJ?d{mOabprdv5E}bB+y)duLFqh*s)_`WMt&FOeQ0= z(!BSId{!yDPt>DOC}3b<09&?f$pSC{#7s;gUJ&36_)k9h>;LIB-~^S5QomS5F|XBDMedFai} z%}Sd8R4PTL>$YQt5nI zfcf3}Rk9uq$`X~?1)L!PV=PiB;A}9rs)wUh@2G%pdnA_E0-Pa$jEZ?lraC3Av@kGY z@xM}lgw7-X9E^rg>X8&uq5xYNTa64p{?;CDB~!_aG2FfKI$;3Ln>WugwjLWBBcD$u zlk|Yh8?Ve<{@UUCBXl_*TzfNFu7-vNp(NE*ZDArBUQk-EKqoU2C<5?S+>c?_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Ew|pIeFZ#Zs1N#Q?orpXYW^9+sCj6>NvZ* z%6BLUKx++vQi?+bCG@+)w6>2D31{H_^w?2Y>i-FaLdg^i!|+#s_g!LNrm3iHAg8RJ z*tpBPuG=W35}Fexa9x+j53i9GG>GJ-v%aL7cs!12njEP=&-eE&bhKR|Ha^X+%45kB zSe8ZBs#GH36|_djP)Z>pXsyv&bE|EXvVxVY4H{%-X8zrU!t$eZ^h_e2M?4-+pa#&< vGs(tCt*^zxFl_*q|7Vzf00VQOT3r1C-H+Xh2qLoN00000NkvXXu0mjf^s^af literal 0 HcmV?d00001 diff --git a/android/assets/icons/icon32.png b/android/assets/icons/icon32.png new file mode 100644 index 0000000000000000000000000000000000000000..30a3ecaa714278865db187aa5e3fd14ab2f4bff5 GIT binary patch literal 1258 zcmVe|%g(OIpB%QcA|MnsBi=W(+Qx4R*sE&P*c;OEzFGn_t^Ra3=FY zvMs@jCN?Z&VOiA;S;Uxm%h>dSDHj@IhTbeV2+2axGCo>8osi5IPrL#SS&^?79$>yuY0Dnv~<$%_n%H? zn47G<&*z&nYidTqJT53GKtvD`oK7bIPN$Rc@o@l3N=o!I(P$J!Q96M$z^WO6EHfi3 z=9#W#YWiHO)!Eru0M37VBf&_WZ+-l!HH_VEHvqw45WC%uh|u%RbwofA6T?8S1Z-Lwm#fS+Bm&=u20J8}m5HOD|;7Z!3?Jh{P7xpoA>MVkgv!R$g??wc;(|8}AA6?d9W0C2Rr1`#0~4&!pU z)(=A~k5ywj*+fS8B>{M{@95vA`y?YD&{8TuW2NfFpC4%F@QX(P=>IZ6^X@VLZjQ|( z0)0b4j=ZI&`7=!?=-k(oQRwEbmoxRl7MiFUS|OHsinbIW7!2y)cDo%wk9&X$R~~&s z(})PQRmJLj!p@rAlWB+u9*<{@kEJw$#?GZTHv0`pj52SZSQzj6D6KW19DbjidCeTu)c87<lfHqk_W)$ zYtu9y>Oe#&EG$Gs2%PJrW@|A3HwHf7$@(|-b**VNLP`NN##%}qyn2xeS3Ur>+luHL z3L+xxefc%L?9w9UXxmvXcE68^aHzhV;lc9&O#ONvfaeUnT)?=|4tE;Pqo}HadC=`kX0)YzPeyTqsfP5hDANmuE0e_^aPyU1LFJvMP UA|lr6;s5{u07*qoM6N<$g7BG4g#Z8m literal 0 HcmV?d00001 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; -- 2.29.2