diff --git a/SMACheck.au3 b/SMACheck.au3 index 269529f..a03624f 100644 --- a/SMACheck.au3 +++ b/SMACheck.au3 @@ -14,7 +14,7 @@ ;#AutoIt3Wrapper_Res_ProductVersion=x.x.x.x ; Broken, use #AutoIt3Wrapper_Res_Field=ProductVersion|x.x.x as workarround. #AutoIt3Wrapper_Res_Field=ProductVersion|Freeware -#AutoIt3Wrapper_Res_Fileversion=1.1.0.66 +#AutoIt3Wrapper_Res_Fileversion=1.1.0.67 #AutoIt3Wrapper_Res_FileVersion_AutoIncrement=N ;(Y/N/P) AutoIncrement FileVersion After Aut2EXE is finished. default=N. P=Prompt, Will ask at Compilation time if you want to increase the versionnumber #AutoIt3Wrapper_Res_Language=1033 ;Resource Language code . german = 1031, english (U.S.) = 1033. default 2057=English (United Kingdom). For a List see http://technet.microsoft.com/en-us/library/dd346950.aspx @@ -30,7 +30,8 @@ #AutoIt3Wrapper_Res_Field=CompanyName|SpiffyTek (http://spiffytek.com) ;#AutoIt3Wrapper_Res_Field=Author| -#AutoIt3Wrapper_res_file_add=.\resources\gfx\guibg.jpg, rt_rcdata, img_bg; http://www.autoitscript.com/forum/topic/51103-resources-udf/ +#AutoIt3Wrapper_res_file_add=.\resources\gfx\guibg.jpg, rt_rcdata, img_bg ; http://www.autoitscript.com/forum/topic/51103-resources-udf/ +#AutoIt3Wrapper_res_file_add=.\resources\gfx\GUiBG_PopUp.jpg, rt_rcdata, img_bg_popup ;#AutoIt3Wrapper_Res_File_Add=.\bg.bmp, rt_bitmap, img_bg ;; Ui Statuscions diff --git a/main.au3 b/main.au3 index caf5f46..faad4db 100644 --- a/main.au3 +++ b/main.au3 @@ -21,8 +21,8 @@ Func _main() Local $GuiPosX = (@DesktopWidth - $GuiWidth) / 2, $GuiPosY = (@DesktopHeight - $GuiHeight) / 2 Global $GUi = GUICreate("SMACheck - smacbans.com", $GuiWidth, $GuiHeight, $GuiPosX, $GuiPosY) - $GUiBG = GUICtrlCreatePic("", 0, 0, 370, 177) - _ResourceSetImageToCtrl($GUiBG, "img_bg", $RT_RCDATA) + $GUiBG = GUICtrlCreatePic("", 0, 0, $GuiWidth, $GuiHeight) + _ResourceSetImageToCtrl(-1, "img_bg", $RT_RCDATA) GUICtrlSetState(-1, $GUI_DISABLE) $gInput = GUICtrlCreateLabel("SteamID:", 0, 50, 368, 17, $SS_CENTER) GUICtrlSetFont(-1, 10, 400, 0, "Tahoma") @@ -80,11 +80,9 @@ Func gui_Info($output) Local $overlayWidth = 312, $overlayHeight = 154, $pos = WinGetPos($GUi) $GUI2 = GUICreate("INFO (" & $output & ")", $overlayWidth, $overlayHeight, $pos[0] + 20, $pos[1] + 20, BitXOR($GUI_SS_DEFAULT_GUI, $WS_MINIMIZEBOX)) - ;If $pInfo[4] = "Y" Then - ; GUISetBkColor(0xE33F35) - ;Else - ; GUISetBkColor(0x518652) - ;EndIf + $GUiBG2 = GUICtrlCreatePic("", 0, 0, $overlayWidth, $overlayHeight) + _ResourceSetImageToCtrl(-1, "img_bg_popup", $RT_RCDATA) + GUICtrlSetState(-1, $GUI_DISABLE) $bClose = GUICtrlCreateButton("OK", 120, 125, 65, 25, $BS_CENTER) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GuiCtrlSetState(-1, 512) diff --git a/resources/gfx/GUiBG_PopUp.jpg b/resources/gfx/GUiBG_PopUp.jpg new file mode 100644 index 0000000..683aef3 Binary files /dev/null and b/resources/gfx/GUiBG_PopUp.jpg differ diff --git a/resources/gfx/GUiBG_PopUp.psd b/resources/gfx/GUiBG_PopUp.psd new file mode 100644 index 0000000..da9eb80 Binary files /dev/null and b/resources/gfx/GUiBG_PopUp.psd differ