LayoutManager class Interface for the layout managers.
More...
#include <LayoutManager.hpp>
|
| LayoutManager (Display *display, Window root, int size_x, int size_y, int pos_x, int pos_y, int gap, int border_size) |
| Construct a new LayoutManager object. More...
|
|
virtual | ~LayoutManager ()=default |
|
virtual void | updateGeometry (unsigned int sizeX, unsigned int sizeY, unsigned int posX, unsigned int posY)=0 |
| update the geometry of the layout used to resize the layout More...
|
|
virtual void | reSize (const Point &size, const Point &pos)=0 |
|
virtual void | addClient (std::shared_ptr< Client > client)=0 |
| add a client to the layout More...
|
|
virtual void | removeClient (Client *client)=0 |
| remove a client from the layout More...
|
|
LayoutManager class Interface for the layout managers.
◆ LayoutManager()
LayoutManager::LayoutManager |
( |
Display * |
display, |
|
|
Window |
root, |
|
|
int |
size_x, |
|
|
int |
size_y, |
|
|
int |
pos_x, |
|
|
int |
pos_y, |
|
|
int |
gap, |
|
|
int |
border_size |
|
) |
| |
Construct a new LayoutManager object.
- Parameters
-
display | |
root | |
size_x | |
size_y | |
pos_x | |
pos_y | |
gap | |
border_size | |
bar_height | |
int space_count_
Definition: LayoutManager.hpp:89
int gap_
Definition: LayoutManager.hpp:87
int border_size_
Definition: LayoutManager.hpp:88
int screen_height_
Definition: LayoutManager.hpp:86
Display * display_
Definition: LayoutManager.hpp:90
int screen_width_
Definition: LayoutManager.hpp:85
Window rootWindow_
Definition: LayoutManager.hpp:91
◆ ~LayoutManager()
virtual LayoutManager::~LayoutManager |
( |
| ) |
|
|
virtualdefault |
◆ addClient()
void LayoutManager::addClient |
( |
std::shared_ptr< Client > |
client | ) |
|
|
pure virtual |
◆ removeClient()
void LayoutManager::removeClient |
( |
Client * |
client | ) |
|
|
pure virtual |
◆ reSize()
virtual void LayoutManager::reSize |
( |
const Point & |
size, |
|
|
const Point & |
pos |
|
) |
| |
|
pure virtual |
◆ updateGeometry()
void LayoutManager::updateGeometry |
( |
unsigned int |
sizeX, |
|
|
unsigned int |
sizeY, |
|
|
unsigned int |
posX, |
|
|
unsigned int |
posY |
|
) |
| |
|
pure virtual |
◆ border_size_
int LayoutManager::border_size_ |
|
protected |
◆ display_
Display* LayoutManager::display_ |
|
protected |
◆ gap_
◆ rootWindow_
Window LayoutManager::rootWindow_ |
|
protected |
◆ screen_height_
int LayoutManager::screen_height_ |
|
protected |
◆ screen_width_
int LayoutManager::screen_width_ |
|
protected |
◆ space_count_
int LayoutManager::space_count_ |
|
protected |
The documentation for this class was generated from the following files: