all repos — openbox @ b33e8f66129db596fcf22499c2abc7c4505a8f48

openbox fork - make it a bit more like ryudo

otk/button.cc (raw)

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)
{

}

}