Struct SYN_IMGUI_Style¶
Visual style parameters for IMGUI widgets. More...
#include <syn_imgui.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | accent |
| uint16_t | bg |
| uint16_t | disabled |
| uint16_t | fg |
| uint16_t | fg_inv |
| uint16_t | highlight |
| int16_t | padding |
| int16_t | spacing |
Detailed Description¶
Set via syn_imgui_set_style(). syn_imgui_init() loads the defaults (monochrome-friendly: white-on-black, matching the existing hardcoded colors) so existing code is unaffected.
Public Attributes Documentation¶
variable accent¶
Slider fill, progress bar, gauge needle
variable bg¶
Background fill for unfocused widgets
variable disabled¶
Disabled widget color
variable fg¶
Foreground: text, outlines
variable fg_inv¶
Text drawn on a highlighted background
variable highlight¶
Focused widget fill color
variable padding¶
Inner padding in pixels (default 2)
variable spacing¶
Inter-widget gap for auto-layout (default 3)
The documentation for this class was generated from the following file src/syntropic/ui/syn_imgui.h