summaryrefslogtreecommitdiff
path: root/otk/button.hh
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.hh
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.hh')
-rw-r--r--otk/button.hh11
1 files changed, 8 insertions, 3 deletions
diff --git a/otk/button.hh b/otk/button.hh
index f25f731d..e73b1f12 100644
--- a/otk/button.hh
+++ b/otk/button.hh
@@ -1,3 +1,6 @@
+#ifndef __button_hh
+#define __button_hh
+
#include "focuswidget.hh"
//#include "pixmap.hh"
@@ -33,9 +36,9 @@ public:
void press(void);
void release(void);
- virtual void update(void);
- virtual bool expose(const XExposeEvent &e);
- virtual bool configure(const XConfigureEvent &e);
+ void update(void);
+ int exposeHandler(const XExposeEvent &e);
+ int configureHandler(const XConfigureEvent &e);
private:
@@ -52,3 +55,5 @@ private:
};
}
+
+#endif