#include <ubuttons.hpp>
Inheritance diagram for ubit::ULabel:
Public Member Functions | |
ULabel (const UArgs &a=UArgs::none) | |
create a new label. | |
Static Public Member Functions | |
static UStyle * | createStyle () |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!). |
Default Properties:
Resize behavior:
Example:
ULabel& my_label = ulabel( uima("whatever.jpg")+ " My Label" )
Note:
" My Label" is equivalent to: ustr(" My Label")
UStyle * ubit::ULabel::createStyle | ( | ) | [static] |
< important: all subclasses MUST contain this declaration. static function that returns the UStyle of this class (see details!).
this macro defines the UClass that corresponds to this class and:
Reimplemented from ubit::UBox.