diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-11-11 03:47:12 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-11-11 03:47:12 +0000 |
| commit | cbf9dd0c4c8669392d9c7c8461d1af411f0ab0a4 (patch) | |
| tree | 2d941f540d1b1a1e03d72c6579a5f8949256342f /otk/button.cc | |
| parent | f0e2abf573760ab075b4683d7724f72f2d00f914 (diff) | |
beginnings of button class
Diffstat (limited to 'otk/button.cc')
| -rw-r--r-- | otk/button.cc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/otk/button.cc b/otk/button.cc new file mode 100644 index 00000000..c88fc707 --- /dev/null +++ b/otk/button.cc @@ -0,0 +1,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) +{ + +} + +} |
