UGDK
0.5.0
|
#include <ugdk/ui/button.h>
Public Member Functions | |
Button (const math::Vector2D &top_left, std::unique_ptr< Drawable > &&drawable, const ButtonCallback &function) | |
~Button () | |
void | Interact () const |
structure::Box< 2 > | GetBoundingBox () const |
Public Member Functions inherited from ugdk::ui::UIElement | |
virtual | ~UIElement () |
void | set_owner (Menu *owner) |
Menu * | owner () const |
std::shared_ptr< Node > | node () const |
Additional Inherited Members | |
Protected Member Functions inherited from ugdk::ui::UIElement | |
UIElement () | |
ugdk::ui::Button::Button | ( | const math::Vector2D & | top_left, |
std::unique_ptr< Drawable > && | drawable, | ||
const ButtonCallback & | function | ||
) |
ugdk::ui::Button::~Button | ( | ) |
|
virtual |
Implements ugdk::ui::UIElement.
|
inlinevirtual |
Implements ugdk::ui::UIElement.