Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #include <winapi.au3>
- #Include <GDIPlus.au3>
- $options = GUICreate('Options', 145, 100, Default, Default, 0x10C80000, 8)
- GUICtrlCreateGroup('Game', 5, 0, 60, 97)
- GUIStartGroup()
- GUICtrlCreateRadio('Classic', 10, 15, 50, 20)
- GUICtrlSetState(-1, 1)
- GUICtrlCreateRadio('Normal', 10, 45, 50, 20)
- GUICtrlCreateRadio('Super', 10, 75, 50, 20)
- GUICtrlCreateGroup('Mode', 70, 0, 70, 97)
- GUIStartGroup()
- GUICtrlCreateRadio('Easy', 75, 15, 60, 20)
- GUICtrlSetState(-1, 1)
- GUICtrlCreateRadio('Normal', 75, 35, 60, 20)
- GUICtrlCreateRadio('Hard', 75, 55, 60, 20)
- GUICtrlCreateRadio('Extreme', 75, 75, 60, 20)
- $game = GUICreate('Game', 480, 455, Default, Default, 0x10C00000, 0x80008, $options)
- GUISetBkColor(0xABCDEF, $game)
- _WinAPI_SetLayeredWindowAttributes($game, 0xABCDEF, 255)
- _GDIPlus_Startup()
- $pen = _GDIPlus_PenCreate(0xFFFFFFFF)
- $graphic = _GDIPlus_GraphicsCreateFromHWND($game)
- _GDIPlus_GraphicsDrawLine($graphic, 0, 0, 0, 0, $pen)
- While 1
- $msg = GUIGetMsg(1)
- If $msg[1] = $options Then
- Switch $msg[0]
- Case -3
- ExitLoop
- EndSwitch
- EndIf
- WEnd
- _GDIPlus_PenDispose($pen)
- _GDIPlus_GraphicsDispose($graphic)
- _GDIPlus_Shutdown()
Add Comment
Please, Sign In to add comment