diff options
Diffstat (limited to 'src/ui/root.h')
-rw-r--r-- | src/ui/root.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/root.h b/src/ui/root.h index 39e7bf3c..e5fdcbe4 100644 --- a/src/ui/root.h +++ b/src/ui/root.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #include "widget.h" | 3 | #include "widget.h" |
4 | #include "color.h" | ||
4 | #include <the_Foundation/ptrset.h> | 5 | #include <the_Foundation/ptrset.h> |
5 | #include <the_Foundation/vec2.h> | 6 | #include <the_Foundation/vec2.h> |
6 | 7 | ||
@@ -8,12 +9,10 @@ iDeclareType(Root) | |||
8 | 9 | ||
9 | struct Impl_Root { | 10 | struct Impl_Root { |
10 | iWidget * widget; | 11 | iWidget * widget; |
11 | iWidget * hover; | ||
12 | iWidget * mouseGrab; | ||
13 | iWidget * focus; | ||
14 | iPtrArray *onTop; /* order is important; last one is topmost */ | 12 | iPtrArray *onTop; /* order is important; last one is topmost */ |
15 | iPtrSet * pendingDestruction; | 13 | iPtrSet * pendingDestruction; |
16 | int loadAnimTimer; | 14 | int loadAnimTimer; |
15 | iColor tmPalette[tmMax_ColorId]; /* theme-specific palette */ | ||
17 | }; | 16 | }; |
18 | 17 | ||
19 | iDeclareTypeConstruction(Root) | 18 | iDeclareTypeConstruction(Root) |
@@ -24,6 +23,7 @@ void createUserInterface_Root (iRoot *); | |||
24 | 23 | ||
25 | void setCurrent_Root (iRoot *); | 24 | void setCurrent_Root (iRoot *); |
26 | iRoot * get_Root (void); | 25 | iRoot * get_Root (void); |
26 | iAnyObject *findWidget_Root (const char *id); /* under current Root */ | ||
27 | 27 | ||
28 | iPtrArray * onTop_Root (iRoot *); | 28 | iPtrArray * onTop_Root (iRoot *); |
29 | void destroyPending_Root (iRoot *); | 29 | void destroyPending_Root (iRoot *); |