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)
 
void setMinValue (int minValue)
 
void setMaxValue (int maxValue)
 

Public Attributes

EventHandle_ValueChanged eventValueChanged
 

Private Member Functions

void onEditTextChange (MyGUI::EditBox *sender)
 
void onKeyLostFocus (MyGUI::Widget *_new)
 

Private Attributes

int mValue
 
int mMinValue
 
int mMaxValue
 

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

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::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: