27 #ifndef YGGDRASILWM_MASTERLAYOUTMANAGER_HPP
28 #define YGGDRASILWM_MASTERLAYOUTMANAGER_HPP
42 void updateGeometry(
unsigned int sizeX,
unsigned int sizeY,
unsigned int posX,
unsigned int posY)
override;
44 void addClient(std::shared_ptr<Client> client)
override;
LayoutManager class header.
The Client class is responsible for managing the client windows. It creates a frame around the client...
Definition: Client.hpp:47
LayoutManager class Interface for the layout managers.
Definition: LayoutManager.hpp:42
Definition: MasterLayoutManager.hpp:31
void updateGeometry(unsigned int sizeX, unsigned int sizeY, unsigned int posX, unsigned int posY) override
update the geometry of the layout used to resize the layout
Definition: MasterLayoutManager.cpp:43
void addClient(std::shared_ptr< Client > client) override
add a client to the layout
Definition: MasterLayoutManager.cpp:35
MasterLayoutManager(Display *display, Window root, int sizeX, int sizeY, int posX, int posY, int borderSize, int gap, int barHeight)
Definition: MasterLayoutManager.cpp:47
void reSize(const Point &size, const Point &pos) override
Definition: MasterLayoutManager.cpp:39
void removeClient(Client *client) override
remove a client from the layout
Definition: MasterLayoutManager.cpp:31
~MasterLayoutManager() override=default
std::unique_ptr< MasterSpace > rootSpace_
Definition: MasterLayoutManager.hpp:47
Definition: MasterSpace.hpp:34
Point struct This struct represents a 2D point.
Definition: Point.hpp:8