GuiPopUpMenuCtrl Class Reference
[General Controls]
A control that allows to select a value from a drop-down list.
More...
List of all members.
Detailed Description
A control that allows to select a value from a drop-down list.
For a nearly identical GUI with additional features, use GuiPopUpMenuCtrlEx.
- Example:
- Note:
- This is definitely going to be deprecated soon.
- See also:
- GuiPopUpMenuCtrlEx for more features and better explanations.
Member Function Documentation
void GuiPopUpMenuCtrl::add |
( |
string |
name, |
|
|
int |
idNum, |
|
|
int |
scheme = 0 | |
|
) |
| | |
void GuiPopUpMenuCtrl::addScheme |
( |
int |
id, |
|
|
ColorI |
fontColor, |
|
|
ColorI |
fontColorHL, |
|
|
ColorI |
fontColorSEL | |
|
) |
| | |
void GuiPopUpMenuCtrl::changeTextById |
( |
int |
id, |
|
|
string |
text | |
|
) |
| | |
void GuiPopUpMenuCtrl::clearEntry |
( |
S32 |
entry |
) |
|
int GuiPopUpMenuCtrl::findText |
( |
string |
text |
) |
|
Returns the position of the first entry containing the specified text.
string GuiPopUpMenuCtrl::getTextById |
( |
int |
id |
) |
|
void GuiPopUpMenuCtrl::replaceText |
( |
bool |
doReplaceText |
) |
|
void GuiPopUpMenuCtrl::setEnumContent |
( |
string |
class, |
|
|
string |
enum | |
|
) |
| | |
This fills the popup with a classrep's field enumeration type info.
More of a helper function than anything. If console access to the field list is added, at least for the enumerated types, then this should go away..
void GuiPopUpMenuCtrl::setFirstSelected |
( |
|
) |
|
void GuiPopUpMenuCtrl::setSelected |
( |
int |
id |
) |
|
Member Data Documentation
Get the size of the menu - the number of entries in it.
Sort the list alphabetically.