Reworked the gui to use GUECS now so lots of code soon to die.

This commit is contained in:
Zed A. Shaw 2025-04-22 03:08:43 -04:00
parent e78340a0cd
commit 70c2ce7d51
9 changed files with 97 additions and 38 deletions

View file

@ -4,20 +4,18 @@
#include "color.hpp"
#include <array>
constexpr const int TEXTURE_WIDTH=256;
constexpr const int TEXTURE_HEIGHT=256;
constexpr const int SCREEN_WIDTH=1280;
constexpr const int SCREEN_HEIGHT=720;
constexpr const int SCREEN_WIDTH= 1920 / 2;
constexpr const int SCREEN_HEIGHT= 1080 / 2;
constexpr const bool VSYNC=false;
constexpr const int FRAME_LIMIT=60;
constexpr const int GUECS_PADDING = 3;
constexpr const int GUECS_BORDER_PX = 1;
constexpr const int GUECS_FONT_SIZE = 30;
const sf::Color GUECS_FILL_COLOR = ColorValue::DARK_MID;
constexpr const int GUECS_FONT_SIZE = 40;
const sf::Color GUECS_FILL_COLOR = ColorValue::DARK_DARK;
const sf::Color GUECS_TEXT_COLOR = ColorValue::LIGHT_LIGHT;
const sf::Color GUECS_BG_COLOR = ColorValue::MID;
const sf::Color GUECS_BG_COLOR = ColorValue::BLACK;
const sf::Color GUECS_BORDER_COLOR = ColorValue::MID;
constexpr const char *FONT_FILE_NAME="assets/text.ttf";