diff options
author | corvid <corvid@lavabit.com> | 2010-11-19 16:09:49 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2010-11-19 16:09:49 +0000 |
commit | c5387459af97e2ba5007f20ffcbec0876a69e63f (patch) | |
tree | b404d26b9d1efee5e83b6bf7c4c9226308b5925e /dw/widget.hh | |
parent | e41e07e71b157c2c1ff2b54743a6ff0fcc5a7745 (diff) |
don't use text-indent when nesting blocks
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index 79a34cd8..727aff05 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -67,6 +67,11 @@ protected: * The dw::Image widget uses this flag, see dw::Image::setBuffer. */ WAS_ALLOCATED = 1 << 5, + + /** + * \brief Set for block-level widgets (as opposed to inline widgets) + */ + BLOCK_LEVEL = 1 << 6, }; private: @@ -238,6 +243,7 @@ public: inline bool wasAllocated () { return flags & WAS_ALLOCATED; } inline bool usesHints () { return flags & USES_HINTS; } inline bool hasContents () { return flags & HAS_CONTENTS; } + inline bool blockLevel () { return flags & BLOCK_LEVEL; } void setParent (Widget *parent); |