Public Member Functions | |
AutomateXWin (const char *win_name) | |
connect to the x window display and select the given window name | |
virtual | ~AutomateXWin () |
destroy the window and stop the event handling | |
void | setFocus () |
set the focus to this window | |
Image< PixRGB< byte > > | getImage () |
Get the image of the window. | |
void | DeleteImage (void) |
Delete the image buffer. | |
void | sendKey (const int key) |
send the given key to the window | |
int | getHighBitIndex (unsigned int x) |
void | GetWindowGeometry () |
Window | XWindowByName (Display *display, const Window rootwin, const char *name) |
void | XListWindows (Display *display, const Window rootwin) |
Definition at line 59 of file AutomateXWin.H.
AutomateXWin::AutomateXWin | ( | const char * | win_name | ) |
connect to the x window display and select the given window name
Definition at line 47 of file AutomateXWin.C.
AutomateXWin::~AutomateXWin | ( | ) | [virtual] |
destroy the window and stop the event handling
Definition at line 108 of file AutomateXWin.C.
void AutomateXWin::DeleteImage | ( | void | ) |
Get the image of the window.
Definition at line 128 of file AutomateXWin.C.
References DeleteImage(), NO_INIT, and Image< T >::setVal().
void AutomateXWin::sendKey | ( | const int | key | ) |
send the given key to the window
Definition at line 225 of file AutomateXWin.C.
void AutomateXWin::setFocus | ( | ) |
set the focus to this window
Definition at line 122 of file AutomateXWin.C.