Planeshift
Public Member Functions | Static Public Member Functions | Protected Attributes

pawsComboPromptWindow Class Reference

pawsComboPromptWindow is window that lets the user choose item from combo box More...

#include <pawscombopromptwindow.h>

List of all members.

Public Member Functions

virtual void Close ()
 Simply calls Hide() unless overidden.
void NewOption (const csString &text)
bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
 pawsComboPromptWindow (const pawsComboPromptWindow &origin)
 pawsComboPromptWindow ()
virtual bool PostSetup ()
 Executed after the widget is setup.
void Select (int optionNum)
void SetAction (iOnItemChosenAction *action, const char *name, int param)

Static Public Member Functions

static pawsComboPromptWindowCreate (const csString &label, iOnItemChosenAction *action, const char *name, int param=0)

Protected Attributes

iOnItemChosenActionaction
csString name
 The name of this widget.
int param
ComboWrapperwrapper

Detailed Description

pawsComboPromptWindow is window that lets the user choose item from combo box

Definition at line 75 of file pawscombopromptwindow.h.


Constructor & Destructor Documentation

pawsComboPromptWindow::pawsComboPromptWindow ( )
pawsComboPromptWindow::pawsComboPromptWindow ( const pawsComboPromptWindow origin)

Member Function Documentation

virtual void pawsComboPromptWindow::Close ( ) [virtual]

Simply calls Hide() unless overidden.

Reimplemented from pawsWidget.

static pawsComboPromptWindow* pawsComboPromptWindow::Create ( const csString &  label,
iOnItemChosenAction action,
const char *  name,
int  param = 0 
) [static]
void pawsComboPromptWindow::NewOption ( const csString &  text)
bool pawsComboPromptWindow::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 pawsComboPromptWindow::PostSetup ( ) [virtual]

Executed after the widget is setup.

Returns:
true

Reimplemented from pawsPromptWindow.

void pawsComboPromptWindow::Select ( int  optionNum)
void pawsComboPromptWindow::SetAction ( iOnItemChosenAction action,
const char *  name,
int  param 
) [inline]

Definition at line 88 of file pawscombopromptwindow.h.


Member Data Documentation

Definition at line 98 of file pawscombopromptwindow.h.

csString pawsComboPromptWindow::name [protected]

The name of this widget.

Reimplemented from pawsWidget.

Definition at line 99 of file pawscombopromptwindow.h.

Definition at line 100 of file pawscombopromptwindow.h.

Definition at line 102 of file pawscombopromptwindow.h.


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