aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-08-22 21:48:24 +0200
committerSebastian Geerken <devnull@localhost>2013-08-22 21:48:24 +0200
commit0557624de7bdc626f89a03c3b6939e5a06f7d023 (patch)
tree8463e7a5da4a5603ab2fb1083e4234a8fc59d8eb /dw/layout.hh
parent18f250c8b0a2918224118d068cebc844e75a1f52 (diff)
More tests.
Diffstat (limited to 'dw/layout.hh')
-rw-r--r--dw/layout.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/dw/layout.hh b/dw/layout.hh
index 730c35f1..2055b751 100644
--- a/dw/layout.hh
+++ b/dw/layout.hh
@@ -211,12 +211,15 @@ private:
void queueResize ();
void removeWidget ();
- /* For tests regarding the respective Widget methods. Accessed by
- respective methods (enter..., leave..., ...Entered) defined in
- Widget. */
+ /* For tests regarding the respective Layout and (mostly) Widget
+ methods. Accessed by respective methods (enter..., leave...,
+ ...Entered) defined here and in Widget. */
- int queueResizeCounter, sizeAllocateCounter, sizeRequestCounter,
- getExtremesCounter;
+ int resizeIdleCounter, queueResizeCounter, sizeAllocateCounter,
+ sizeRequestCounter, getExtremesCounter;
+
+ void enterQueueResize () { resizeIdleCounter++; }
+ void leaveQueueResize () { resizeIdleCounter--; }
public:
Layout (Platform *platform);