Player12
An open source football management simulator
Loading...
Searching...
No Matches
gui_constants.h File Reference
#include <array>

Go to the source code of this file.

Classes

struct  GUIConstants::Resolution
 Represents a screen resolution. More...
 

Namespaces

namespace  GUIConstants
 Namespace containing all GUI-related constants.
 

Variables

constexpr float GUIConstants::BUTTON_WIDTH = 120.0f
 Default button width.
 
constexpr float GUIConstants::BUTTON_HEIGHT = 40.0f
 Default button height.
 
constexpr float GUIConstants::MENU_BUTTON_WIDTH = 200.0f
 Default menu button width.
 
constexpr float GUIConstants::MENU_BUTTON_HEIGHT = 50.0f
 Default menu button height.
 
constexpr float GUIConstants::CENTER_PIVOT = 0.5f
 Center pivot for layout alignment.
 
constexpr std::array< int, 8 > GUIConstants::FPS_OPTIONS = {30, 60, 75, 90, 120, 144, 165, 240}
 Supported FPS options.
 
constexpr std::array< Resolution, 6 > GUIConstants::RESOLUTIONS
 Supported resolution options.