ImGuiStyleExtra

imgui.ImGuiStyleExtra (Class)

Portable access to style.Colors[idx] (a C array field, not bindable by the generator). Backed by the hand-written dcimgui_extra_glue.cpp helpers, compiled into every target.

Static Members

getStyleColor(style: ImGuiStyle, idx: ImGuiCol): ImVec4
Name Type
style ImGuiStyle
idx ImGuiCol
Returns
ImVec4

setStyleColor(style: ImGuiStyle, idx: ImGuiCol, color: ImVec4): Void
Name Type
style ImGuiStyle
idx ImGuiCol
color ImVec4