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(""),
class Label : public Widget {
public:
+ Label(int screen, EventDispatcher *ed, int bevel = 3);
Label(Widget *parent);
virtual ~Label();