InitializationData

AppCUI::Application::InitializationData (struct)

struct InitializationData

Every parameter of Application::Init.

Values read from the settings file (InitializationFlags::LoadSettingsFile) override the corresponding fields.

Public Functions

inline InitializationData()

Public Members

uint32 Width

width in characters (0 = frontend default)

uint32 Height

height in characters (0 = frontend default)

FrontendType Frontend

frontend used to display the application

CharacterSize CharSize

character size (SDL / Windows console)

InitializationFlags Flags

initialization options

string_view FontName

font name (Windows console)

Utils::FixSizeString<32> ThemeName

name of a .theme file (from ThemeFolder) to load

Utils::String ThemeFolder

folder with .theme files (relative to the executable)

ThemeType Theme

built-in theme (also the base of a loaded .theme)

SpecialCharacterSetType SpecialCharacterSet

characters used to draw lines and borders

CustomFrontendInterface *CustomFrontend

required (and only used) when Frontend is FrontendType::Custom

Other fields

Declared in the header as:

Controls::Desktop* (*CustomDesktopConstructor)(); ///< creates a custom desktop (nullptr = default desktop)