30 #include <unordered_map>
50 void addWidget(
void *handle, std::shared_ptr<ConfigDataWidget>);
51 const std::unordered_map<Window, Widget *> &
getWidgets()
const;
55 std::unordered_map<Window, Widget *>
widgets;
void addWidget(void *handle, std::shared_ptr< ConfigDataWidget >)
Definition: Bar.cpp:116
Window window
Definition: Bar.hpp:58
std::shared_ptr< ConfigDataBar > configData
Definition: Bar.hpp:54
unsigned long BGColor
Definition: Bar.hpp:63
std::shared_ptr< TSBarsData > tsData
Definition: Bar.hpp:56
unsigned int getSizeX() const
Definition: Bar.cpp:108
std::unordered_map< Window, Widget * > widgets
Definition: Bar.hpp:55
Window root
Definition: Bar.hpp:59
unsigned long FGColor
Definition: Bar.hpp:64
unsigned long borderColor
Definition: Bar.hpp:65
unsigned int sizeY
Definition: Bar.hpp:61
Window getWindow() const
Definition: Bar.cpp:104
unsigned int getSizeY() const
Definition: Bar.cpp:112
const std::unordered_map< Window, Widget * > & getWidgets() const
Definition: Bar.cpp:147
~Bar()
Definition: Bar.cpp:38
Bar()
Definition: Bar.cpp:32
void init(std::shared_ptr< ConfigDataBar > configData, std::shared_ptr< TSBarsData > tsData)
Definition: Bar.cpp:49
std::string font
Definition: Bar.hpp:67
unsigned int sizeX
Definition: Bar.hpp:60
Display * display
Definition: Bar.hpp:57
void draw()
Definition: Bar.cpp:94
unsigned int borderSize
Definition: Bar.hpp:66
int pos
Definition: Bar.hpp:62
ConfigDataBar class Contains the configuration data for one bar in the window manager Inherits from C...
Definition: ConfigDataBar.hpp:41
Definition: TSBarsData.hpp:32