- Your Widget Set For OpenGL
#include <umenu.hpp>
Inheritance diagram for ufo::UMenu:

Public Member Functions | |
| UMenu (const std::string &text="", UIcon *icon=NULL) | |
| UMenu (UIcon *icon) | |
| bool | isTopLevelMenu () const |
| void | addSeparator () |
| bool | isPopupMenuVisible () const |
| void | setPopupMenuVisible (bool b) |
Protected Member Functions | |
| virtual void | addImpl (UWidget *w, UObject *constraints, int index) |
| void | invalidateSelf () |
| std::ostream & | paramString (std::ostream &os) const |
Protected Attributes | |
| UPopupMenu * | m_popupMenu |
|
||||||||||||||||
|
adds a sub widget to the popup Reimplemented from ufo::UWidget.
|
|
|
appends a separator at the end |
|
|
invalidate also the popup menu Reimplemented from ufo::UWidget.
|
|
|
|
|
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UCompound.
|
|
|
the popup menu that is popped up, when the menu button is pressed Reimplemented from ufo::UWidget.
|