ObjectColorState

AppCUI::Graphics::ObjectColorState (struct)

struct ObjectColorState

Public Functions

inline ObjectColorState()
inline void Set(ColorPair focused, ColorPair normal, ColorPair inactive, ColorPair hovered, ColorPair pressedOrSelected)
inline void Set(ColorPair focused, ColorPair normal, ColorPair inactive, ColorPair hovered)
inline void Set(ColorPair focused, ColorPair normal, ColorPair inactive)
inline void Set(ColorPair col)
inline void Set(Color focused, Color normal, Color inactive, Color hovered, Color backgroud)
inline void Set(Color focused, Color normal, Color inactive, Color backgroud)
inline constexpr ColorPair GetColor(Controls::ControlState state) const

Other fields

Declared in the header as:

union
{
    ColorPair StatesList[OBJECT_COLOR_STATE_COUNT];
    struct
    {
        ColorPair Focused, Normal, Hovered, Inactive, PressedOrSelected;
    };
};