|
| MidnightTheme () |
|
| ~MidnightTheme ()=default |
|
| Theme () |
|
| Theme (const Theme &)=default |
|
| Theme (Theme &&) noexcept=default |
|
virtual | ~Theme () noexcept=default |
|
virtual void | apply () |
| Apply the Theme.
|
|
virtual DefaultDim | default_border () const |
| Get the default border width.
|
|
virtual float | default_border_radius () const |
| Get the default border radius.
|
|
virtual void | draw_box (Painter &painter, const FillFlags &type, const Rect &rect, const Pattern &border, const Pattern &bg, DefaultDim border_width=0, DefaultDim margin_width=0, float border_radius=0.0, const BorderFlags &border_flags={}, Image *background=nullptr) const |
| Draw a box specifying the properties directly.
|
|
virtual void | draw_box (Painter &painter, const Widget &widget, Palette::ColorId bg, Palette::ColorId border) const |
| Draw a box using properties directly from the widget.
|
|
virtual void | draw_circle (Painter &painter, const FillFlags &type, const Rect &rect, const Pattern &border, const Pattern &bg, DefaultDim border_width=0, DefaultDim margin_width=0) const |
| Draw a circle specifying the properties directly.
|
|
virtual void | draw_circle (Painter &painter, const Widget &widget, Palette::ColorId bg, Palette::ColorId border) const |
| Draw a circle using properties directly from the widget.
|
|
Font & | font () |
| Get a reference to the theme Font.
|
|
const Font & | font () const |
| Get a const reference to the theme Font.
|
|
void | font (const Font &font) |
| Set the theme Font.
|
|
EGT_NODISCARD const std::string & | name () const |
| Get the name of the Object.
|
|
void | name (const std::string &name) |
| Set the name of the Object.
|
|
Theme & | operator= (const Theme &)=default |
|
Theme & | operator= (Theme &&) noexcept=default |
|
Palette & | palette () |
| Get a reference to the theme Palette.
|
|
const Palette & | palette () const |
| Get a const reference to the theme Palette.
|
|
void | palette (const Palette &palette) |
| Set the theme palette.
|
|