![]() |
Gestro
|
Used to send window events. More...
#include <WindowControl.h>

Public Member Functions | |
| WindowControl (void) | |
| Window | identifyWindow (Display *display) |
| void | resize (Display *display, int x, int y) |
| void | move (Display *display, int x, int y) |
| void | minimize (Display *display) |
| void | close (Display *display) |
Used to send window events.
Definition at line 8 of file WindowControl.h.
| WindowControl::WindowControl | ( | void | ) |
Constructor
Definition at line 6 of file WindowControl.cpp.
| void WindowControl::close | ( | Display * | display | ) |
It closes the window
| display | The display to use. |
Definition at line 43 of file WindowControl.cpp.


| Window WindowControl::identifyWindow | ( | Display * | display | ) |
It returns the window that currently has focus
| display | The display to use. |
Definition at line 8 of file WindowControl.cpp.

| void WindowControl::minimize | ( | Display * | display | ) |
It minimizes the window
| display | The display to use. |
Definition at line 37 of file WindowControl.cpp.


| void WindowControl::move | ( | Display * | display, |
| int | x, | ||
| int | y | ||
| ) |
It moves the window to the specified coordinates
| display | The display to use. |
| x | The x coordinate of the window's new position. |
| y | The y coordinate of the window's new position. |
Definition at line 31 of file WindowControl.cpp.


| void WindowControl::resize | ( | Display * | display, |
| int | x, | ||
| int | y | ||
| ) |
It takes a display and two integers as arguments, and resizes the window to the given dimensions
| display | The display to use. |
| x | The x coordinate of the upper left corner of the window. |
| y | The y coordinate of the upper-left outside corner of the window. |
Definition at line 16 of file WindowControl.cpp.


1.8.13