Planeshift
Public Member Functions

EEditSelectString Class Reference

A dialog window to select a string value. More...

#include <eeditselectstring.h>

List of all members.

Public Member Functions

 EEditSelectString ()
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 (const csString &startValue, EEditInputboxManager::iSelectString *callback, const csVector2 &pos)
 Pops up the select dialog.
virtual ~EEditSelectString ()

Detailed Description

A dialog window to select a string value.

Definition at line 35 of file eeditselectstring.h.


Constructor & Destructor Documentation

EEditSelectString::EEditSelectString ( )
virtual EEditSelectString::~EEditSelectString ( ) [virtual]

Member Function Documentation

virtual bool EEditSelectString::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 EEditSelectString::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 EEditSelectString::Select ( const csString &  startValue,
EEditInputboxManager::iSelectString callback,
const csVector2 &  pos 
)

Pops up the select 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: