diff options
author | Sebastian Geerken <devnull@localhost> | 2014-10-19 00:29:52 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-10-19 00:29:52 +0200 |
commit | 356751ca1ee7df3819dfcfcece24cfbdb37fba7c (patch) | |
tree | 8cffd8d8235aab30ef267695b8b6bf2bfa191e53 /dw/stackingcontextmgr.hh | |
parent | 021d425fea3bdc727328ccbe24f508453a4ada36 (diff) |
Changes in drawing process: is now interruptable. (Some errors left.)
Diffstat (limited to 'dw/stackingcontextmgr.hh')
-rw-r--r-- | dw/stackingcontextmgr.hh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dw/stackingcontextmgr.hh b/dw/stackingcontextmgr.hh index 5c6a0d2f..e7254d7f 100644 --- a/dw/stackingcontextmgr.hh +++ b/dw/stackingcontextmgr.hh @@ -23,7 +23,9 @@ private: lout::container::typed::Vector<Widget> *childSCWidgets; int minZIndex, maxZIndex; - void draw (View *view, Rectangle *area, int startZIndex, int endZIndex); + Widget *draw (View *view, Rectangle *area, + lout::container::untyped::Stack *iterator, + int *index, int startZIndex, int endZIndex); Widget *getWidgetAtPoint (int x, int y, int startZIndex, int endZIndex); public: @@ -45,8 +47,12 @@ public: void addChildSCWidget (Widget *widget); - void drawBottom (View *view, Rectangle *area); - void drawTop (View *view, Rectangle *area); + Widget *drawBottom (View *view, Rectangle *area, + lout::container::untyped::Stack *iterator, + int *index); + Widget *drawTop (View *view, Rectangle *area, + lout::container::untyped::Stack *iterator, + int *index); Widget *getTopWidgetAtPoint (int x, int y); Widget *getBottomWidgetAtPoint (int x, int y); |