![]() |
Lysa
0.0
Lysa 3D Engine
|
Classic vector style UI with 3D look
Inheritance diagram for StyleClassic:Public Member Functions | |
| ~StyleClassic () override = default | |
| void | draw (const Widget &widget, Resource &resources, UIRenderer &renderer, bool before) const override |
| void | addResource (Widget &widget, const std::string &resources) override |
| void | resize (Widget &widget, Rect &rect, Resource &resources) override |
Public Member Functions inherited from Style | |
| Style () | |
| ~Style () override = default | |
| virtual void | setOption (const std::string &name, const std::string &value) |
| std::string | getOption (const std::string &name) const |
| std::shared_ptr< Font > | getFont () const |
Public Member Functions inherited from Object | |
| void | connect (const Signal::signal &name, const Signal::Handler &handler) |
| void | connect (const Signal::signal &name, const std::function< void ()> &handler) |
| void | emit (const Signal::signal &name, void *params=nullptr) |
| virtual std::string | toString () const |
| Object () = default | |
| virtual | ~Object () = default |
Additional Inherited Members | |
Static Public Member Functions inherited from Style | |
| static std::shared_ptr< Style > | create (const std::string &name="vector") |
Protected Member Functions inherited from Style | |
| virtual void | init () |
Protected Attributes inherited from Style | |
| std::shared_ptr< Font > | font |
|
overridedefault |
|
overridevirtual |
Create a resource from a resources description string.
| widget | : widget to ass resources string to |
| resources | : string that describe the resources of a widget |
Implements lysa::ui::Style::addResource()
|
overridevirtual |
Implements lysa::ui::Style::draw()
Adjusts a widget size to style specific constraints
Implements lysa::ui::Style::resize()