#include <ugadgets.hpp>
Inheritance diagram for ULabel:
Public Member Functions | |
ULabel (const UArgs &a=UArgs::none) | |
constructor; see also ~UGroup() and the creator shortcut ulabel() | |
virtual const UStyle & | getStyle (UContext *) const |
returns the contextual UStyle of this object. | |
Static Public Member Functions | |
static const UStyle & | makeStyle () |
creates the Style of this object. | |
Static Public Attributes | |
static UStyle * | style = null |
corresponding Ubit UStyle | |
Friends | |
ULabel & | ulabel (const UArgs &a=UArgs::none) |
creator shortcut that is equivalent to *new ULabel(). |
Geometry:
Default Properties:
Example:
ULabel& my_label = ulabel( uima("whatever.jpg")+ " My Label" )
Note:
" My Label" is equivalent to: ustr(" My Label")
|
returns the contextual UStyle of this object. This virtual function calls the makeStyle() static function that was redefined for this specific class
Reimplemented from UBox. |
|
creates the Style of this object. This static function is redefined by each class that derives from UGroup. It is called by the virtual function UGroup::getStyle()
Reimplemented from UBox. |