From 356751ca1ee7df3819dfcfcece24cfbdb37fba7c Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Sun, 19 Oct 2014 00:29:52 +0200 Subject: Changes in drawing process: is now interruptable. (Some errors left.) --- dw/stackingcontextmgr.hh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'dw/stackingcontextmgr.hh') 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 *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); -- cgit v1.2.3