19 lines
982 B
C
19 lines
982 B
C
#pragma once
|
|
|
|
static constexpr int MENU_BTN_COUNT = 8;
|
|
static constexpr float MENU_SMALL_THRESHOLD = 700.0f;
|
|
static constexpr float MENU_BTN_WIDTH_LARGE = 300.0f;
|
|
static constexpr float MENU_BTN_WIDTH_SMALL_FACTOR = 0.4f; // multiplied by LOGICAL_W
|
|
static constexpr float MENU_BTN_HEIGHT_LARGE = 70.0f;
|
|
static constexpr float MENU_BTN_HEIGHT_SMALL = 60.0f;
|
|
static constexpr float MENU_BTN_Y_OFFSET = 58.0f; // matches MenuState offset; slightly lower for windowed visibility
|
|
static constexpr float MENU_BTN_SPACING_FACTOR_SMALL = 1.15f;
|
|
static constexpr float MENU_BTN_SPACING_FACTOR_LARGE = 1.05f;
|
|
static constexpr float MENU_BTN_CENTER = (MENU_BTN_COUNT - 1) / 2.0f;
|
|
// Settings button metrics
|
|
static constexpr float SETTINGS_BTN_OFFSET_X = 60.0f;
|
|
static constexpr float SETTINGS_BTN_X = 1200 - SETTINGS_BTN_OFFSET_X; // LOGICAL_W is 1200
|
|
static constexpr float SETTINGS_BTN_Y = 10.0f;
|
|
static constexpr float SETTINGS_BTN_W = 50.0f;
|
|
static constexpr float SETTINGS_BTN_H = 30.0f;
|