


Public Member Functions | |
| PG_MenuBar (PG_Widget *parent, const PG_Rect &rect=PG_Rect::null, const std::string &style="MenuBar") | |
| Creates a new MenuBar object. | |
| ~PG_MenuBar () | |
| Destroys the MenuBar object. | |
| void | Add (const std::string &text, PG_PopupMenu *menu, Uint16 indent=5, Uint16 width=0) |
| Add a new item to the MenuBar. | |
Protected Member Functions | |
| bool | leaveButton (PG_Pointer last) |
| bool | enterButton (PG_Pointer last) |
Protected Attributes | |
| std::vector< MenuBarItem * > | ItemList |
| Uint16 | my_btnOffsetY |
Classes | |
| struct | MenuBarItem |
| Internal item. More... | |
|
||||||||||||||||
|
Creates a new MenuBar object.
|
|
|
Destroys the MenuBar object.
|
|
||||||||||||||||||||
|
Add a new item to the MenuBar.
|
|
|
|
|
|
|
|
|
|
|
|
|