#include <pfGUIPopUpMenu.h>
Member Enumeration Documentation
- Enumerator:
kAlignUpLeft |
|
kAlignUpRight |
|
kAlignDownLeft |
|
kAlignDownRight |
|
- Enumerator:
kStayOpenAfterClick |
|
kModalOutsideMenus |
|
kOpenSubMenusOnHover |
|
kScaleWithResolution |
|
Constructor & Destructor Documentation
pfGUIPopUpMenu::pfGUIPopUpMenu |
( |
| ) |
|
virtual pfGUIPopUpMenu::~pfGUIPopUpMenu |
( |
| ) |
|
|
virtual |
Member Function Documentation
void pfGUIPopUpMenu::clearItems |
( |
| ) |
|
void pfGUIPopUpMenu::delItem |
( |
size_t |
idx | ) |
|
Alignment pfGUIPopUpMenu::getAlignment |
( |
| ) |
const |
unsigned short pfGUIPopUpMenu::getMargin |
( |
| ) |
const |
size_t pfGUIPopUpMenu::getNumItems |
( |
| ) |
const |
plKey pfGUIPopUpMenu::getOriginAnchor |
( |
| ) |
const |
plKey pfGUIPopUpMenu::getOriginContext |
( |
| ) |
const |
plKey pfGUIPopUpMenu::getSkin |
( |
| ) |
const |
This must be overloaded by subclasses to parse PRC data specific to the class from the PRC document. It is called once for each tag that is a child to the Creatable tag itself, so subclasses should check for each supported tag and handle it accordingly if it matches. If the tag is not recognized, it should be passed along to the parent class.
Reimplemented from pfGUIDialogMod.
virtual void pfGUIPopUpMenu::IPrcWrite |
( |
pfPrcHelper * |
prc | ) |
|
|
protectedvirtual |
This must be overloaded by subclasses to write PRC data specific to the class to the PRC document. Do not write the top-level creatable tag, that is handled by prcWrite().
Reimplemented from pfGUIDialogMod.
void pfGUIPopUpMenu::moveItem |
( |
size_t |
from, |
|
|
size_t |
to |
|
) |
| |
Reads this creatable directly from the stream. If any keys are read, they will be added to the plResManager automatically.
Reimplemented from pfGUIDialogMod.
void pfGUIPopUpMenu::setAlignment |
( |
Alignment |
align | ) |
|
void pfGUIPopUpMenu::setMargin |
( |
unsigned short |
margin | ) |
|
void pfGUIPopUpMenu::setOriginAnchor |
( |
plKey |
anchor | ) |
|
void pfGUIPopUpMenu::setOriginContext |
( |
plKey |
context | ) |
|
void pfGUIPopUpMenu::setSkin |
( |
plKey |
skin | ) |
|
Writes this creatable directly to the stream. The plResManager is used to manage any key references written by this creatable.
Reimplemented from pfGUIDialogMod.
Member Data Documentation
unsigned short pfGUIPopUpMenu::fMargin |
|
protected |
std::vector<pfMenuItem> pfGUIPopUpMenu::fMenuItems |
|
protected |
plKey pfGUIPopUpMenu::fOriginAnchor |
|
protected |
plKey pfGUIPopUpMenu::fOriginContext |
|
protected |
plKey pfGUIPopUpMenu::fSkin |
|
protected |
The documentation for this class was generated from the following file: