aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.hh
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-05-28 01:47:02 +0200
committerSebastian Geerken <devnull@localhost>2014-05-28 01:47:02 +0200
commit62fd27e851224c15bd41c1b70ad9710e2200c7bb (patch)
tree244d71e4169b504a13a0ad29c500c251541b9d37 /dw/widget.hh
parent935287d467ef8fecd0fe6e0170d7ec8778e73dad (diff)
Introduced Widget::container.
Diffstat (limited to 'dw/widget.hh')
-rw-r--r--dw/widget.hh11
1 files changed, 9 insertions, 2 deletions
diff --git a/dw/widget.hh b/dw/widget.hh
index 6482c63a..3abde988 100644
--- a/dw/widget.hh
+++ b/dw/widget.hh
@@ -122,11 +122,18 @@ private:
/**
* \brief The generating widget, NULL for top-level widgets, or if
- * not set; in the latter case, the effective generator (see
- * getGenerator) is the parent.
+ * not set; in the latter case, the effective generator (see
+ * getGenerator) is the parent.
*/
Widget *generator;
+ /**
+ * \brief The containing widget, equivalent to the "containing
+ * block" defined by CSS. May be NULL, in this case the viewport
+ * is used.
+ */
+ Widget *container;
+
style::Style *style;
Flags flags;