]> Dogcows Code - chaz/openbox/blobdiff - otk/label.cc
offsets in planar surfaces
[chaz/openbox] / otk / label.cc
index 587e321250300a287153bcbd7fcc080b5814e8a1..8ec03dd9b805b361408d57d306c1983e3864fd99 100644 (file)
 
 namespace otk {
 
+Label::Label(int screen, EventDispatcher *ed, int bevel)
+  : Widget(screen, ed, Widget::Horizontal, bevel, true),
+    _text(""),
+    _font(0),
+    _justify_horz(RenderStyle::LeftTopJustify),
+    _justify_vert(RenderStyle::LeftTopJustify),
+    _highlight(false)
+{
+  styleChanged(*RenderStyle::style(screen));
+}
+
 Label::Label(Widget *parent)
   : Widget(parent),
     _text(""),
+    _font(0),
     _justify_horz(RenderStyle::LeftTopJustify),
     _justify_vert(RenderStyle::LeftTopJustify),
     _highlight(false)
This page took 0.020083 seconds and 4 git commands to generate.