Planeshift
Public Member Functions

EEditSelectEditAnchor Class Reference

A dialog window to edit effect anchor. More...

#include <eeditselecteditanchor.h>

List of all members.

Public Member Functions

 EEditSelectEditAnchor ()
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 &currName, EEditInputboxManager::iSelectEditAnchor *callback, const csVector2 &pos)
 Pops up the select dialog.
virtual ~EEditSelectEditAnchor ()

Detailed Description

A dialog window to edit effect anchor.

Definition at line 35 of file eeditselecteditanchor.h.


Constructor & Destructor Documentation

EEditSelectEditAnchor::EEditSelectEditAnchor ( )
virtual EEditSelectEditAnchor::~EEditSelectEditAnchor ( ) [virtual]

Member Function Documentation

virtual bool EEditSelectEditAnchor::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 EEditSelectEditAnchor::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 EEditSelectEditAnchor::Select ( const csString &  currName,
EEditInputboxManager::iSelectEditAnchor callback,
const csVector2 &  pos 
)

Pops up the select dialog.

Parameters:
currNamethe name of the existing anchor.
callbacka pointer to the callback that should be called on selection.
posSelected position.

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