UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::ui::Button Class Reference

#include <ugdk/ui/button.h>

Inheritance diagram for ugdk::ui::Button:
Collaboration diagram for ugdk::ui::Button:

Public Member Functions

 Button (const Vector2D &top_left, graphic::Drawable *drawable, const ButtonCallback &function)
 
 ~Button ()
 
void Interact () const
 
ikdtree::Box< 2 > GetBoundingBox () const
 
- Public Member Functions inherited from ugdk::ui::UIElement
virtual ~UIElement ()
 
void set_owner (Menu *owner)
 
graphic::Nodenode () const
 

Additional Inherited Members

- Protected Member Functions inherited from ugdk::ui::UIElement
 UIElement ()
 
- Protected Attributes inherited from ugdk::ui::UIElement
Menuowner_
 
graphic::Nodenode_
 

Constructor & Destructor Documentation

ugdk::ui::Button::Button ( const Vector2D top_left,
graphic::Drawable drawable,
const ButtonCallback function 
)
ugdk::ui::Button::~Button ( )

Member Function Documentation

ikdtree::Box< 2 > ugdk::ui::Button::GetBoundingBox ( ) const
virtual

Implements ugdk::ui::UIElement.

void ugdk::ui::Button::Interact ( ) const
inlinevirtual

Implements ugdk::ui::UIElement.


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