XIncludeFile "Buttons_Constants.pb"
XIncludeFile "Buttons_Windows.pb"
;-Main Loop
If Window_Main()
| PVGadgets_CanvasButtonAdd(#Window_Main,#Gadget_Main_Settings,#Image_Main_Settings,#Image_Icons_Settings)
|
| PVGadgets_CanvasButtonAdd(#Window_Main,#Gadget_Main_Web,#Image_Main_Web,#Image_Icons_Web)
|
| PVGadgets_CanvasButtonAdd(#Window_Main,#Gadget_Main_Info,#Image_Main_Info,#Image_Icons_Info)
|
| PVGadgets_CanvasButtonHover(#Window_Main)
|
| Case #PB_Event_CloseWindow
|
| If EventWindowID()=#Window_Main
|
| Select PVGadgets_CanvasButtonPressed()
|
| Case #Gadget_Main_Settings
|
| SetGadgetText(#Gadget_Main_Press,"S e t t i n g s . . .")
|
| SetGadgetText(#Gadget_Main_Press,"W e b s i t e . . .")
|
| SetGadgetText(#Gadget_Main_Press,"I n f o r m a t i o n . . .")
|
| CloseWindow(#Window_Main)
| EndIf
|