ZeroZero Game Engine
v0.0
A 3D game engine using Vulkan & Jolt
|
Classic vector style UI with 3D look
Public Member Functions | |
void | addResource (Widget &widget, const string &resources) override |
void | resize (Widget &widget, Rect &rect, Resource &resources) override |
![]() | |
virtual void | setOption (const string &name, const string &value) |
string | getOption (const string &name) const |
shared_ptr< Font > | getFont () const |
![]() | |
void | connect (const Signal::signal &name, const Signal::Handler &handler) |
void | connect (const Signal::signal &name, const function< void ()> &handler) |
void | emit (const Signal::signal &name, void *params=nullptr) |
virtual string | toString () const |
Additional Inherited Members | |
![]() | |
static shared_ptr< Style > | create (const string &name="vector") |
|
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 z0::ui::Style::addResource()
Adjusts a widget size to style specific constraints
Implements z0::ui::Style::resize()