summaryrefslogtreecommitdiff
path: root/otk/button.cc
blob: c88fc707c3fa631657ba8e4cd71d792d004ca42f (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
#include "button.hh"

namespace otk {

OtkButton::OtkButton(OtkWidget *parent)
  : OtkWidget(parent), _text(""), _pressed(false),
    _unfocus_tx(OtkWidget::getStyle()->getButtonUnfocus())
{
}

OtkButton::~OtkButton()
{

}

void OtkButton::setText(const std::string &text)
{
  std::string a = text;
}

void OtkButton::press(void)
{

}

void OtkButton::release(void)
{

}

}