#include <sspt_controlparser.h>
Public Types | |
enum | KeyModifiers { MouseButton1 = 0x01, MouseButton2 = 0x02, MouseButton3 = 0x04, Shift = 0x08, Control = 0x10, Alt = 0x20 } |
Public Member Functions | |
virtual | ~sspt_ControlParser () |
virtual bool | keyPress (KeySym key, unsigned long modifiers, char *string, int x, int y)=0 |
virtual bool | keyRelease (KeySym key, unsigned long modifiers, char *string, int x, int y)=0 |
virtual bool | mousePress (unsigned long modifiers, int x, int y)=0 |
virtual bool | mouseMove (unsigned long modifiers, int x, int y)=0 |
virtual bool | mouseRelease (unsigned long modifiers, int x, int y)=0 |
This object's role is to serve as a parser, and translates key commands into appropriate function calls to an artifact
virtual sspt_ControlParser::~sspt_ControlParser | ( | ) | [inline, virtual] |
virtual bool sspt_ControlParser::keyPress | ( | KeySym | key, | |
unsigned long | modifiers, | |||
char * | string, | |||
int | x, | |||
int | y | |||
) | [pure virtual] |
Implemented in sspt_MeshShellControl, and sspt_SliceControl.
virtual bool sspt_ControlParser::keyRelease | ( | KeySym | key, | |
unsigned long | modifiers, | |||
char * | string, | |||
int | x, | |||
int | y | |||
) | [pure virtual] |
Implemented in sspt_MeshShellControl, and sspt_SliceControl.
virtual bool sspt_ControlParser::mouseMove | ( | unsigned long | modifiers, | |
int | x, | |||
int | y | |||
) | [pure virtual] |
Implemented in sspt_MeshShellControl, and sspt_SliceControl.
virtual bool sspt_ControlParser::mousePress | ( | unsigned long | modifiers, | |
int | x, | |||
int | y | |||
) | [pure virtual] |
Implemented in sspt_MeshShellControl, and sspt_SliceControl.
virtual bool sspt_ControlParser::mouseRelease | ( | unsigned long | modifiers, | |
int | x, | |||
int | y | |||
) | [pure virtual] |
Implemented in sspt_MeshShellControl, and sspt_SliceControl.