UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::ui::UIElement Class Referenceabstract

#include <ugdk/ui/uielement.h>

Inheritance diagram for ugdk::ui::UIElement:

Public Member Functions

virtual ~UIElement ()
 
void set_owner (Menu *owner)
 
Menuowner () const
 
std::shared_ptr< Nodenode () const
 
virtual void Interact () const =0
 
virtual ugdk::structure::Box< 2 > GetBoundingBox () const =0
 

Protected Member Functions

 UIElement ()
 

Constructor & Destructor Documentation

virtual ugdk::ui::UIElement::~UIElement ( )
virtual
ugdk::ui::UIElement::UIElement ( )
protected

Member Function Documentation

virtual ugdk::structure::Box<2> ugdk::ui::UIElement::GetBoundingBox ( ) const
pure virtual

Implemented in ugdk::ui::Button.

virtual void ugdk::ui::UIElement::Interact ( ) const
pure virtual

Implemented in ugdk::ui::Button.

std::shared_ptr<Node> ugdk::ui::UIElement::node ( ) const
inline
Menu* ugdk::ui::UIElement::owner ( ) const
inline
void ugdk::ui::UIElement::set_owner ( Menu owner)
inline

The documentation for this class was generated from the following file: