#include <PropPalette.h>
Public Member Functions | |
| PropPalette (PropFactory &factory, int x, int y) | |
| ~PropPalette () | |
| int | getPropId () const |
Private Types | |
| typedef std::pair< string, int > | PropId |
| typedef std::vector< PropId > | PropIdList |
| typedef std::map< string, PropIdList > | PropCategories |
Private Member Functions | |
| void | windowInit () |
| Instructs derived Window objects to initialize themselves. | |
| void | push (Event *event) |
| void | initPropCategoryTable () |
| void | notifyListener () |
Private Attributes | |
| PropFactory & | mPropFactory |
| PropCategories | mPropCategories |
| ListBox * | lstCategories |
| ListBox * | lstProps |
| PropIdList | mPropIdList |
| string | mSelectedCat |
| string | mSelectedProp |
| int | mPropId |
typedef std::map<string, PropIdList> PropPalette::PropCategories [private] |
typedef std::pair<string, int> PropPalette::PropId [private] |
typedef std::vector<PropId> PropPalette::PropIdList [private] |
| PropPalette::PropPalette | ( | PropFactory & | factory, | |
| int | x, | |||
| int | y | |||
| ) |
| PropPalette::~PropPalette | ( | ) |
| int PropPalette::getPropId | ( | ) | const [inline] |
| void PropPalette::initPropCategoryTable | ( | ) | [private] |
| void PropPalette::notifyListener | ( | ) | [private] |
Notifies the listening object that a selection has been made.
| void PropPalette::windowInit | ( | ) | [private, virtual] |
Instructs derived Window objects to initialize themselves.
When deriving a Window Control, windowInit() must be overridden. This is the function where one would create and add new Control objects as well as specify various attributes such as color, size, position, etc.
Reimplemented from Window.
ListBox* PropPalette::lstCategories [private] |
ListBox* PropPalette::lstProps [private] |
PropCategories PropPalette::mPropCategories [private] |
PropFactory& PropPalette::mPropFactory [private] |
int PropPalette::mPropId [private] |
PropIdList PropPalette::mPropIdList [private] |
string PropPalette::mSelectedCat [private] |
string PropPalette::mSelectedProp [private] |
1.7.1