Public Member Functions | Private Member Functions | Private Attributes

SpinBox Class Reference

#include <SpinBox.h>

Inheritance diagram for SpinBox:
Container Control Broadcaster Listener

List of all members.

Public Member Functions

 SpinBox (const std::string &name, Uint width, Uint height)
 ~SpinBox ()
void setValue (int value)
int getValue ()

Private Member Functions

void initialize ()
void drawSkin ()
void drawPlain ()
void push (Event *event)

Private Attributes

ButtonmIncreaseBtn
ButtonmDecreaseBtn
TextFieldmInputField
int mValue

Constructor & Destructor Documentation

SpinBox::SpinBox ( const std::string &  name,
Uint  width,
Uint  height 
)
SpinBox::~SpinBox (  )  [inline]

Member Function Documentation

void SpinBox::drawPlain (  )  [private, virtual]

Draws a Control without a Skin.

Reimplemented from Container.

void SpinBox::drawSkin (  )  [private, virtual]

Draws a Control using a Skin.

Reimplemented from Container.

int SpinBox::getValue (  ) 
void SpinBox::initialize (  )  [private, virtual]

Initialize all internal variables, and any child controls needed.

Reimplemented from Container.

void SpinBox::push ( Event event  )  [private, virtual]

Reimplemented from Control.

void SpinBox::setValue ( int  value  ) 

Member Data Documentation

int SpinBox::mValue [private]

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