SpiffyTek
/
SMACheck
Archived
1
0
Fork 0

GUi background for popup

--HG--
branch : 1.1
This commit is contained in:
MadMakz 2012-11-14 01:39:46 +01:00
parent 9dab1c7240
commit d75090b6d8
4 changed files with 8 additions and 9 deletions

View File

@ -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

View File

@ -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)

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.