![]() |
Gestro
|
Contains functions that accessed by DisplayControl to access the WindowControl. More...
#include <WindowAction.h>


Public Member Functions | |
| WindowAction (Display *d) | |
| void | changeWindowSize (int x, int y) |
| void | moveWindow (int x, int y) |
| void | closeWindow () |
| void | minimizeWindow () |
Private Attributes | |
| Display * | display |
| A pointer to the display. More... | |
| Window | winFocus |
| A variable that is used to store the window that is currently in focus. More... | |
| int | revert |
| Used to store the value of the revert-to property of the window. More... | |
| WindowControl | windowControl |
| Creating an instance of the WindowControl class. More... | |
Contains functions that accessed by DisplayControl to access the WindowControl.
Definition at line 9 of file WindowAction.h.
| WindowAction::WindowAction | ( | Display * | d | ) |
constructor.
Definition at line 5 of file WindowAction.cpp.
| void WindowAction::changeWindowSize | ( | int | x, |
| int | y | ||
| ) |
Call WindowControl to change the size of the window (currently in development)
| x | the x coordinate of the window |
| y | The y coordinate of the window. |
Definition at line 9 of file WindowAction.cpp.

| void WindowAction::closeWindow | ( | ) |
Call WindowControl to close the window (currently in development).
Definition at line 17 of file WindowAction.cpp.


| void WindowAction::minimizeWindow | ( | ) |
Call WindowControl to minimize the window.
Definition at line 21 of file WindowAction.cpp.

| void WindowAction::moveWindow | ( | int | x, |
| int | y | ||
| ) |
Call WindowControl to move the window to the specified coordinates.
| x | The x coordinate of the window. |
| y | The y coordinate of the window. |
Definition at line 13 of file WindowAction.cpp.


|
private |
A pointer to the display.
Definition at line 13 of file WindowAction.h.
|
private |
Used to store the value of the revert-to property of the window.
Definition at line 19 of file WindowAction.h.
|
private |
Creating an instance of the WindowControl class.
Definition at line 22 of file WindowAction.h.
|
private |
A variable that is used to store the window that is currently in focus.
Definition at line 16 of file WindowAction.h.
1.8.13