diff options
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 11 |
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; |