Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Attributes | List of all members
smlt::AppConfig::UI Struct Reference

Public Attributes

std::vector< Pathfont_directories
 
std::string font_family = "Orbitron"
 
uint16_t font_size = 16
 

Member Data Documentation

◆ font_directories

std::vector<Path> smlt::AppConfig::UI::font_directories
Initial value:
= {
"simulant/fonts/Orbitron",
"assets/simulant/fonts/Orbitron"
}

If specified, these directories are added to the path temporarily while loading the default font

◆ font_family

std::string smlt::AppConfig::UI::font_family = "Orbitron"

The font-family that is used by default for widgets

◆ font_size

uint16_t smlt::AppConfig::UI::font_size = 16

The root font size, all Rem measurements are based on this unless overridden in a UIConfig


The documentation for this struct was generated from the following file: