From 7d60b16105336c70f5899fd439d5ba91e4710479 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Sun, 27 Jun 2021 01:38:54 -0400 Subject: [PATCH] #4, #48 Fix #4 Make icons have a proper background for #48 --- WhyNotWin11.au3 | 20 ++++++++++++++++---- includes/Dis.ico | Bin 4286 -> 4286 bytes includes/PP.ico | Bin 4286 -> 4286 bytes includes/Web.ico | Bin 4286 -> 4286 bytes 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/WhyNotWin11.au3 b/WhyNotWin11.au3 index 00faec13..9ea2518f 100644 --- a/WhyNotWin11.au3 +++ b/WhyNotWin11.au3 @@ -24,6 +24,8 @@ Global $sVersion = "2.2.2.0" #include #include #include +#include +#include #include #include #include @@ -102,17 +104,27 @@ Func Main() GUICtrlCreateLabel("", 0, 0, 100, 600) GUICtrlSetBkColor(-1, _HighContrast(0xE6E6E6)) + _GDIPlus_Startup() If @Compiled Then GUICtrlCreateIcon(@ScriptFullPath, 201, 12, 100, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, @ScriptFullPath, 201, 32, 32) GUICtrlCreateIcon(@ScriptFullPath, 202, 56, 100, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, @ScriptFullPath, 202, 32, 32) GUICtrlCreateIcon(@ScriptFullPath, 203, 12, 144, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, @ScriptFullPath, 203, 32, 32) GUICtrlCreateIcon(@ScriptFullPath, 204, 56, 144, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, @ScriptFullPath, 204, 32, 32) Else - GUICtrlCreateIcon(".\includes\Git.ico", -1, 12, 100, 32, 32) - GUICtrlCreateIcon(".\includes\PP.ico", -1, 56, 100, 32, 32) - GUICtrlCreateIcon(".\includes\dis.ico", -1, 12, 144, 32, 32) - GUICtrlCreateIcon(".\includes\Web.ico", -1, 56, 144, 32, 32) + GUICtrlCreateIcon("", -1, 12, 100, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, ".\includes\Git.ico", -1, 32, 32) + GUICtrlCreateIcon("", -1, 56, 100, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, ".\includes\PP.ico", -1, 32, 32) + GUICtrlCreateIcon("", -1, 12, 144, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, ".\includes\dis.ico", -1, 32, 32) + GUICtrlCreateIcon("", -1, 56, 144, 32, 32) + _SetBkIcon(-1, 0xE6E6E6, ".\includes\Web.ico", -1, 32, 32) EndIf + _GDIPlus_Shutdown() $hBannerText = GUICtrlCreateLabel("", 5, 540, 90, 20, $SS_CENTER+$SS_CENTERIMAGE) GUICtrlSetFont(-1, 8.5, $FW_NORMAL, $GUI_FONTUNDER) diff --git a/includes/Dis.ico b/includes/Dis.ico index fb03393fad015c8f2bb251fec719a47eeb24be68..60b5507f36719406e80016b05b84fa68b19763ba 100644 GIT binary patch literal 4286 zcmeI0ziSjh6vt;(R78$oks^fzD@zeUu?Sa*g@{;)ND7f478VkMMG(BjLI@UO5kxE` zRj{xKVkvixHbVRZL@rUpN=O7TL0muI^B%lR_Hwtk%B9E)pUljgdGEXPGmsDxenv-w zeuw#?5QaktM*&x;g8bXeM);na1Nx?8=q|&P0qCDYa}}}<`up)8hg1Iu9RoA1_c};B zPk$W$H`j0D%9JzY+XWAE^7{2ZLI1CuF=ezBdlnWt=ZdAK^9V&ge~< zfJt}^ub>Lvsx-brd`7$JYaV8Ys7%8pIB3oe?+nDIb5m4b`x~3~-SRwjovNE(V`7`aVf|Ki+y8o; zgtpF@#ou=Qs+(V9Vw=Zd{Z@9<|3Qr3L*-OkXZ;530W;OLU+RlvbT0Zi|N2gU2Wa+X zx(_yIUv`_n#=huFabu9*v!eRzq&mDYU7^+xqgTP}TD_O~YwR=7H;jSbbDFs(P2Is^ z&>b?pxa?J5ac|%%+=1D4IZmlJ>H#+treMBn0cj$cAEC-*YG1^ANF zXYs!5N8iVnt?%fwQEk&&lwHrF@qYcM2cSP`lc&^O?e*LiooC+o59n2#zN$yyIp~h* z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