#include <Fui.h>
Inheritance diagram for CFuiPopupMenu:

Public Member Functions | |
| CFuiPopupMenu (int x=0, int y=0, int w=0, int h=0, Tag window=0) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| void | Draw (void) |
| void | SetParentPosition (int xParent, int yParent) |
| void | ClearItems (void) |
| void | AddItem (Tag item, const char *label) |
| void | AddSeparator (void) |
| void | RemoveItem (Tag item) |
| void | SelectItem (Tag item) |
| Tag | GetItemSelection (char *outText) |
Protected Attributes | |
| int | just1 |
| int | just2 |
| int | just3 |
| SBitmap * | bmBack |
| SBitmap * | bmLeft |
| SBitmap * | bmRight |
| unsigned int | colText |
| unsigned int | colSelection |
| std::list< CFuiComponent * > | decorationList |
| Decoration components. | |
| std::map< Tag, std::string > | items |
| Item list. | |
| Tag | selection |
| Currently selected choice. | |
| bool | popupActive |
| Popup menu is active. | |
| int | xText |
| int | yText |
| Offsets to start drawing text. | |
Definition at line 556 of file Fui.h.
|
||||||||||||||||||||||||
|
Definition at line 1357 of file Fui.cpp. References bmBack, bmLeft, bmRight, colSelection, colText, COMPONENT_POPUPMENU, just1, just2, just3, MakeRGB(), popupActive, selection, CFuiComponent::type, xText, and yText. |
|
||||||||||||
|
Definition at line 1504 of file Fui.cpp. References items. Referenced by CFuiManager::AddPopupItem(). |
|
|
Definition at line 1509 of file Fui.cpp. Referenced by CFuiManager::AddPopupSeperator(). |
|
|
Definition at line 1499 of file Fui.cpp. References items. Referenced by CFuiManager::ClearPopupItems(). |
|
|
Reimplemented from CFuiButton. Definition at line 1472 of file Fui.cpp. References colText, COMPONENT_PICTURE, decorationList, CFuiComponent::Draw(), CFuiPicture::Draw(), DrawText(), CFuiComponent::font, GetItemSelection(), CFuiComponent::IsType(), popupActive, CFuiComponent::surface, xText, and yText. |
|
|
Definition at line 1524 of file Fui.cpp. References items, and selection. Referenced by Draw(), and CFuiManager::GetPopupItemSelection(). |
|
||||||||||||
|
Reimplemented from CFuiButton. Definition at line 1376 of file Fui.cpp. References just1, just2, just3, CFuiButton::Read(), ReadInt(), TAG_IGNORED, and TAG_READ. |
|
|
|
Definition at line 1514 of file Fui.cpp. References items. Referenced by CFuiManager::RemovePopupItem(). |
|
|
Definition at line 1519 of file Fui.cpp. References selection. Referenced by CFuiManager::SelectPopupItem(). |
|
||||||||||||
|
Reimplemented from CFuiButton. Definition at line 1461 of file Fui.cpp. References decorationList, CFuiComponent::SetParentPosition(), CFuiComponent::x, and CFuiComponent::y. |
|
|
Reimplemented from CFuiButton. Definition at line 581 of file Fui.h. Referenced by CFuiPopupMenu(), and ReadFinished(). |
|
|
Reimplemented from CFuiButton. Definition at line 582 of file Fui.h. Referenced by CFuiPopupMenu(), and ReadFinished(). |
|
|
Reimplemented from CFuiButton. Definition at line 583 of file Fui.h. Referenced by CFuiPopupMenu(), and ReadFinished(). |
|
|
Definition at line 585 of file Fui.h. Referenced by CFuiPopupMenu(), and ReadFinished(). |
|
|
Reimplemented from CFuiButton. Definition at line 585 of file Fui.h. Referenced by CFuiPopupMenu(), Draw(), and ReadFinished(). |
|
|
Definition at line 587 of file Fui.h. Referenced by Draw(), ReadFinished(), and SetParentPosition(). |
|
|
Definition at line 588 of file Fui.h. Referenced by AddItem(), ClearItems(), GetItemSelection(), and RemoveItem(). |
|
|
Definition at line 579 of file Fui.h. Referenced by CFuiPopupMenu(), and Read(). |
|
|
Definition at line 579 of file Fui.h. Referenced by CFuiPopupMenu(), and Read(). |
|
|
Definition at line 579 of file Fui.h. Referenced by CFuiPopupMenu(), and Read(). |
|
|
Definition at line 590 of file Fui.h. Referenced by CFuiPopupMenu(), and Draw(). |
|
|
Definition at line 589 of file Fui.h. Referenced by CFuiPopupMenu(), GetItemSelection(), and SelectItem(). |
|
|
Definition at line 591 of file Fui.h. Referenced by CFuiPopupMenu(), Draw(), and ReadFinished(). |
|
|
Definition at line 591 of file Fui.h. Referenced by CFuiPopupMenu(), and Draw(). |
|
|
Documentation generated by
|