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

Public Member Functions | |
| UCompound (const std::string &text) | |
| UCompound (UIcon *icon) | |
| UCompound (const std::string &text, UIcon *icon) | |
| virtual void | setText (const std::string &text) |
| std::string | getText () const |
| void | setIcon (UIcon *icon) |
| UIcon * | getDefaultIcon () const |
| virtual UIcon * | getIcon () const |
| void | setDisabledIcon (UIcon *icon) |
| UIcon * | getDisabledIcon () const |
| void | setIconTextGap (int iconTextGap) |
| int | getIconTextGap () const |
Protected Member Functions | |
| virtual std::ostream & | paramString (std::ostream &os) const |
| virtual void | processStateChangeEvent (uint32_t state) |
| virtual void | processStyleHintChange (uint32_t styleHint) |
| UCompoundModel * | getCompoundModel () const |
| void | updateMnemonic () |
It is not meant to be used directly. Use instead ULabel, UButton, ...
|
|
|
|
|
returns the icon that is currently used to paint this button. may be NULL |
|
|
returns the icon that is currently used to paint this button.
Reimplemented in ufo::UButton.
|
|
|
Returns the gap between the text and the icon |
|
|
gets the visible text
|
|
|
Prints some useful internal data to the ostream os. This method is meant only for debugging purposes. Reimplemented from ufo::UWidget.
Reimplemented in ufo::UMenu.
|
|
|
|
|
|
Sets the default icon for painting. |
|
|
Sets the gap between the text and the icon |
|
|
sets the visible text
Reimplemented in ufo::UButton.
|