Code: Select all
;================= Window 0(Start) (Main) ==================
Procedure Open_Window_0()
If OpenWindow(#Window_0, 302, 537, 750, 375, #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_TitleBar , "PlanetL2 24/7 Server Launcher. (Ver 1.0)")
If CreateGadgetList(WindowID())
WebGadget(#Web_0, 20, 20, 610, 340, "about:blank")
ButtonGadget(#Button_0, 650, 330, 80, 30, "Exit")
GadgetToolTip(#Button_0, "To Exit the launcher.")
ButtonGadget(#Button_1, 650, 250, 80, 30, "Support")
GadgetToolTip(#Button_1, "If you have a problem or a complaint.")
ButtonGadget(#Button_2, 650, 210, 80, 30, "FAQ's")
GadgetToolTip(#Button_2, "Frequently Asked Questions- We give the answers.")
ButtonGadget(#Button_3, 650, 170, 80, 30, "Extra")
GadgetToolTip(#Button_3, "Extra Content.")
ButtonGadget(#Button_4, 650, 290, 80, 30, "About")
GadgetToolTip(#Button_4, "About our servers and us.")
ButtonGadget(#Button_5, 650, 130, 80, 30, "Forums")
GadgetToolTip(#Button_5, "Server forums.")
ButtonGadget(#Button_6, 650, 90, 80, 30, "Chat")
GadgetToolTip(#Button_6, "Live php chat with other players.")
ButtonGadget(#Button_7, 650, 50, 80, 30, "Updates")
GadgetToolTip(#Button_7, "Check for the latest updates. (Use this when the launchers out of date.)")
ButtonGadget(#Button_8, 650, 10, 80, 30, "Play")
GadgetToolTip(#Button_8, "Play PlanetL2 Now!")
ImageGadget(#Image_0, 0, 0, 750, 375, Image0)
EndIf
EndIf
EndProcedure
;================= Window 0(Stop) (Main) ==================