UI Widget drawing style base class
|
static shared_ptr< Style > | create (const string &name="vector") |
|
virtual void addResource |
( |
Widget & |
widget, |
|
|
const string & |
resources |
|
) |
| |
|
pure virtual |
Create a resource from a resources description string.
- Parameters
-
widget | : widget to ass resources string to |
resources | : string that describe the resources of a widget |
Implemented in z0::ui::StyleClassic::addResource()
static shared_ptr<Style> create |
( |
const string & |
name = "vector" | ) |
|
|
nodiscardstatic |
Creates a new UI drawing style renderer.
- Parameters
-
shared_ptr<Font> getFont |
( |
| ) |
const |
|
nodiscardinline |
Returns the default font for the style.
string getOption |
( |
const string & |
name | ) |
const |
|
nodiscard |
Returns a style-specific option value
virtual void setOption |
( |
const string & |
name, |
|
|
const string & |
value |
|
) |
| |
|
virtual |
Sets a style-specific option