Struct std::WidgetStyle
struct WidgetStyle {
struct GuiColor bg;
struct GuiColor fg;
struct GuiColor border;
int borderWidth;
int padding;
int spacing;
int fontScale;
const ?&GuiFont font;
int setMask;
float fontSize;
int bold;
}The original per-widget style. Each field, once set through a setter (set_bg, set_fg, set_border, set_padding, set_spacing, set_font_scale, set_font), overrides the theme for that widget; until then the theme decides. 'font' (a bitmap GuiFont) replaces the TrueType theme font when set; fontScale then multiplies its cells, and otherwise multiplies the theme's font size.
Fields
gap between children, for boxes and grids
1, 2, 3, ...
empty (null) = the theme's TrueType font
WIDGET_STYLE_* bits: which fields were set
0 = the theme's