]> icculus.org git repositories - mikachu/openbox.git/blob - otk/button.cc
HOOGE improvements. now widgets calculate their size according to the sizes of their...
[mikachu/openbox.git] / otk / button.cc
1 #include "button.hh"
2
3 namespace otk {
4
5 OtkButton::OtkButton(OtkWidget *parent)
6   : OtkWidget(parent), _text(""), _pressed(false),
7     _unfocus_tx(OtkWidget::getStyle()->getButtonUnfocus())
8 {
9 }
10
11 OtkButton::~OtkButton()
12 {
13
14 }
15
16 void OtkButton::setText(const std::string &text)
17 {
18   std::string a = text;
19 }
20
21 void OtkButton::press(void)
22 {
23
24 }
25
26 void OtkButton::release(void)
27 {
28
29 }
30
31 }