enum ImGui::ImGuiCol

Overview

enum ImGuiCol_

Defined in:

types.cr

Enum Members

Text = 0
TextDisabled = 1
WindowBg = 2

Background of normal windows

ChildBg = 3

Background of child windows

PopupBg = 4

Background of popups, menus, tooltips windows

Border = 5
BorderShadow = 6
FrameBg = 7

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

FrameBgHovered = 8
FrameBgActive = 9
TitleBg = 10

Title bar

TitleBgActive = 11

Title bar when focused

TitleBgCollapsed = 12

Title bar when collapsed

MenuBarBg = 13
ScrollbarBg = 14
ScrollbarGrab = 15
ScrollbarGrabHovered = 16
ScrollbarGrabActive = 17
CheckMark = 18

Checkbox tick and RadioButton circle

SliderGrab = 19
SliderGrabActive = 20
Button = 21
ButtonHovered = 22
ButtonActive = 23
Header = 24

Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem

HeaderHovered = 25
HeaderActive = 26
Separator = 27
SeparatorHovered = 28
SeparatorActive = 29
ResizeGrip = 30

Resize grip in lower-right and lower-left corners of windows.

ResizeGripHovered = 31
ResizeGripActive = 32
Tab = 33

TabItem in a TabBar

TabHovered = 34
TabActive = 35
TabUnfocused = 36
TabUnfocusedActive = 37
PlotLines = 38
PlotLinesHovered = 39
PlotHistogram = 40
PlotHistogramHovered = 41
TableHeaderBg = 42

Table header background

TableBorderStrong = 43

Table outer and header borders (prefer using Alpha=1.0 here)

TableBorderLight = 44

Table inner borders (prefer using Alpha=1.0 here)

TableRowBg = 45

Table row background (even rows)

TableRowBgAlt = 46

Table row background (odd rows)

TextSelectedBg = 47
DragDropTarget = 48

Rectangle highlighting a drop target

NavHighlight = 49

Gamepad/keyboard: current highlighted item

NavWindowingHighlight = 50

Highlight window when using CTRL+TAB

NavWindowingDimBg = 51

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

ModalWindowDimBg = 52

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

Instance Method Summary

Instance Method Detail

def border? #

[View source]
def border_shadow? #

[View source]
def button? #

[View source]
def button_active? #

[View source]
def button_hovered? #

[View source]
def check_mark? #

[View source]
def child_bg? #

[View source]
def drag_drop_target? #

[View source]
def frame_bg? #

[View source]
def frame_bg_active? #

[View source]
def frame_bg_hovered? #

[View source]
def header? #

[View source]
def header_active? #

[View source]
def header_hovered? #

[View source]
def menu_bar_bg? #

[View source]
def modal_window_dim_bg? #

[View source]
def nav_highlight? #

[View source]
def nav_windowing_dim_bg? #

[View source]
def nav_windowing_highlight? #

[View source]
def plot_histogram? #

[View source]
def plot_histogram_hovered? #

[View source]
def plot_lines? #

[View source]
def plot_lines_hovered? #

[View source]
def popup_bg? #

[View source]
def resize_grip? #

[View source]
def resize_grip_active? #

[View source]
def resize_grip_hovered? #

[View source]
def scrollbar_bg? #

[View source]
def scrollbar_grab? #

[View source]
def scrollbar_grab_active? #

[View source]
def scrollbar_grab_hovered? #

[View source]
def separator? #

[View source]
def separator_active? #

[View source]
def separator_hovered? #

[View source]
def slider_grab? #

[View source]
def slider_grab_active? #

[View source]
def tab? #

[View source]
def tab_active? #

[View source]
def tab_hovered? #

[View source]
def tab_unfocused? #

[View source]
def tab_unfocused_active? #

[View source]
def table_border_light? #

[View source]
def table_border_strong? #

[View source]
def table_header_bg? #

[View source]
def table_row_bg? #

[View source]
def table_row_bg_alt? #

[View source]
def text? #

[View source]
def text_disabled? #

[View source]
def text_selected_bg? #

[View source]
def title_bg? #

[View source]
def title_bg_active? #

[View source]
def title_bg_collapsed? #

[View source]
def window_bg? #

[View source]