]> Dogcows Code - chaz/openbox/blobdiff - otk/focuslabel.cc
include gettext from ../src
[chaz/openbox] / otk / focuslabel.cc
index 24f3ff52d27bbf60bc9a5869a03e80576e60eb96..6d034794a3973d20847688ab2f5174a085d9c5bf 100644 (file)
@@ -13,6 +13,7 @@ namespace otk {
 FocusLabel::FocusLabel(Widget *parent)
   : FocusWidget(parent), _text("")
 {
+  setStyle(_style);
 }
 
 FocusLabel::~FocusLabel()
@@ -29,8 +30,10 @@ void FocusLabel::setStyle(RenderStyle *style)
 }
 
 
-void FocusLabel::renderForeground(void)
+void FocusLabel::renderForeground()
 {
+  otk::Widget::renderForeground();
+
   const Font *ft = style()->labelFont();
   RenderColor *text_color = (isFocused() ? style()->textFocusColor()
                              : style()->textUnfocusColor());
This page took 0.020176 seconds and 4 git commands to generate.