#[repr(u32)]pub enum UiColor {
Show 23 variants
None = 0,
Primary = 1,
Background = 2,
Common = 3,
Complement = 4,
Text = 5,
Max = 6,
ExtraSlot01 = 7,
ExtraSlot02 = 8,
ExtraSlot03 = 9,
ExtraSlot04 = 10,
ExtraSlot05 = 11,
ExtraSlot06 = 12,
ExtraSlot07 = 13,
ExtraSlot08 = 14,
ExtraSlot09 = 15,
ExtraSlot10 = 16,
ExtraSlot11 = 17,
ExtraSlot12 = 18,
ExtraSlot13 = 19,
ExtraSlot14 = 20,
ExtraSlot15 = 21,
ExtraSlot16 = 22,
}
Expand description
Theme color categories to pair with Ui::set_theme_color.
The total lenght is [u32,u32]
where the fist u32 is the enum and the second is the ExtraSlot value
native C function should convert this to UiColorT
https://stereokit.net/Pages/StereoKit/UIColor.html
Variants§
None = 0
he default category, used to indicate that no category has been selected.
Primary = 1
This is the main accent color used by window headers, separators, etc.
Background = 2
This is a background sort of color that should generally be dark. Used by window bodies and backgrounds of certain elements.
Common = 3
A normal UI element color, for elements like buttons and sliders.
Complement = 4
Not really used anywhere at the moment, maybe for the Ui::panel.
Text = 5
Text color! This should generally be really bright, and at the very least contrast-ey.
Max = 6
A maximum enum value to allow for iterating through enum values.
ExtraSlot01 = 7
All the extra color slots