Send the user mouse and keyboard events. More...
#include <Media/MediaSimEvents.H>
Public Member Functions | |
SimEventUserInput (SimModule *src, const char *wname, const Point2D< int > clickLoc, const int key) | |
Constuctor. | |
virtual | ~SimEventUserInput () |
Destructor. | |
const char * | getWinName () const |
get the window name that generated the event | |
Point2D< int > | getMouseClick () const |
Get the mouse event. | |
int | getKey () const |
get the keyboard input |
Send the user mouse and keyboard events.
Definition at line 99 of file MediaSimEvents.H.
SimEventUserInput::SimEventUserInput | ( | SimModule * | src, | |
const char * | wname, | |||
const Point2D< int > | clickLoc, | |||
const int | key | |||
) |
Constuctor.
Definition at line 75 of file MediaSimEvents.C.
SimEventUserInput::~SimEventUserInput | ( | ) | [virtual] |
Destructor.
Definition at line 82 of file MediaSimEvents.C.
int SimEventUserInput::getKey | ( | ) | const |
get the keyboard input
Definition at line 93 of file MediaSimEvents.C.
Point2D< int > SimEventUserInput::getMouseClick | ( | ) | const |
Get the mouse event.
Definition at line 89 of file MediaSimEvents.C.
const char * SimEventUserInput::getWinName | ( | ) | const |
get the window name that generated the event
Definition at line 85 of file MediaSimEvents.C.