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

Public Member Functions | |
| ULabel (UIcon *icon) | |
| ULabel (const std::string &text, UIcon *icon=NULL) | |
| ULabel (const std::string &text, UWidget *buddy) | |
| ULabel (const std::string &text, UIcon *icon, UWidget *buddy) | |
| void | setBuddy (UWidget *buddy) |
| UWidget * | getBuddy () const |
Protected Member Functions | |
| virtual UDimension | getContentsSize (const UDimension &maxSize) const |
| virtual void | processShortcutEvent (UShortcutEvent *e) |
|
||||||||||||
|
Creates a label with given text and sets
|
|
||||||||||||||||
|
Creates a label with given text and icon and sets
|
|
|
|
|
|
Sets the buddy or control widget. If the shortcut mnemonic of this label is pressed, the buddy is focused and if it is a button control, it will be activated. |