Enum easy_imgui::ColorId
source · #[repr(i32)]pub enum ColorId {
Show 53 variants
Text = 0,
TextDisabled = 1,
WindowBg = 2,
ChildBg = 3,
PopupBg = 4,
Border = 5,
BorderShadow = 6,
FrameBg = 7,
FrameBgHovered = 8,
FrameBgActive = 9,
TitleBg = 10,
TitleBgActive = 11,
TitleBgCollapsed = 12,
MenuBarBg = 13,
ScrollbarBg = 14,
ScrollbarGrab = 15,
ScrollbarGrabHovered = 16,
ScrollbarGrabActive = 17,
CheckMark = 18,
SliderGrab = 19,
SliderGrabActive = 20,
Button = 21,
ButtonHovered = 22,
ButtonActive = 23,
Header = 24,
HeaderHovered = 25,
HeaderActive = 26,
Separator = 27,
SeparatorHovered = 28,
SeparatorActive = 29,
ResizeGrip = 30,
ResizeGripHovered = 31,
ResizeGripActive = 32,
Tab = 33,
TabHovered = 34,
TabActive = 35,
TabUnfocused = 36,
TabUnfocusedActive = 37,
PlotLines = 38,
PlotLinesHovered = 39,
PlotHistogram = 40,
PlotHistogramHovered = 41,
TableHeaderBg = 42,
TableBorderStrong = 43,
TableBorderLight = 44,
TableRowBg = 45,
TableRowBgAlt = 46,
TextSelectedBg = 47,
DragDropTarget = 48,
NavHighlight = 49,
NavWindowingHighlight = 50,
NavWindowingDimBg = 51,
ModalWindowDimBg = 52,
}
Variants§
Text = 0
TextDisabled = 1
WindowBg = 2
ChildBg = 3
PopupBg = 4
Border = 5
BorderShadow = 6
FrameBg = 7
FrameBgHovered = 8
FrameBgActive = 9
TitleBg = 10
TitleBgActive = 11
TitleBgCollapsed = 12
MenuBarBg = 13
ScrollbarBg = 14
ScrollbarGrab = 15
ScrollbarGrabHovered = 16
ScrollbarGrabActive = 17
CheckMark = 18
SliderGrab = 19
SliderGrabActive = 20
Button = 21
ButtonHovered = 22
ButtonActive = 23
Header = 24
HeaderHovered = 25
HeaderActive = 26
Separator = 27
SeparatorHovered = 28
SeparatorActive = 29
ResizeGrip = 30
ResizeGripHovered = 31
ResizeGripActive = 32
Tab = 33
TabHovered = 34
TabActive = 35
TabUnfocused = 36
TabUnfocusedActive = 37
PlotLines = 38
PlotLinesHovered = 39
PlotHistogram = 40
PlotHistogramHovered = 41
TableHeaderBg = 42
TableBorderStrong = 43
TableBorderLight = 44
TableRowBg = 45
TableRowBgAlt = 46
TextSelectedBg = 47
DragDropTarget = 48
ModalWindowDimBg = 52
Implementations§
Trait Implementations§
source§impl Ord for ColorId
impl Ord for ColorId
source§impl PartialEq for ColorId
impl PartialEq for ColorId
source§impl PartialOrd for ColorId
impl PartialOrd for ColorId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ColorId
impl Eq for ColorId
impl StructuralEq for ColorId
impl StructuralPartialEq for ColorId
Auto Trait Implementations§
impl RefUnwindSafe for ColorId
impl Send for ColorId
impl Sync for ColorId
impl Unpin for ColorId
impl UnwindSafe for ColorId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more