ok ok i made a ton of progress on theming
This commit is contained in:
parent
9ebb95135b
commit
5cbb13cf4b
14 changed files with 128 additions and 61 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue