summaryrefslogtreecommitdiff
path: root/FL/Fl_Button.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 22:00:04 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-16 22:00:04 +0000
commitca41e69c27af0dee60b8186d06f5be0713d1a051 (patch)
tree85fd248b68d4d00414fef6488016da975f739bd2 /FL/Fl_Button.H
parent18312d3c1fb325c0d9ac92e98137cebbcadb563c (diff)
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
Diffstat (limited to 'FL/Fl_Button.H')
-rw-r--r--FL/Fl_Button.H16
1 files changed, 8 insertions, 8 deletions
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 $".
//