aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-12-08 17:35:18 +0100
committerSebastian Geerken <devnull@localhost>2014-12-08 17:35:18 +0100
commit3d521d286174264448cbd1b2315ff89f9d8e8edf (patch)
tree37515aa58dc935014b677c7212ada0fdfab7b2bd /dw/widget.cc
parentde2139f76ee1fa4f14970914bb6c87fe46feed17 (diff)
parent2bb03c759cb44241d42e3385336a1c6b9a8d7d9f (diff)
Merged with main repo (part 1/2).
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 8840fc3a..c02b007f 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -1358,6 +1358,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");
}
/**