Player12
An open source football management simulator
Loading...
Searching...
No Matches
TransferMarketSceneTuning::Layout Struct Referencefinal

#include <transfer_market_scene_tuning.h>

Static Public Attributes

static constexpr float DIALOG_WIDTH = 620.0f
 
static constexpr float WIDE_DIALOG_WIDTH = 980.0f
 
static constexpr float TWO_COLUMN_MIN_VIEWPORT = 1100.0f
 
static constexpr float TERMS_COLUMN_WEIGHT = 1.25f
 
static constexpr float SUMMARY_COLUMN_WEIGHT = 1.0f
 
static constexpr float DIALOG_VIEWPORT_SHARE = 0.92f
 
static constexpr float SEARCH_WIDTH = 220.0f
 
static constexpr float COMBO_WIDTH = 150.0f
 
static constexpr float SLIDER_WIDTH = 170.0f
 
static constexpr float WIDE_TABLE_MIN_WIDTH = 720.0f
 
static constexpr float TARGET_TABLE_MIN_HEIGHT = 240.0f
 
static constexpr int SUMMARY_TILES = 5
 
static constexpr float SUMMARY_TILE_MIN_WIDTH = 170.0f
 

Member Data Documentation

◆ COMBO_WIDTH

constexpr float TransferMarketSceneTuning::Layout::COMBO_WIDTH = 150.0f
staticconstexpr

◆ DIALOG_VIEWPORT_SHARE

constexpr float TransferMarketSceneTuning::Layout::DIALOG_VIEWPORT_SHARE = 0.92f
staticconstexpr

◆ DIALOG_WIDTH

constexpr float TransferMarketSceneTuning::Layout::DIALOG_WIDTH = 620.0f
staticconstexpr

Dialog widths (single column / terms plus summary), clamped to this share of the viewport. Two columns from this viewport width.

◆ SEARCH_WIDTH

constexpr float TransferMarketSceneTuning::Layout::SEARCH_WIDTH = 220.0f
staticconstexpr

◆ SLIDER_WIDTH

constexpr float TransferMarketSceneTuning::Layout::SLIDER_WIDTH = 170.0f
staticconstexpr

◆ SUMMARY_COLUMN_WEIGHT

constexpr float TransferMarketSceneTuning::Layout::SUMMARY_COLUMN_WEIGHT = 1.0f
staticconstexpr

◆ SUMMARY_TILE_MIN_WIDTH

constexpr float TransferMarketSceneTuning::Layout::SUMMARY_TILE_MIN_WIDTH = 170.0f
staticconstexpr

◆ SUMMARY_TILES

constexpr int TransferMarketSceneTuning::Layout::SUMMARY_TILES = 5
staticconstexpr

Summary tiles per row before they wrap.

◆ TARGET_TABLE_MIN_HEIGHT

constexpr float TransferMarketSceneTuning::Layout::TARGET_TABLE_MIN_HEIGHT = 240.0f
staticconstexpr

Target tables scroll on their own only with this much room below the filters (unscaled); otherwise the page scrolls.

◆ TERMS_COLUMN_WEIGHT

constexpr float TransferMarketSceneTuning::Layout::TERMS_COLUMN_WEIGHT = 1.25f
staticconstexpr

◆ TWO_COLUMN_MIN_VIEWPORT

constexpr float TransferMarketSceneTuning::Layout::TWO_COLUMN_MIN_VIEWPORT = 1100.0f
staticconstexpr

◆ WIDE_DIALOG_WIDTH

constexpr float TransferMarketSceneTuning::Layout::WIDE_DIALOG_WIDTH = 980.0f
staticconstexpr

◆ WIDE_TABLE_MIN_WIDTH

constexpr float TransferMarketSceneTuning::Layout::WIDE_TABLE_MIN_WIDTH = 720.0f
staticconstexpr

Tables scroll horizontally below this width (unscaled).


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