[][src]Enum imgui_sys::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]

pub const ModalWindowDarkening: ImGuiCol[src]

Deprecated since 0.0.21:

please use ImGuiCol::ModalWindowDimBg instead

pub fn values() -> &'static [ImGuiCol][src]

Deprecated since 0.0.21:

please use ImGuiCol::VARIANTS instead

Trait Implementations

impl Eq for ImGuiCol[src]

impl Clone for ImGuiCol[src]

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

Performs copy-assignment from source. Read more

impl Copy for ImGuiCol[src]

impl PartialEq<ImGuiCol> for ImGuiCol[src]

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

This method tests for !=.

impl Debug for ImGuiCol[src]

Auto Trait Implementations

impl Send for ImGuiCol

impl Sync for ImGuiCol

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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