18 #define _ustyle_hpp_ 1 19 #include <ubit/udefs.hpp> 20 #include <ubit/uborder.hpp> 21 #include <ubit/ufont.hpp> 22 #include <ubit/ugeom.hpp> 23 #include <ubit/uon.hpp> 50 void setAlpha(
float a) {local.alpha = a;}
52 void setBorder(
const UBorder* b) {local.border = b;}
53 void setCursor(
const UCursor* c) {cursor = c;}
54 void setFont(
const UFont* f) {font = f;}
62 void setColors(
UColor& all_colors);
63 void setColors(
UColor& unselected_colors,
UColor& selected_colors);
64 void setBgcolors(
UColor& all_colors);
65 void setBgcolors(
UColor& unselected_colors,
UColor& selected_colors);
66 void setColor(
int action,
UColor&);
67 void setBgcolor(
int action,
UColor&);
75 short vspacing, hspacing;
80 const UStr* textSeparator;
81 UColor* colors[2 * UOn::ACTION_COUNT];
82 UColor* bgcolors[2 * UOn::ACTION_COUNT];
Length of positions (UPos), sizes (USize) and padding (UPadding)
Definition: ulength.hpp:59
Widget background.
Definition: ubackground.hpp:30
Color attribute of an element or a widget.
Definition: ucolor.hpp:73
lightweight general purpose container.
Definition: uelem.hpp:44
Box padding.
Definition: ulength.hpp:150
UBox Border.
Definition: uborder.hpp:27
Font of a UElem or UBox container.
Definition: ufont.hpp:30
Specifies the View Style of an UBox.
Definition: uview.hpp:42
Definition: uupdatecontext.hpp:32
Definition: uhardfont.hpp:31
Definition: ustyle.hpp:26
Definition: ulength.hpp:142
Mouse cursor property.
Definition: ucursor.hpp:31
Compiled Object Style.
Definition: ustyle.hpp:44
Ubit String.
Definition: ustr.hpp:72