Config

AppCUI::Application::Config (struct)

struct Config

Public Types

using CustomColorNameStorage = std::map<std::string, Graphics::CustomColor>
using CustomColorStorage = std::map<std::string, CategoryColorsData>

Public Functions

bool SerializeCustomColors(AppCUI::Utils::LocalString<8192> &bufferToSerializeTo)
bool DeserializeCustomColors(Utils::IniObject &configFile)

Public Members

Graphics::ObjectColorState SearchBar
Graphics::ObjectColorState Border
Graphics::ObjectColorState Lines
Graphics::ObjectColorState Editor
Graphics::ObjectColorState LineMarker
std::filesystem::path ThemesFolder
ThemeType Theme
CustomColorStorage CustomColors
struct CategoryColorsData

Other fields

Declared in the header as:

struct
{
    Graphics::ObjectColorState Text, HotKey;
    Graphics::ColorPair ShadowColor;
} Button;

struct
{
    Graphics::ColorPair Normal, HotKey, Inactive, Error, Warning, Hovered, Focused, Highlighted, Emphasized1,
          Emphasized2, Emphasized3;
} Text;

struct
{
    Graphics::ColorPair Inactive, Hovered, Pressed, Checked, Unchecked, Unknown, Desktop, Arrows, Close,
          Maximized, Resize;
} Symbol;

struct
{
    Graphics::ColorPair Normal, Inactive, OverInactiveItem, OverSelection;
} Cursor;

struct
{
    Graphics::ColorPair Editor, LineMarker, Text, SearchMarker, SimilarText;
} Selection;

struct
{
    Graphics::ColorPair Empty, Full;
} ProgressStatus;

struct
{
    Graphics::ObjectColorState Text, HotKey, ShortCut, Symbol;
} Menu, ParentMenu;

struct
{
    Graphics::ObjectColorState Text, HotKey, Symbol;
} Header;

struct
{
    Graphics::ObjectColorState Bar, Arrows, Position;
} ScrollBar;

struct
{
    Graphics::ColorPair Text, Arrow;
} ToolTip;

struct
{
    Graphics::ObjectColorState Text, HotKey, ListText, ListHotKey;
} Tab;

struct
{
    struct
    {
        Graphics::Color Normal, Inactive, Error, Warning, Info;
    } Background;
} Window;