From ca41e69c27af0dee60b8186d06f5be0713d1a051 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 16 Feb 1999 22:00:04 +0000 Subject: Updated headers to support WIN32 and OS/2 DLLs. Updated VC++ project files. Removed dummymain.c (no longer needed). git-svn-id: file:///fltk/svn/fltk/trunk@278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Button.H | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'FL/Fl_Button.H') diff --git a/FL/Fl_Button.H b/FL/Fl_Button.H index 2e032cded..3f7ce6bfe 100644 --- a/FL/Fl_Button.H +++ b/FL/Fl_Button.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Button.H,v 1.4 1999/01/07 19:16:51 mike Exp $" +// "$Id: Fl_Button.H,v 1.5 1999/02/16 21:59:35 mike Exp $" // // Button header file for the Fast Light Tool Kit (FLTK). // @@ -35,7 +35,7 @@ #define FL_RADIO_BUTTON (FL_RESERVED_TYPE+2) #define FL_HIDDEN_BUTTON 3 // for Forms compatability -extern int fl_old_shortcut(const char*); +extern FL_EXPORT int fl_old_shortcut(const char*); class Fl_Button : public Fl_Widget { @@ -46,17 +46,17 @@ class Fl_Button : public Fl_Widget { protected: - virtual void draw(); + virtual FL_EXPORT void draw(); public: - virtual int handle(int); - Fl_Button(int,int,int,int,const char * = 0); - int value(int); + virtual FL_EXPORT int handle(int); + FL_EXPORT Fl_Button(int,int,int,int,const char * = 0); + FL_EXPORT int value(int); char value() const {return value_;} int set() {return value(1);} int clear() {return value(0);} - void setonly(); // this should only be called on FL_RADIO_BUTTONs + FL_EXPORT void setonly(); // this should only be called on FL_RADIO_BUTTONs int shortcut() const {return shortcut_;} void shortcut(int s) {shortcut_ = s;} Fl_Boxtype down_box() const {return (Fl_Boxtype)down_box_;} @@ -71,5 +71,5 @@ public: #endif // -// End of "$Id: Fl_Button.H,v 1.4 1999/01/07 19:16:51 mike Exp $". +// End of "$Id: Fl_Button.H,v 1.5 1999/02/16 21:59:35 mike Exp $". // -- cgit v1.2.3