[][src]Enum imgui::StyleColor

#[repr(u32)]pub enum StyleColor {
    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,
    Tab,
    TabHovered,
    TabActive,
    TabUnfocused,
    TabUnfocusedActive,
    PlotLines,
    PlotLinesHovered,
    PlotHistogram,
    PlotHistogramHovered,
    TextSelectedBg,
    DragDropTarget,
    NavHighlight,
    NavWindowingHighlight,
    NavWindowingDimBg,
    ModalWindowDimBg,
}

A color identifier for styling

Variants

Text
TextDisabled
WindowBg

Background of normal windows

ChildBg

Background of child windows

PopupBg

Background of popups, menus, tooltips windows

Border
BorderShadow
FrameBg

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

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
Tab
TabHovered
TabActive
TabUnfocused
TabUnfocusedActive
PlotLines
PlotLinesHovered
PlotHistogram
PlotHistogramHovered
TextSelectedBg
DragDropTarget
NavHighlight

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

Implementations

impl StyleColor[src]

pub const VARIANTS: [StyleColor; 48][src]

All possible StyleColor variants

pub const COUNT: usize[src]

Total count of StyleColor variants

Trait Implementations

impl Clone for StyleColor[src]

impl Copy for StyleColor[src]

impl Debug for StyleColor[src]

impl Eq for StyleColor[src]

impl Hash for StyleColor[src]

impl Index<StyleColor> for Style[src]

type Output = [f32; 4]

The returned type after indexing.

impl IndexMut<StyleColor> for Style[src]

impl PartialEq<StyleColor> for StyleColor[src]

impl StructuralEq for StyleColor[src]

impl StructuralPartialEq for StyleColor[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.