From cbf9dd0c4c8669392d9c7c8461d1af411f0ab0a4 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Mon, 11 Nov 2002 03:47:12 +0000 Subject: beginnings of button class --- otk/button.cc | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 otk/button.cc (limited to 'otk/button.cc') 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) +{ + +} + +} -- cgit v1.2.3