-
Notifications
You must be signed in to change notification settings - Fork 4
/
ACSGOMH_ColorSelection.pbf
44 lines (35 loc) · 2.16 KB
/
ACSGOMH_ColorSelection.pbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
; Form Designer for Purebasic - 5.42
; Warning: this file uses a strict syntax, if you edit it, make sure to respect the Form Designer limitation or it won't be opened again.
;
; This code is automatically generated by the FormDesigner.
; Manual modification is possible to adjust existing commands, but anything else will be dropped when the code is compiled.
; Event procedures needs to be put in another source file.
;
Global ACSGOMH_Colors
Global ACSGOMH_Colors_String_Vulnerable, ACSGOMH_Colors_String_Weapon, ACSGOMH_Colors_String_Grenade, ACSGOMH_Colors_String_Chicken, ACSGOMH_Colors_String_Bomb, ACSGOMH_Colors_ButtonImage_Weapon, ACSGOMH_Colors_ButtonImage_Chicken, ACSGOMH_Colors_ButtonImage_Grenade, ACSGOMH_Colors_ButtonImage_Bomb, ACSGOMH_Colors_ButtonImage_Vulnerable
Procedure OpenACSGOMH_Colors(x = 0, y = 0, width = 240, height = 110)
ACSGOMH_Colors = OpenWindow(#PB_Any, x, y, width, height, "ACSGOMH - Colors", #PB_Window_SystemMenu)
ACSGOMH_Colors_String_Vulnerable = TextGadget(#PB_Any, 10, 80, 70, 20, "Vulnerable:")
ACSGOMH_Colors_String_Weapon = TextGadget(#PB_Any, 10, 20, 70, 20, "Weapon:")
ACSGOMH_Colors_String_Grenade = TextGadget(#PB_Any, 130, 20, 60, 20, "Grenade:")
ACSGOMH_Colors_String_Chicken = TextGadget(#PB_Any, 10, 50, 70, 20, "Chicken:")
ACSGOMH_Colors_String_Bomb = TextGadget(#PB_Any, 130, 50, 40, 20, "Bomb:")
ACSGOMH_Colors_ButtonImage_Weapon = ButtonImageGadget(#PB_Any, 80, 20, 40, 20, 0, #PB_Button_Toggle)
ACSGOMH_Colors_ButtonImage_Chicken = ButtonImageGadget(#PB_Any, 80, 50, 40, 20, 0, #PB_Button_Toggle)
ACSGOMH_Colors_ButtonImage_Grenade = ButtonImageGadget(#PB_Any, 190, 20, 40, 20, 0, #PB_Button_Toggle)
ACSGOMH_Colors_ButtonImage_Bomb = ButtonImageGadget(#PB_Any, 190, 50, 40, 20, 0, #PB_Button_Toggle)
ACSGOMH_Colors_ButtonImage_Vulnerable = ButtonImageGadget(#PB_Any, 80, 80, 40, 20, 0, #PB_Button_Toggle)
EndProcedure
Procedure ACSGOMH_Colors_Events(event)
Select event
Case #PB_Event_CloseWindow
ProcedureReturn #False
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
ProcedureReturn #True
EndProcedure