diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-20 11:37:23 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-20 11:37:23 +0300 |
commit | 2d81addf78d6a8b0fb2f2959b04a385c4adffdf2 (patch) | |
tree | 5e0f45b9c945499bc6a6669563de13c5203981a6 /src/ui/root.h | |
parent | 201021092d204680b353c82ce9e9beb76f3044e8 (diff) |
Experimenting with independent popup windows
Toe dipping into multiple window support by allowing popup menu widgets to be displayed in independent windows.
This is not a 100% replacement for native menus, but it gets pretty close.
Diffstat (limited to 'src/ui/root.h')
-rw-r--r-- | src/ui/root.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/root.h b/src/ui/root.h index 740e97c9..04dd5e16 100644 --- a/src/ui/root.h +++ b/src/ui/root.h | |||
@@ -9,6 +9,7 @@ iDeclareType(Root) | |||
9 | 9 | ||
10 | struct Impl_Root { | 10 | struct Impl_Root { |
11 | iWidget * widget; | 11 | iWidget * widget; |
12 | iWindow * window; | ||
12 | iPtrArray *onTop; /* order is important; last one is topmost */ | 13 | iPtrArray *onTop; /* order is important; last one is topmost */ |
13 | iPtrSet * pendingDestruction; | 14 | iPtrSet * pendingDestruction; |
14 | iBool pendingArrange; | 15 | iBool pendingArrange; |
@@ -29,7 +30,6 @@ iAnyObject *findWidget_Root (const char *id); /* under curre | |||
29 | 30 | ||
30 | iPtrArray * onTop_Root (iRoot *); | 31 | iPtrArray * onTop_Root (iRoot *); |
31 | void destroyPending_Root (iRoot *); | 32 | void destroyPending_Root (iRoot *); |
32 | void postArrange_Root (iRoot *); | ||
33 | 33 | ||
34 | void updateMetrics_Root (iRoot *); | 34 | void updateMetrics_Root (iRoot *); |
35 | void updatePadding_Root (iRoot *); /* TODO: is part of metrics? */ | 35 | void updatePadding_Root (iRoot *); /* TODO: is part of metrics? */ |