|
UGDK
0.4.1
|
#include <ugdk/ui/menu.h>


Public Member Functions | |
| Menu (const ikdtree::Box< 2 > &tree_bounding_box, const Vector2D &offset, const graphic::Drawable::HookPoint &hook=graphic::Drawable::TOP_LEFT) | |
| ~Menu () | |
| void | Update (double dt) |
| void | OnSceneAdd (action::Scene *scene) |
| std::vector< UIElement * > * | GetMouseCollision () |
| void | AddCallback (input::Key key, MenuCallback callback) |
| void | SetOptionDrawable (graphic::Drawable *option_graphic, int index=0) |
| void | AddObject (UIElement *obj) |
| void | RemoveObject (UIElement *obj) |
| void | RefreshObject (UIElement *obj) |
| graphic::Node * | node () |
| const UIElement * | focused_element () const |
| const InputCallbacks & | input_callbacks () const |
| void | FinishScene () const |
Public Member Functions inherited from ugdk::action::Entity | |
| virtual | ~Entity () |
| virtual bool | to_be_removed () const |
Static Public Attributes | |
| static const MenuCallback | FINISH_MENU |
| static const MenuCallback | INTERACT_MENU |
Additional Inherited Members | |
Protected Member Functions inherited from ugdk::action::Entity | |
| Entity () | |
Protected Attributes inherited from ugdk::action::Entity | |
| bool | to_be_removed_ |
| ugdk::ui::Menu::Menu | ( | const ikdtree::Box< 2 > & | tree_bounding_box, |
| const Vector2D & | offset, | ||
| const graphic::Drawable::HookPoint & | hook = graphic::Drawable::TOP_LEFT |
||
| ) |
| ugdk::ui::Menu::~Menu | ( | ) |
|
inline |
| void ugdk::ui::Menu::AddObject | ( | UIElement * | obj | ) |
| void ugdk::ui::Menu::FinishScene | ( | ) | const |
|
inline |
| std::vector< UIElement * > * ugdk::ui::Menu::GetMouseCollision | ( | ) |
|
inline |
|
inline |
|
virtual |
Reimplemented from ugdk::action::Entity.
| void ugdk::ui::Menu::RefreshObject | ( | UIElement * | obj | ) |
| void ugdk::ui::Menu::RemoveObject | ( | UIElement * | obj | ) |
|
inline |
|
virtual |
Implements ugdk::action::Entity.
|
static |
|
static |