#include <omUIOptions.h>
Inheritance diagram for omUIOptions:
Public Member Functions | |
omUIOptions () | |
virtual void | Init () |
bool | SetParameter (wxString, wxString) |
wxString | GetParameter (wxString) |
wxString | GenerateOptionsXMLString () |
Data Fields | |
int | screenWidth |
Current screen width in pixel. | |
int | screenHeight |
Current screen height in pixel. | |
wxString | keyboardName |
name of current keyboard | |
bool | scanReverseDirection |
int | actionKey |
int | leftKey |
int | rightKey |
int | upKey |
int | downKey |
bool | grabKeys |
bool | actionOnPress |
bool | soundEnabled |
flag (default: true) | |
bool | serialEnabled |
wxString | serialPort |
bool | joystickEnabled |
bool | keyboardEnabled |
bool | autoscan |
bool | joystick |
bool | direct |
int | scanTime |
int | scanLoopsNumber |
bool | delayAfterClick |
bool | delayAfterAction |
bool | delayAfterEndBlock |
int | scanResumeFrom |
bool | exitBlockAfterClick |
All generic objects in the api structure use this class to store options.
|
|
|
Generate a string containting an XML rapresantation of the options stored in the structure.
Reimplemented from omOptions. Reimplemented in maiaOptions. |
|
Get value of a parameter specified by its name.
Reimplemented from omOptions. |
|
Initialize the class. This function is called after that all objects are istantiated Reimplemented from omOptions. |
|
Set a parameter value.
Reimplemented from omOptions. |
|
key code of the action key |
|
true, the action is taken on button press false, the action is taken on button release |
|
autoscan flag |
|
True if you want a little delay after a key is actioned this means that after you press the action key on a leaf you got a delay |
|
True if you want a little delay after the key is pressed |
|
True if you want a time delay before exit from a scan block |
|
direct pointing flag |
|
direction key codes |
|
True if you want to immediatly exit after user click the button |
|
true if command keys are grabbed and not repeated to the operating system |
|
joystick flag |
|
listen to game joystick check |
|
listen to keyboard as action keys |
|
name of current keyboard
|
|
direction key codes |
|
direction key codes |
|
number of scan loops before exit |
|
which node resume when go to up block? You can RESUMEFROMFIRST, RESUMEFROMTHIS, RESUMEFROMNEXT |
|
Direction of scan: false - scan from left to right (default) true - scan from right to left |
|
Scan timing in milliseconds |
|
Current screen height in pixel.
|
|
Current screen width in pixel.
|
|
listen to serial port flag |
|
serial port |
|
flag (default: true)
|
|
direction key codes |
Copyright © by Luca Clivio |