#include <maiaconfigFrame.h>
Inheritance diagram for maiaconfigFrame:
Public Member Functions | |
maiaconfigFrame (wxWindow *parent=(wxWindow *) NULL) | |
Constructor. | |
Private Member Functions | |
void | NotifyTCPMessage (omTCPMessage) |
bool | Destroy () |
void | OnChangeScanTime (wxCommandEvent &WXUNUSED(event)) |
void | SaveButtonPressed (wxCommandEvent &WXUNUSED(event)) |
void | ApplyChangesPressed (wxCommandEvent &WXUNUSED(event)) |
void | GetActionKey (wxCommandEvent &WXUNUSED(event)) |
void | GetUpKey (wxCommandEvent &WXUNUSED(event)) |
void | GetDownKey (wxCommandEvent &WXUNUSED(event)) |
void | GetLeftKey (wxCommandEvent &WXUNUSED(event)) |
void | GetRightKey (wxCommandEvent &WXUNUSED(event)) |
void | AskAllParameters () |
void | SendAllParameters () |
void | OnSize (wxSizeEvent) |
Process resize event (don't work). | |
void | OnClose (wxSizeEvent) |
Private Attributes | |
omConnector * | connector |
Connector for messages exchange (over tcp/ip). | |
wxString | host |
Host to connect with. | |
int | port |
omGetKeyDialog * | getKeyDialog |
bool | toSave |
Flag indicating if some option changed. | |
wxCheckBox * | autoscan |
wxCheckBox * | joystick |
wxCheckBox * | direct |
wxCheckBox * | actionOnPress |
wxCheckBox * | enableKeyboard |
wxCheckBox * | grabKeys |
wxCheckBox * | enableJoystick |
wxCheckBox * | enableSerial |
wxTextCtrl * | actionKeyDisplay |
wxTextCtrl * | upKeyDisplay |
wxTextCtrl * | downKeyDisplay |
wxTextCtrl * | leftKeyDisplay |
wxTextCtrl * | rightKeyDisplay |
wxTextCtrl * | scanTimeDisplay |
wxSlider * | scanTime |
|
Constructor. Build maiaconfigFrame class. The constructor builds the class and load maiaconfigFrame frame resource. The resource must be initialized by the caller of the class.
|
|
Apply button pressed. Send all prarameters and Apply message to maia agent. |
|
Ask all parameters values to Maia application. |
|
Destroy the class |
|
GetActionKey button pressed. Load getKeyDialog dialog. |
|
GetDownKey button pressed. Load getKeyDialog dialog. |
|
GetLeftKey button pressed. Load getKeyDialog dialog. |
|
GetRightKey button pressed. Load getKeyDialog dialog. |
|
GetUpKey button pressed. Load getKeyDialog dialog. |
|
Receive message from Open Maia Server and parses it. This metohod is used to sincronize options from maia to maiaconfig.
Reimplemented from omObject. |
|
Process scanTime scroll event |
|
Process close event
|
|
Process resize event (don't work).
|
|
Save button pressed. Send parameters and Save message to maia agent. |
|
Send all parameters values to Maia application. |
|
|
|
|
|
|
|
Connector for messages exchange (over tcp/ip).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Host to connect with.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag indicating if some option changed.
|
|
|
Copyright © by Luca Clivio |