|
| Style () |
|
| Style (const Style &)=default |
|
| Style (Style &&)=default |
|
Style & | operator= (const Style &)=default |
|
Style & | operator= (Style &&)=default |
|
size_t | GetSize () const |
| Return a count of the number of settings that have been set. More...
|
|
Style & | DoSet (const std::string &in_set, const std::string &in_val) |
|
template<typename SET_TYPE > |
Style & | Set (const std::string &s, SET_TYPE v) |
| Record that setting "s" is set to value "v" (converted to string) and return this object. More...
|
|
Style & | Insert (const Style &in_css) |
| Set all values from in_css here as well. Return this object. More...
|
|
bool | Has (const std::string &setting) const |
| Return true/false based on whether "setting" has been given a value in this Style. More...
|
|
const std::string & | Get (const std::string &setting) |
|
const std::map< std::string, std::string > & | GetMap () const |
|
void | Clear () |
| Remove all setting values. More...
|
|
void | Remove (const std::string &setting) |
| Remove a specific setting value. More...
|
|
void | Apply (const std::string &widget_id) |
| Apply ALL of the style settings to a specified widget. More...
|
|
void | Apply (const std::string &widget_id, const std::string &setting) |
| Apply only a SPECIFIC style setting from the setting library. More...
|
|
| operator bool () const |
| Have any settings be set? More...
|
|
Class to maintain a map of setting names to values that can be easily ported over to JavaScript. A companial class, Attributes, also exists.