Added direct theme support and will slowly move more things into this struct for configuring the look.

This commit is contained in:
Zed A. Shaw 2025-05-09 11:20:22 -04:00
parent b9deb3a0de
commit a18d60dcb0
9 changed files with 48 additions and 67 deletions

11
src/guecs/theme.cpp Normal file
View file

@ -0,0 +1,11 @@
#include "guecs/theme.hpp"
namespace guecs {
Backend* BACKEND = nullptr;
Theme THEME;
void init(Backend* backend) {
BACKEND = backend;
THEME = BACKEND->theme();
}
}