ClanLib
2.3.7
|
Cascading Style Sheet (CSS) property. More...
#include <css_property.h>
Public Member Functions | |
Construction | |
CL_CSSProperty () | |
Constructs a CSS property. More... | |
~CL_CSSProperty () | |
Operations | |
void | set_name (const CL_String &name) |
Sets property name. More... | |
void | set_value (const CL_String &value) |
Sets property value. More... | |
void | set_priority (Priority priority) |
Sets property priority. More... | |
bool | operator== (const CL_CSSProperty &other) const |
Attributes | |
enum | Priority { priority_normal, priority_important } |
CSS priorities. More... | |
const CL_String & | get_name () const |
Returns the name of the property. More... | |
const CL_String & | get_value () const |
Returns the value of the property. More... | |
Priority | get_priority () const |
Returns the priority of the property. More... | |
Cascading Style Sheet (CSS) property.
CL_CSSProperty::CL_CSSProperty | ( | ) |
Constructs a CSS property.
CL_CSSProperty::~CL_CSSProperty | ( | ) |
const CL_String& CL_CSSProperty::get_name | ( | ) | const |
Returns the name of the property.
Priority CL_CSSProperty::get_priority | ( | ) | const |
Returns the priority of the property.
const CL_String& CL_CSSProperty::get_value | ( | ) | const |
Returns the value of the property.
bool CL_CSSProperty::operator== | ( | const CL_CSSProperty & | other) | const |
void CL_CSSProperty::set_name | ( | const CL_String & | name) |
Sets property name.
void CL_CSSProperty::set_priority | ( | Priority | priority) |
Sets property priority.
void CL_CSSProperty::set_value | ( | const CL_String & | value) |
Sets property value.