|
hx3d
1
2D/3D Simple Game Framework
|
Base GUI element. More...
#include <widget.hpp>
Public Member Functions | |
| Widget (Widget *parent) | |
| Construct a widget from a parent widget. More... | |
| void | add (Ptr< Widget > widget) |
| Add a widget to the list. More... | |
Public Member Functions inherited from hx3d::graphics::Mesh | |
| virtual void | draw (Ptr< Shader > shader) |
| Draw the mesh using a shader. More... | |
| void | setTint (Color tint) |
| Set the mesh tint. More... | |
| Color & | getTint () |
| Get the mesh tint. More... | |
| void | updateColor () |
| Update the mesh color from the tint. | |
| void | setGeometry (Ptr< geom::BaseGeometry > geometry) |
| Set the mesh geometry. More... | |
| Ptr< geom::BaseGeometry > & | getGeometry () |
| Get the mesh geometry. More... | |
Additional Inherited Members | |
Public Attributes inherited from hx3d::graphics::Mesh | |
| Transform | transform |
| Mesh transformation. | |
Protected Attributes inherited from hx3d::graphics::Mesh | |
| Color | _tint |
| Tint color. | |
| Ptr< geom::BaseGeometry > | _geometry |
| Current geometry. | |
Base GUI element.
Definition at line 39 of file widget.hpp.
| hx3d::gui::Widget::Widget | ( | Widget * | parent | ) |
Construct a widget from a parent widget.
| parent | Widget (Ptr) |
Definition at line 28 of file widget.cpp.
1.8.11