Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
ItemSelectorWindow Class Reference

#include <selectionwindow.h>

Inheritance diagram for ItemSelectorWindow:
Inheritance graph

Public Member Functions

 ItemSelectorWindow (PG_Widget *parent, const PG_Rect &r, const ASCString &title, SelectionItemFactory *itemFactory)
int RunModal ()
void reLoad ()
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
PG_Button * AddStandardButton (const ASCString &name)
void StandardButtonDirection (StandardButtonDirectonType dir)
int RunModal ()

Protected Member Functions

bool eventKeyDown (const SDL_KeyboardEvent *key)
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
bool quitModalLoopW (PG_Button *button, int value)
bool quitModalLoop (int value)

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller

Detailed Description

Definition at line 134 of file selectionwindow.h.

Constructor & Destructor Documentation

ItemSelectorWindow::ItemSelectorWindow ( PG_Widget *  parent,
const PG_Rect &  r,
const ASCString title,
SelectionItemFactory itemFactory 

Member Function Documentation

bool ItemSelectorWindow::eventKeyDown ( const SDL_KeyboardEvent *  key)

Reimplemented from ASC_PG_Dialog.

Definition at line 321 of file selectionwindow.cpp.

void ItemSelectorWindow::reLoad ( )

Definition at line 336 of file selectionwindow.cpp.

References ItemSelectorWidget::reLoad().

Referenced by showSelectionWindow().

int ItemSelectorWindow::RunModal ( )

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