#include <ugadgets.hpp>
Inheritance diagram for UItem:
Public Member Functions | |
UItem (const UArgs &=UArgs::none) | |
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 | |
UItem & | uitem (const UArgs &a=UArgs::none) |
Active gadget that behaves as a UButton but has no decoration. It is typically used as a child of a UListbox or of a UTrow in a UTable (when active items a prefered to UTcells).
Geometry: same as ULabel
Default Properties: same as ULabel when object is idle.
Callbacks: see UButton.
|
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. |