1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
4 # include "../config.h"
7 #include "labelwidget.hh"
11 OBLabelWidget::OBLabelWidget(otk::OtkWidget *parent, OBWidget::WidgetType type)
12 : otk::OtkFocusLabel(parent),
18 OBLabelWidget::~OBLabelWidget()
23 void OBLabelWidget::setStyle(otk::Style *style)
25 setTexture(style->getLabelFocus());
26 setUnfocusTexture(style->getLabelUnfocus());
28 otk::OtkFocusLabel::setStyle(style);
32 void OBLabelWidget::adjust()
34 otk::OtkFocusLabel::adjust();