blob: 9b18c0a97ec1c55499f39f4ef2cc4eb943a8a99f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifdef HAVE_CONFIG_H
# include "../config.h"
#endif
#include "labelwidget.hh"
namespace ob {
OBLabelWidget::OBLabelWidget(otk::OtkWidget *parent, OBWidget::WidgetType type)
: otk::OtkFocusLabel(parent),
OBWidget(type)
{
}
OBLabelWidget::~OBLabelWidget()
{
}
void OBLabelWidget::setStyle(otk::Style *style)
{
setTexture(style->getLabelFocus());
setUnfocusTexture(style->getLabelUnfocus());
otk::OtkFocusLabel::setStyle(style);
}
void OBLabelWidget::adjust()
{
otk::OtkFocusLabel::adjust();
// XXX: adjust shit
}
}
|