diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2002-11-16 02:15:49 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2002-11-16 02:15:49 +0000 |
| commit | a3d036f60ed2333622ee9b61dbddcdc8fbc497c3 (patch) | |
| tree | dae05770ec9c7aab9529e57361cb7b87f956de0f /otk/button.cc | |
| parent | e53fbcf092c40b22ccc4c5f23795e12c9862c338 (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.cc | 8 |
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); } } |
