summaryrefslogtreecommitdiff
path: root/otk/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'otk/label.cc')
-rw-r--r--otk/label.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/otk/label.cc b/otk/label.cc
index a267039d..8ec03dd9 100644
--- a/otk/label.cc
+++ b/otk/label.cc
@@ -10,6 +10,17 @@
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(""),