clan::StyleProperty Class Reference - ClanLib SDK
Description: clan::StyleProperty Class Reference

Static Public Member Functions | List of all members
clan::StyleProperty Class Reference

Style property interface used to parse or query properties by name. More...

`#include <style_property_parser.h>`

## Static Public Member Functions
static const StyleGetValue & | default_value (PropertyHash hash)
| Gets the default value for a given property.
static bool | is_inherited (PropertyHash hash)
| Indicates if this an inherited property or not.
static void | parse (StylePropertySetter *setter, const std::string &styles)
| Parses a string of styles and sets the values.

## Detailed Description

Style property interface used to parse or query properties by name.

## Member Function Documentation

## ◆ default_value()

const StyleGetValue & clan::StyleProperty::default_value | ( | PropertyHash | hash | ) |
| static

Gets the default value for a given property.

## ◆ is_inherited()

bool clan::StyleProperty::is_inherited | ( | PropertyHash | hash | ) |
| static

Indicates if this an inherited property or not.

## ◆ parse()

void clan::StyleProperty::parse | ( | StylePropertySetter * | setter,
|  | const std::string & | styles )
| static

Parses a string of styles and sets the values.

The documentation for this class was generated from the following file:

- style_property_parser.h