carb::simplegui::StyleVar

Defined in carb/simplegui/SimpleGuiTypes.h

enum class carb::simplegui::StyleVar

Defines style variable (properties) that can be used to temporarily modify UI styles.

The enum only refers to fields of ImGuiStyle which makes sense to be pushed/popped inside UI code. During initialization, feel free to just poke into ImGuiStyle directly.

See also

pushStyleVarFloat

See also

pushStyleVarFloat2

See also

popStyleVar

Values:

enumerator eAlpha

(float, Style::alpha)

enumerator eWindowPadding

(Float2, Style::windowPadding)

enumerator eWindowRounding

(float, Style::windowRounding)

enumerator eWindowBorderSize

(float, Style::windowBorderSize)

enumerator eWindowMinSize

(Float2, Style::windowMinSize)

enumerator eWindowTitleAlign

(Float2, Style::windowTitleAlign)

enumerator eChildRounding

(float, Style::childRounding)

enumerator eChildBorderSize

(float, Style::childBorderSize)

enumerator ePopupRounding

(float, Style::popupRounding)

enumerator ePopupBorderSize

(float, Style::popupBorderSize)

enumerator eFramePadding

(Float2, Style::framePadding)

enumerator eFrameRounding

(float, Style::frameRounding)

enumerator eFrameBorderSize

(float, Style::frameBorderSize)

enumerator eItemSpacing

(Float2, Style::itemSpacing)

enumerator eItemInnerSpacing

(Float2, Style::itemInnerSpacing)

enumerator eIndentSpacing

(float, Style::indentSpacing)

enumerator eCellPadding

(Float2, Style::cellPadding)

enumerator eScrollbarSize

(float, Style::scrollbarSize)

enumerator eScrollbarRounding

(float, Style::scrollbarRounding)

enumerator eGrabMinSize

(float, Style::grabMinSize)

enumerator eGrabRounding

(float, Style::grabRounding)

enumerator eTabRounding

(float, Style::tabRounding)

enumerator eButtonTextAlign

(Float2, Style::buttonTextAlign)

enumerator eSelectableTextAlign

(Float2, Style::selectableTextAlign)

enumerator eCount

Number of items.