From a3d036f60ed2333622ee9b61dbddcdc8fbc497c3 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 16 Nov 2002 02:15:49 +0000 Subject: added otkapplication and event stuff, changed other files to accomodate for this, changed the test. no idea if anything runs yet. it compiles =) --- otk/button.hh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'otk/button.hh') 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 -- cgit v1.2.3