20 #ifndef PAWS_CONFIG_MOUSE_HEADER 21 #define PAWS_CONFIG_MOUSE_HEADER 24 #include <csutil/array.h> 90 Register(
"pawsConfigMouse" );
bool LoadMouse(const char *fileName)
virtual void SetDefault()
sets content of dialog according to default configuration
configuration screen for mouse settings like invert axis, sensibility, ...
void CreateTreeWidgets(pawsTreeNode *subtreeRoot)
void HandleEditedAction(csString &editedAction)
Update the ingame state depending on the action that was edited.
virtual bool OnButtonPressed(int mouseButton, int keyModifier, pawsWidget *widget)
Called whenever a button is pressed.
void SetActionLabels(pawsTreeNode *subtreeRoot)
psMouseBinds holds set of psMouseAction
virtual bool OnChange(pawsWidget *widget)
Called whenever a widget is selected.
virtual bool Initialize()
virtual ~pawsConfigMouse()
bool CreateTree()
Creates the tree that makes the whole GUI.
virtual bool LoadConfig()
sets content of dialog according to current configuration
virtual bool SaveConfig()
remembers settings in-game and saves them permanently to a file also