]> Dogcows Code - chaz/openbox/blobdiff - otk/label.cc
add a keyboard plugin
[chaz/openbox] / otk / label.cc
index a267039df1164a078a5437a624755ac1472ba616..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(""),
This page took 0.025901 seconds and 4 git commands to generate.