FlowArithmeticCalculator 1.0.0
Flow Arithmetic Calculator
Loading...
Searching...
No Matches
gui::constants Namespace Reference

Namespace defining GUI constants. More...

Variables

constexpr int MENU_HEADLINE_FONT_SIZE_BASE = 17
 
constexpr int MENU_CAPTION_FONT_SIZE_BASE = 10
 
constexpr int CAPTION_FONT_SIZE_BASE = 7
 
constexpr int MENU_CHOICE_FONT_SIZE_BASE = 14
 
constexpr int FONT_ASPECT_BASE_WINDOW_WIDTH = 800
 The base window width that the current width is divided by to obtain a scaling factor for font size.
 
constexpr int FONT_ASPECT_BASE_WINDOW_HEIGHT = 600
 The base window height that the current height is divided by to obtain a scaling factor for font size.
 

Detailed Description

Namespace defining GUI constants.

Variable Documentation

◆ CAPTION_FONT_SIZE_BASE

constexpr int gui::constants::CAPTION_FONT_SIZE_BASE = 7
constexpr

Definition at line 10 of file constants.h.

Referenced by gui::renderer::FontManager::recalculateFontSizes().

◆ FONT_ASPECT_BASE_WINDOW_HEIGHT

constexpr int gui::constants::FONT_ASPECT_BASE_WINDOW_HEIGHT = 600
constexpr

The base window height that the current height is divided by to obtain a scaling factor for font size.

Definition at line 22 of file constants.h.

Referenced by gui::renderer::SkiaRendererImpl::handleWindowResized().

◆ FONT_ASPECT_BASE_WINDOW_WIDTH

constexpr int gui::constants::FONT_ASPECT_BASE_WINDOW_WIDTH = 800
constexpr

The base window width that the current width is divided by to obtain a scaling factor for font size.

Definition at line 17 of file constants.h.

Referenced by gui::renderer::SkiaRendererImpl::handleWindowResized().

◆ MENU_CAPTION_FONT_SIZE_BASE

constexpr int gui::constants::MENU_CAPTION_FONT_SIZE_BASE = 10
constexpr

Definition at line 9 of file constants.h.

Referenced by gui::renderer::FontManager::recalculateFontSizes().

◆ MENU_CHOICE_FONT_SIZE_BASE

constexpr int gui::constants::MENU_CHOICE_FONT_SIZE_BASE = 14
constexpr

Definition at line 11 of file constants.h.

Referenced by gui::renderer::FontManager::recalculateFontSizes().

◆ MENU_HEADLINE_FONT_SIZE_BASE

constexpr int gui::constants::MENU_HEADLINE_FONT_SIZE_BASE = 17
constexpr

Definition at line 8 of file constants.h.

Referenced by gui::renderer::FontManager::recalculateFontSizes().