Gestro
Public Member Functions | Private Attributes | List of all members
UbuntuController::WindowAction Class Reference

Contains functions that accessed by DisplayControl to access the WindowControl. More...

#include <WindowAction.h>

Inheritance diagram for UbuntuController::WindowAction:
Inheritance graph
Collaboration diagram for UbuntuController::WindowAction:
Collaboration graph

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...
 

Detailed Description

Contains functions that accessed by DisplayControl to access the WindowControl.

Definition at line 9 of file WindowAction.h.

Constructor & Destructor Documentation

◆ WindowAction()

WindowAction::WindowAction ( Display *  d)

constructor.

Definition at line 5 of file WindowAction.cpp.

Member Function Documentation

◆ changeWindowSize()

void WindowAction::changeWindowSize ( int  x,
int  y 
)

Call WindowControl to change the size of the window (currently in development)

Parameters
xthe x coordinate of the window
yThe y coordinate of the window.

Definition at line 9 of file WindowAction.cpp.

Here is the call graph for this function:

◆ closeWindow()

void WindowAction::closeWindow ( )

Call WindowControl to close the window (currently in development).

Definition at line 17 of file WindowAction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ minimizeWindow()

void WindowAction::minimizeWindow ( )

Call WindowControl to minimize the window.

Definition at line 21 of file WindowAction.cpp.

Here is the call graph for this function:

◆ moveWindow()

void WindowAction::moveWindow ( int  x,
int  y 
)

Call WindowControl to move the window to the specified coordinates.

Parameters
xThe x coordinate of the window.
yThe y coordinate of the window.

Definition at line 13 of file WindowAction.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ display

Display* UbuntuController::WindowAction::display
private

A pointer to the display.

Definition at line 13 of file WindowAction.h.

◆ revert

int UbuntuController::WindowAction::revert
private

Used to store the value of the revert-to property of the window.

Definition at line 19 of file WindowAction.h.

◆ windowControl

WindowControl UbuntuController::WindowAction::windowControl
private

Creating an instance of the WindowControl class.

Definition at line 22 of file WindowAction.h.

◆ winFocus

Window UbuntuController::WindowAction::winFocus
private

A variable that is used to store the window that is currently in focus.

Definition at line 16 of file WindowAction.h.


The documentation for this class was generated from the following files: