summaryrefslogtreecommitdiff
path: root/otk/button.cc
diff options
context:
space:
mode:
authorMarius Nita <marius@cs.pdx.edu>2002-11-16 02:15:49 +0000
committerMarius Nita <marius@cs.pdx.edu>2002-11-16 02:15:49 +0000
commita3d036f60ed2333622ee9b61dbddcdc8fbc497c3 (patch)
treedae05770ec9c7aab9529e57361cb7b87f956de0f /otk/button.cc
parente53fbcf092c40b22ccc4c5f23795e12c9862c338 (diff)
added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
Diffstat (limited to 'otk/button.cc')
-rw-r--r--otk/button.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/otk/button.cc b/otk/button.cc
index e93762ec..fd40f7d5 100644
--- a/otk/button.cc
+++ b/otk/button.cc
@@ -66,17 +66,17 @@ void OtkButton::update(void)
_dirty = false;
}
-bool OtkButton::expose(const XExposeEvent &e)
+int OtkButton::exposeHandler(const XExposeEvent &e)
{
_dirty = true;
- return OtkFocusWidget::expose(e);
+ return OtkFocusWidget::exposeHandler(e);
}
-bool OtkButton::configure(const XConfigureEvent &e)
+int OtkButton::configureHandler(const XConfigureEvent &e)
{
if (!(e.width == width() && e.height == height()))
_dirty = true;
- return OtkFocusWidget::configure(e);
+ return OtkFocusWidget::configureHandler(e);
}
}