aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-12-02 16:33:49 +0100
committerSebastian Geerken <devnull@localhost>2014-12-02 16:33:49 +0100
commita7960cd35790d4e30edffd356f667e5fa08c44c5 (patch)
treef7fd5874b5ca1420bde51e48371ee30c4bffb9ae /dw/widget.cc
parent5d1472c4d56614e2a99b838e35bb893d3e6b67d4 (diff)
Some RTFL.
Diffstat (limited to 'dw/widget.cc')
-rw-r--r--dw/widget.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index ccded039..18748c4f 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -1117,6 +1117,12 @@ void Widget::setStyle (style::Style *style)
DBG_OBJ_SET_NUM ("style.height (raw)", style->height);
DBG_OBJ_SET_NUM ("style.min-height (raw)", style->minHeight);
DBG_OBJ_SET_NUM ("style.max-height (raw)", style->maxHeight);
+
+ if (style->backgroundColor)
+ DBG_OBJ_SET_COL ("style.background-color",
+ style->backgroundColor->getColor ());
+ else
+ DBG_OBJ_SET_SYM ("style.background-color", "transparent");
}
/**