20 #ifndef __PAWS_LAUNCHER_WINDOW_H__ 21 #define __PAWS_LAUNCHER_WINDOW_H__ 46 csRef<iConfigFile> configFile;
47 csRef<iConfigFile> configUser;
48 csRef<CS::Threading::Thread> newsUpdater;
52 static void HandleUpdateButton(
bool choice,
void *thisptr);
53 static void HandleCacheButton(
bool choice,
void* thisptr);
54 void HandleAspectRatio(csString ratio);
58 bool DeleteShaderCache();
59 void LoadSkin(
const char*
name);
60 bool LoadResource(
const char* resource,
const char* resname,
const char* mountPath);
63 class NewsUpdater :
public CS::Threading::Runnable
95 UPDATER_CANCEL_BUTTON,
96 SETTINGS_OK_BUTTON = 131,
97 SETTINGS_CANCEL_BUTTON,
98 SETTINGS_AUDIO_BUTTON,
99 SETTINGS_CONTROLS_BUTTON,
100 SETTINGS_GENERAL_BUTTON,
101 SETTINGS_GRAPHICS_BUTTON,
105 UPDATE_MESSAGE_BOX = 141,
108 NOTIFY_MESSAGE_BOX = 151,
127 #endif // __PAWS_LAUNCHER_WINDOW_H__ bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
This is an ok button window box.
bool PostSetup()
This is called after the widget and all of it's children have been created.
A simple list box widget.
This is a yes/no box used to do confirms.
A basic combo box widget.
CREATE_PAWS_FACTORY(pawsLauncherWindow)