Planeshift
Public Member Functions

EEditSelectVec3 Class Reference

A dialog window to select a 3D vector value. More...

#include <eeditselectvec3.h>

List of all members.

Public Member Functions

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

Detailed Description

A dialog window to select a 3D vector value.

Definition at line 35 of file eeditselectvec3.h.


Constructor & Destructor Documentation

EEditSelectVec3::EEditSelectVec3 ( )
virtual EEditSelectVec3::~EEditSelectVec3 ( ) [virtual]

Member Function Documentation

virtual bool EEditSelectVec3::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 EEditSelectVec3::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 EEditSelectVec3::Select ( const csVector3 &  startValue,
EEditInputboxManager::iSelectVec3 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: