Planeshift
Public Member Functions

EEditSelectFloat Class Reference

A dialog window to select a floating point value. More...

#include <eeditselectfloat.h>

List of all members.

Public Member Functions

 EEditSelectFloat ()
virtual bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void Select (float startValue, EEditInputboxManager::iSelectFloat *callback, const csVector2 &pos)
 Pops up the select float dialog.
virtual ~EEditSelectFloat ()

Detailed Description

A dialog window to select a floating point value.

Definition at line 35 of file eeditselectfloat.h.


Constructor & Destructor Documentation

EEditSelectFloat::EEditSelectFloat ( )
virtual EEditSelectFloat::~EEditSelectFloat ( ) [virtual]

Member Function Documentation

virtual bool EEditSelectFloat::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented from pawsWidget.

virtual bool EEditSelectFloat::PostSetup ( ) [virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented from pawsWidget.

void EEditSelectFloat::Select ( float  startValue,
EEditInputboxManager::iSelectFloat callback,
const csVector2 &  pos 
)

Pops up the select float dialog.

Parameters:
startValuethe value that first appears in the dialog box.
callbacka pointer to the callback that should be called on selection.
posSelected position.

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