[][src]Enum imgui::ImGuiCol

#[repr(C)]
pub enum ImGuiCol { Text, TextDisabled, WindowBg, ChildBg, PopupBg, Border, BorderShadow, FrameBg, FrameBgHovered, FrameBgActive, TitleBg, TitleBgActive, TitleBgCollapsed, MenuBarBg, ScrollbarBg, ScrollbarGrab, ScrollbarGrabHovered, ScrollbarGrabActive, CheckMark, SliderGrab, SliderGrabActive, Button, ButtonHovered, ButtonActive, Header, HeaderHovered, HeaderActive, Separator, SeparatorHovered, SeparatorActive, ResizeGrip, ResizeGripHovered, ResizeGripActive, PlotLines, PlotLinesHovered, PlotHistogram, PlotHistogramHovered, TextSelectedBg, DragDropTarget, NavHighlight, NavWindowingHighlight, NavWindowingDimBg, ModalWindowDimBg, }

A color identifier for styling

Variants

TextTextDisabledWindowBg

Background of normal windows

ChildBg

Background of child windows

PopupBg

Background of popups, menus, tooltips windows

BorderBorderShadowFrameBg

Background of checkbox, radio button, plot, slider, text input

FrameBgHoveredFrameBgActiveTitleBgTitleBgActiveTitleBgCollapsedMenuBarBgScrollbarBgScrollbarGrabScrollbarGrabHoveredScrollbarGrabActiveCheckMarkSliderGrabSliderGrabActiveButtonButtonHoveredButtonActiveHeaderHeaderHoveredHeaderActiveSeparatorSeparatorHoveredSeparatorActiveResizeGripResizeGripHoveredResizeGripActivePlotLinesPlotLinesHoveredPlotHistogramPlotHistogramHoveredTextSelectedBgDragDropTargetNavHighlight

Gamepad/keyboard: current highlighted item

NavWindowingHighlight

Highlight window when using CTRL+TAB

NavWindowingDimBg

Darken/colorize entire screen behind the CTRL+TAB window list, when active

ModalWindowDimBg

Darken/colorize entire screen behind a modal window, when one is active

Methods

impl ImGuiCol[src]

pub const VARIANTS: [ImGuiCol; 43][src]

All possible ImGuiCol variants

pub const COUNT: usize[src]

Trait Implementations

impl Debug for ImGuiCol[src]

impl Copy for ImGuiCol[src]

impl Clone for ImGuiCol[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ImGuiCol> for ImGuiCol[src]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for ImGuiCol[src]

Auto Trait Implementations

impl Send for ImGuiCol

impl Sync for ImGuiCol

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.