Added direct theme support and will slowly move more things into this struct for configuring the look.
This commit is contained in:
parent
b9deb3a0de
commit
a18d60dcb0
9 changed files with 48 additions and 67 deletions
11
src/guecs/theme.cpp
Normal file
11
src/guecs/theme.cpp
Normal 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();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue