void OBLabelWidget::update()
{
- if (_dirty) {
+ bool draw = _dirty;
+
+ OtkWidget::update();
+
+ if (draw) {
std::string t = _text;
int x = _sidemargin; // x coord for the text
}
}
- OtkWidget::update();
-
_font->drawString(_xftdraw, x, 0, *_text_color, t);
- } else
- OtkWidget::update();
+ }
}
void OBLabelWidget::adjust()
{
- // XXX: adjust shit
+ // nothing to adjust. no children.
}
}