ok ok i made a ton of progress on theming

This commit is contained in:
kin fuyuki 2026-02-20 05:38:16 -03:00
commit 5cbb13cf4b
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
14 changed files with 128 additions and 61 deletions

View file

@ -7,9 +7,12 @@
#include<tiny/term.h>
namespace enginend {
struct theme;
namespace nodes {
struct node{
public:
enginend::theme* theme;
virtual void boot()=0;
virtual void tick()=0;
virtual void draw()=0;
@ -29,7 +32,9 @@
struct theme {
// in case if its a boolean button, it will use booleanbutton
Color booleanbutton[3],button[3],booleantext[3],buttontext[3],text,buttonborder[3],booleanborder[3],border;
Color booleanbutton[6],button[3],booleantext[6],buttontext[3],text,buttonborder[3],booleanborder[6],border,background
,textfieldbg
;
Font font;