|
Orcus
|
#include <css_selector.hpp>
Public Member Functions | |
| css_property_value_t (const css_property_value_t &r) | |
| css_property_value_t (const pstring &_str) | |
| css_property_value_t & | operator= (const css_property_value_t &r) |
| void | swap (css_property_value_t &r) |
Public Attributes | |
| css::property_value_t | type |
| union { | |
| struct { | |
| const char * str | |
| uint32_t length | |
| } | |
| struct { | |
| union { | |
| struct { | |
| uint8_t red | |
| uint8_t green | |
| 0 to 255 | |
| uint8_t blue | |
| 0 to 255 | |
| } | |
| struct { | |
| uint16_t hue | |
| uint8_t saturation | |
| 0 to 360 where 0-red, 120-green, and 240-blue | |
| uint8_t lightness | |
| percentage | |
| } | |
| } | |
| double alpha | |
| } | |
| }; | |
Structure representing a single CSS property value.
| orcus::css_property_value_t::css_property_value_t | ( | const pstring & | _str | ) |
Constructor that takes a string value.
| _str | string value to store. This value should point to a string buffer that's already been interned. The caller is responsible for managing the life cycle of the string buffer that the pstring object points to. |
| const char* orcus::css_property_value_t::str |
Pointer to a string value. The actual string value must be stored in the string pool associated with the document tree storage.
1.8.14