2023-06-15 21:58:12 +00:00
|
|
|
': This form was generated by
|
2023-06-24 02:38:56 +00:00
|
|
|
': InForm - GUI library for QB64 - v1.5
|
|
|
|
': Fellippe Heitor, 2016-2023 - fellippe@qb64.org - @fellippeheitor
|
2023-06-15 21:58:12 +00:00
|
|
|
': https://github.com/FellippeHeitor/InForm
|
|
|
|
'-----------------------------------------------------------
|
|
|
|
SUB __UI_LoadForm
|
|
|
|
|
2023-06-24 02:38:56 +00:00
|
|
|
DIM __UI_NewID AS LONG, __UI_RegisterResult AS LONG
|
2023-06-15 21:58:12 +00:00
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Form, "TicTacToe2", 300, 325, 0, 0, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
SetCaption __UI_NewID, "Tic tac toe 2"
|
|
|
|
Control(__UI_NewID).Font = SetFont("cyberbit.ttf?times.ttf?arial.ttf?InForm/resources/NotoMono-Regular.ttf", 48)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).CenteredWindow = True
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button1", 80, 80, 13, 30, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button2", 80, 80, 111, 30, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button3", 80, 80, 209, 30, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button4", 80, 80, 12, 123, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button5", 80, 80, 110, 123, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button6", 80, 80, 208, 123, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button7", 80, 80, 14, 216, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button8", 80, 80, 112, 216, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
__UI_NewID = __UI_NewControl(__UI_Type_Label, "Button9", 80, 80, 210, 216, 0)
|
2023-06-24 02:38:56 +00:00
|
|
|
__UI_RegisterResult = 0
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).BackColor = _RGB32(127, 170, 255)
|
2023-06-24 02:38:56 +00:00
|
|
|
Control(__UI_NewID).HasBorder = False
|
2023-06-15 21:58:12 +00:00
|
|
|
Control(__UI_NewID).Align = __UI_Center
|
|
|
|
Control(__UI_NewID).VAlign = __UI_Middle
|
|
|
|
|
|
|
|
END SUB
|
|
|
|
|
|
|
|
SUB __UI_AssignIDs
|
|
|
|
TicTacToe2 = __UI_GetID("TicTacToe2")
|
|
|
|
Button1 = __UI_GetID("Button1")
|
|
|
|
Button2 = __UI_GetID("Button2")
|
|
|
|
Button3 = __UI_GetID("Button3")
|
|
|
|
Button4 = __UI_GetID("Button4")
|
|
|
|
Button5 = __UI_GetID("Button5")
|
|
|
|
Button6 = __UI_GetID("Button6")
|
|
|
|
Button7 = __UI_GetID("Button7")
|
|
|
|
Button8 = __UI_GetID("Button8")
|
|
|
|
Button9 = __UI_GetID("Button9")
|
|
|
|
END SUB
|