Color is now in one nice location.

This commit is contained in:
Zed A. Shaw 2024-11-18 14:28:39 -05:00
parent c8fa68815b
commit b7002917c1
4 changed files with 21 additions and 34 deletions

View file

@ -9,6 +9,7 @@
#include <SFML/Graphics/Color.hpp>
#include <locale>
#include <codecvt>
#include "color.hpp"
const int UI_PANEL_BORDER_PX=5;
@ -22,8 +23,8 @@ struct Panel {
bool has_border = false;
bool must_clear = true;
bool grid = false;
sf::Color default_bg = sf::Color(0,0,0);
sf::Color border_color = sf::Color::Red;
sf::Color default_bg = color::BLACK;
sf::Color border_color = color::MID;
int border_px = UI_PANEL_BORDER_PX;
bool $dirty = true;