OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Gui::NumericEditBox Class Reference

A variant of the EditBox that only allows integer inputs. More...

#include <numericeditbox.hpp>

Inheritance diagram for Gui::NumericEditBox:
Collaboration diagram for Gui::NumericEditBox:

Public Types

typedef
MyGUI::delegates::CMultiDelegate1
< int
EventHandle_ValueChanged
 

Public Member Functions

 NumericEditBox ()
 
void initialiseOverride ()
 
void shutdownOverride ()
 
void setValue (int value)
 
int getValue ()
 
void setMinValue (int minValue)
 
void setMaxValue (int maxValue)
 
- Public Member Functions inherited from Gui::FontWrapper< MyGUI::EditBox >
virtual void setFontName (const std::string &name)
 

Public Attributes

EventHandle_ValueChanged eventValueChanged
 

Private Member Functions

void onEditTextChange (MyGUI::EditBox *sender)
 
void onKeyLostFocus (MyGUI::Widget *_new)
 
void onKeyButtonPressed (MyGUI::KeyCode key, MyGUI::Char character)
 

Private Attributes

int mValue
 
int mMinValue
 
int mMaxValue
 

Additional Inherited Members

- Protected Member Functions inherited from Gui::FontWrapper< MyGUI::EditBox >
 FontWrapper ()
 
virtual void setPropertyOverride (const std::string &_key, const std::string &_value)
 
- Protected Attributes inherited from Gui::FontWrapper< MyGUI::EditBox >
std::string mFontSize
 

Detailed Description

A variant of the EditBox that only allows integer inputs.

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<int> Gui::NumericEditBox::EventHandle_ValueChanged

Constructor & Destructor Documentation

Gui::NumericEditBox::NumericEditBox ( )
inline

Member Function Documentation

int Gui::NumericEditBox::getValue ( )

Here is the caller graph for this function:

void Gui::NumericEditBox::initialiseOverride ( )

Here is the call graph for this function:

void Gui::NumericEditBox::onEditTextChange ( MyGUI::EditBox *  sender)
private

Here is the call graph for this function:

Here is the caller graph for this function:

void Gui::NumericEditBox::onKeyButtonPressed ( MyGUI::KeyCode  key,
MyGUI::Char  character 
)
private

Here is the call graph for this function:

void Gui::NumericEditBox::onKeyLostFocus ( MyGUI::Widget *  _new)
private

Here is the call graph for this function:

void Gui::NumericEditBox::setMaxValue ( int  maxValue)

Here is the caller graph for this function:

void Gui::NumericEditBox::setMinValue ( int  minValue)

Here is the caller graph for this function:

void Gui::NumericEditBox::setValue ( int  value)
Note
Does not trigger eventValueChanged

Here is the call graph for this function:

Here is the caller graph for this function:

void Gui::NumericEditBox::shutdownOverride ( )

Here is the call graph for this function:

Member Data Documentation

EventHandle_ValueChanged Gui::NumericEditBox::eventValueChanged
int Gui::NumericEditBox::mMaxValue
private
int Gui::NumericEditBox::mMinValue
private
int Gui::NumericEditBox::mValue
private

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