nux-1.14.0
nux::Button Class Reference
Inheritance diagram for nux::Button:
nux::AbstractButton nux::View nux::InputArea nux::Area nux::InitiallyUnownedObject nux::Focusable nux::Object nux::Trackable nux::Introspectable nux::ToggleButton

List of all members.

Public Member Functions

 Button (TextureArea *image, NUX_FILE_LINE_PROTO)
 Button (const std::string label, NUX_FILE_LINE_PROTO)
 Button (const std::string label, TextureArea *image, NUX_FILE_LINE_PROTO)
 Button (NUX_FILE_LINE_PROTO)
void SetImage (TextureArea *image)
TextureAreaGetImage ()

Public Attributes

Property< std::string > label
Property< Position > image_position

Protected Member Functions

void Init ()
void OnStateChanged (int value)
void OnLabelChanged (std::string value)
void OnImageChanged (TextureArea *value)
void OnImagePositionChanged (int value)
void RebuildLayout ()
virtual void Draw (GraphicsEngine &GfxContext, bool force_draw)
virtual void DrawContent (GraphicsEngine &GfxContext, bool force_draw)

Protected Attributes

TextureAreaimage

Detailed Description

Definition at line 41 of file Button.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends