Grow a window.
More...
#include <Grow.hpp>
|
| Grow () |
|
| ~Grow () override=default |
|
void | execute (const std::string &args) override |
| Each child class must implement this interface. More...
|
|
◆ Grow()
◆ ~Grow()
◆ deserializeXKeyEvent()
52 std::istringstream ss(serializedEvent);
56 std::getline(ss, item,
',');
57 event.inc = std::stoi(item);
60 std::getline(ss, item,
',');
61 event.subwindow =
static_cast<Window
>(std::stoul(item));
64 std::getline(ss, item,
',');
65 event.window =
static_cast<Window
>(std::stoul(item));
68 std::getline(ss, item,
',');
69 event.state = std::stoul(item);
72 std::getline(ss, item,
',');
73 event.keycode = std::stoul(item);
Referenced by execute().
◆ execute()
void Grow::execute |
( |
const std::string & |
args | ) |
|
|
overridevirtual |
Each child class must implement this interface.
- Parameters
-
args | arguments to the command |
Implements CommandBase.
40 std::shared_ptr<Client> client = wm->
getClient(event.subwindow);
static DeserializedXKeyEvent deserializeXKeyEvent(const std::string &serializedEvent)
Definition: Grow.cpp:50
LayoutManager class Interface for the layout managers.
Definition: LayoutManager.hpp:42
TreeLayoutManager class this class is a subclass of LayoutManager it handles the tree style layout Wh...
Definition: TreeLayoutManager.hpp:44
void growSpace(Client *client, int inc)
grow the space of the client in the x axis
Definition: TreeLayoutManager.cpp:165
WindowManager class This class is responsible for managing the windows.in an X11 session....
Definition: WindowManager.hpp:59
std::shared_ptr< Client > getClient(Window window)
Get the Client by window ptr or frame ptr.
Definition: WindowManager.cpp:251
std::shared_ptr< Group > getActiveGroup() const
get the current Active Group
Definition: WindowManager.cpp:272
static WindowManager * getInstance()
Get the WindowManager instance this is a singleton class this function returns the instance of the Wi...
Definition: WindowManager.cpp:244
References deserializeXKeyEvent(), WindowManager::getActiveGroup(), WindowManager::getClient(), WindowManager::getInstance(), and TreeLayoutManager::growSpace().
The documentation for this class was generated from the following files: