27 #ifndef YGGDRASILWM_CONFIGDATAGROUP_HPP
28 #define YGGDRASILWM_CONFIGDATAGROUP_HPP
30 #include "json/json.h"
51 void configInit(
const Json::Value& root)
override;
ConfigDataBase class header. This class is an interface for the ConfigData classes.
ConfigDataBase class This class is an interface for the ConfigData classes This is a pure virtual cla...
Definition: ConfigDataBase.hpp:38
ConfigDataGroup class Store the configuration for a group from the config file. the logic of groups i...
Definition: ConfigDataGroup.hpp:40
void configInit(const Json::Value &root) override
Initialize the configuration for a group from the config file. must be called after instanciating the...
Definition: ConfigDataGroup.cpp:41
int groupBorderSize_
Definition: ConfigDataGroup.hpp:65
unsigned long groupActiveColor_
Definition: ConfigDataGroup.hpp:64
std::string groupName_
Definition: ConfigDataGroup.hpp:61
unsigned long getGroupInactiveColor() const
Definition: ConfigDataGroup.cpp:93
~ConfigDataGroup() override=default
int getGroupBorderWidth() const
Definition: ConfigDataGroup.cpp:95
int getGroupGap() const
Definition: ConfigDataGroup.cpp:96
unsigned long groupInactiveColor_
Definition: ConfigDataGroup.hpp:63
std::string groupLayout_
Definition: ConfigDataGroup.hpp:62
const std::string & getGroupName() const
Definition: ConfigDataGroup.cpp:91
int groupGap_
Definition: ConfigDataGroup.hpp:66
const std::string & getGroupLayout() const
Definition: ConfigDataGroup.cpp:92
unsigned long getGroupActiveColor() const
Definition: ConfigDataGroup.cpp:94
ConfigDataGroup()
Definition: ConfigDataGroup.cpp:33
Json::Value configSave() override
Build a Json::Value object with the configuration.
Definition: ConfigDataGroup.cpp:88