TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::GUIApplicationInitializeOptions Struct Reference

What GUIApplication::Initialize sets up besides the core systems. More...

#include <gui_controls/gui_application.h>

Public Attributes

bool loadStyles = true
 load the theme (InitializeStyles)
bool commandShortcuts = true
 route keys to commandManager's shortcuts
bool repaintWhileResizing = true
 onGui = OnFrame, unless onGui is already set
bool closeMenusOnWindowMove = true
 open menus close when a window moves or resizes
std::string_view fallbackFonts {}
 The optional fallback fonts (Noto: other scripts, emoji, symbols), relative to the resource root, e.g.

Detailed Description

What GUIApplication::Initialize sets up besides the core systems.

All on by default; a host that does one itself turns it off.

Member Data Documentation

◆ loadStyles

bool tachyon::GUIApplicationInitializeOptions::loadStyles = true

load the theme (InitializeStyles)

◆ commandShortcuts

bool tachyon::GUIApplicationInitializeOptions::commandShortcuts = true

route keys to commandManager's shortcuts

◆ repaintWhileResizing

bool tachyon::GUIApplicationInitializeOptions::repaintWhileResizing = true

onGui = OnFrame, unless onGui is already set

◆ closeMenusOnWindowMove

bool tachyon::GUIApplicationInitializeOptions::closeMenusOnWindowMove = true

open menus close when a window moves or resizes

◆ fallbackFonts

std::string_view tachyon::GUIApplicationInitializeOptions::fallbackFonts {}

The optional fallback fonts (Noto: other scripts, emoji, symbols), relative to the resource root, e.g.

"fonts/Noto-otf". Empty: only the built-in fonts.


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