Style property set.
More...
#include <style.h>
◆ Style() [1/2]
◆ Style() [2/2]
clan::Style::Style |
( |
const Style & |
| ) |
|
|
delete |
◆ ~Style()
◆ declared_value()
Retrieve the declared value for a property.
◆ operator=()
◆ set() [1/2]
void clan::Style::set |
( |
const std::string & |
properties | ) |
|
Parse and apply CSS properties to property set
The properties string uses the same syntax as when styles are specified using the 'style' attribute in HTML. This function does not clear the current properties already set and can be called multiple times with individual sets of properties.
Additional arguments can be passed in and will be inserted with the same syntax as when using the string_format function.
◆ set() [2/2]
template<class Arg1 , typename... Values>
void clan::Style::set |
( |
const std::string & |
properties, |
|
|
Arg1 |
arg1, |
|
|
Values... |
values |
|
) |
| |
|
inline |
◆ to_rgba()
The documentation for this class was generated from the following file: