diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 975c99aa2..38a7f9500 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -69,7 +69,7 @@ typedef void (*Fl_Draw_Image_Cb)(void* data,int x,int y,int w,uchar* buf);
/**
\brief All graphical output devices and all graphics systems.
*/
-class Fl_Device {
+class FL_EXPORT Fl_Device {
protected:
/** \brief The device type */
const char *type_;
@@ -98,7 +98,7 @@ public:
The public API for drawing operations is functionally presented in \ref drawing and as function lists
in the \ref fl_drawings and \ref fl_attributes modules.
*/
-class Fl_Graphics_Driver : public Fl_Device {
+class FL_EXPORT Fl_Graphics_Driver : public Fl_Device {
protected:
/* ** \brief red color for background and/or mixing if device does not support masking or alpha *
uchar bg_r_;
@@ -296,7 +296,7 @@ public:
*
This class is implemented only on the Mac OS X platform.
*/
-class Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver {
+class FL_EXPORT Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver {
public:
/** \brief The constructor. */
Fl_Quartz_Graphics_Driver() { type_ = device_type; };
@@ -312,7 +312,7 @@ public:
*
This class is implemented only on the MSWindows platform.
*/
-class Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
+class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
public:
/** \brief The constructor. */
Fl_GDI_Graphics_Driver() { type_ = device_type; };
@@ -342,7 +342,7 @@ public:
/**
\brief A surface that's susceptible to receive graphical output.
*/
-class Fl_Surface_Device : public Fl_Device {
+class FL_EXPORT Fl_Surface_Device : public Fl_Device {
/** \brief The graphics driver in use by this surface. */
Fl_Graphics_Driver *_driver;
protected:
@@ -364,7 +364,7 @@ public:
/**
\brief A display to which the computer can draw.
*/
-class Fl_Display_Device : public Fl_Surface_Device {
+class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device {
public:
static const char *device_type;
/** \brief A constructor that sets the graphics driver used by the display */
@@ -380,7 +380,7 @@ public:
window or screen types. It is currently used to provide an automated printing
service for OpenGL windows, if linked with fltk_gl.
*/
-class Fl_Device_Plugin : public Fl_Plugin {
+class FL_EXPORT Fl_Device_Plugin : public Fl_Plugin {
public:
/** \brief The constructor */
Fl_Device_Plugin(const char *name)
diff --git a/FL/Fl_Fill_Dial.H b/FL/Fl_Fill_Dial.H
index 529f857dd..4f1d485bc 100644
--- a/FL/Fl_Fill_Dial.H
+++ b/FL/Fl_Fill_Dial.H
@@ -34,7 +34,7 @@
#include "Fl_Dial.H"
/** Draws a dial with a filled arc */
-class Fl_Fill_Dial : public Fl_Dial {
+class FL_EXPORT Fl_Fill_Dial : public Fl_Dial {
public:
/** Creates a filled dial, also setting its type to FL_FILL_DIAL. */
Fl_Fill_Dial(int x,int y,int w,int h, const char *l = 0)
diff --git a/FL/Fl_Fill_Slider.H b/FL/Fl_Fill_Slider.H
index 590779e84..f58634f1e 100644
--- a/FL/Fl_Fill_Slider.H
+++ b/FL/Fl_Fill_Slider.H
@@ -33,7 +33,7 @@
#include "Fl_Slider.H"
/** Widget that draws a filled horizontal slider, useful as a progress or value meter*/
-class Fl_Fill_Slider : public Fl_Slider {
+class FL_EXPORT Fl_Fill_Slider : public Fl_Slider {
public:
/** Creates the slider from its position,size and optional title. */
Fl_Fill_Slider(int x,int y,int w,int h,const char *l=0)
diff --git a/FL/Fl_Float_Input.H b/FL/Fl_Float_Input.H
index be98b8a16..09267f99d 100644
--- a/FL/Fl_Float_Input.H
+++ b/FL/Fl_Float_Input.H
@@ -39,7 +39,7 @@
that only allows the user to type floating point numbers (sign,
digits, decimal point, more digits, 'E' or 'e', sign, digits).
*/
-class Fl_Float_Input : public Fl_Input {
+class FL_EXPORT Fl_Float_Input : public Fl_Input {
public:
/**
Creates a new Fl_Float_Input widget using the given position,
diff --git a/FL/Fl_Hold_Browser.H b/FL/Fl_Hold_Browser.H
index 486fe8bd3..3b69c3b56 100644
--- a/FL/Fl_Hold_Browser.H
+++ b/FL/Fl_Hold_Browser.H
@@ -42,7 +42,7 @@
user releases the mouse, but you can change this with when().
See Fl_Browser for methods to add and remove lines from the browser. */ -class Fl_Hold_Browser : public Fl_Browser { +class FL_EXPORT Fl_Hold_Browser : public Fl_Browser { public: /** Creates a new Fl_Hold_Browser widget using the given diff --git a/FL/Fl_Hor_Fill_Slider.H b/FL/Fl_Hor_Fill_Slider.H index 5b7e68b5b..5c16ce679 100644 --- a/FL/Fl_Hor_Fill_Slider.H +++ b/FL/Fl_Hor_Fill_Slider.H @@ -33,7 +33,7 @@ #include "Fl_Slider.H" -class Fl_Hor_Fill_Slider : public Fl_Slider { +class FL_EXPORT Fl_Hor_Fill_Slider : public Fl_Slider { public: Fl_Hor_Fill_Slider(int x,int y,int w,int h,const char *l=0) : Fl_Slider(x,y,w,h,l) {type(FL_HOR_FILL_SLIDER);} diff --git a/FL/Fl_Hor_Nice_Slider.H b/FL/Fl_Hor_Nice_Slider.H index 5bea39ff0..a80b40467 100644 --- a/FL/Fl_Hor_Nice_Slider.H +++ b/FL/Fl_Hor_Nice_Slider.H @@ -33,7 +33,7 @@ #include "Fl_Slider.H" -class Fl_Hor_Nice_Slider : public Fl_Slider { +class FL_EXPORT Fl_Hor_Nice_Slider : public Fl_Slider { public: Fl_Hor_Nice_Slider(int x,int y,int w,int h,const char *l=0) : Fl_Slider(x,y,w,h,l) {type(FL_HOR_NICE_SLIDER); box(FL_FLAT_BOX);} diff --git a/FL/Fl_Hor_Value_Slider.H b/FL/Fl_Hor_Value_Slider.H index 9f3d1bae6..feb794426 100644 --- a/FL/Fl_Hor_Value_Slider.H +++ b/FL/Fl_Hor_Value_Slider.H @@ -33,7 +33,7 @@ #include "Fl_Value_Slider.H" -class Fl_Hor_Value_Slider : public Fl_Value_Slider { +class FL_EXPORT Fl_Hor_Value_Slider : public Fl_Value_Slider { public: Fl_Hor_Value_Slider(int X,int Y,int W,int H,const char *l=0) : Fl_Value_Slider(X,Y,W,H,l) {type(FL_HOR_SLIDER);} diff --git a/FL/Fl_Input_Choice.H b/FL/Fl_Input_Choice.H index 5c5ff23d0..24c3f45eb 100644 --- a/FL/Fl_Input_Choice.H +++ b/FL/Fl_Input_Choice.H @@ -56,7 +56,7 @@ widgets directly, using the menubutton() and input() accessor methods. */ -class Fl_Input_Choice : public Fl_Group { +class FL_EXPORT Fl_Input_Choice : public Fl_Group { // Private class to handle slightly 'special' behavior of menu button class InputMenuButton : public Fl_Menu_Button { void draw() { diff --git a/FL/Fl_Int_Input.H b/FL/Fl_Int_Input.H index a99ebe3ed..37dc24222 100644 --- a/FL/Fl_Int_Input.H +++ b/FL/Fl_Int_Input.H @@ -37,7 +37,7 @@ The Fl_Int_Input class is a subclass of Fl_Input that only allows the user to type decimal digits (or hex numbers of the form 0xaef). */ -class Fl_Int_Input : public Fl_Input { +class FL_EXPORT Fl_Int_Input : public Fl_Input { public: /** Creates a new Fl_Int_Input widget using the given position, diff --git a/FL/Fl_Line_Dial.H b/FL/Fl_Line_Dial.H index 46d66faea..3198d11f5 100644 --- a/FL/Fl_Line_Dial.H +++ b/FL/Fl_Line_Dial.H @@ -33,7 +33,7 @@ #include "Fl_Dial.H" -class Fl_Line_Dial : public Fl_Dial { +class FL_EXPORT Fl_Line_Dial : public Fl_Dial { public: Fl_Line_Dial(int x,int y,int w,int h, const char *l = 0) : Fl_Dial(x,y,w,h,l) {type(FL_LINE_DIAL);} diff --git a/FL/Fl_Multi_Browser.H b/FL/Fl_Multi_Browser.H index 24b48fe34..3502c4e63 100644 --- a/FL/Fl_Multi_Browser.H +++ b/FL/Fl_Multi_Browser.H @@ -43,7 +43,7 @@ mouse, but you can change this with when().
See Fl_Browser for methods to add and remove lines from the browser.
*/
-class Fl_Multi_Browser : public Fl_Browser {
+class FL_EXPORT Fl_Multi_Browser : public Fl_Browser {
public:
/**
Creates a new Fl_Multi_Browser widget using the given
diff --git a/FL/Fl_Multiline_Input.H b/FL/Fl_Multiline_Input.H
index c08dd1a3f..8566063df 100644
--- a/FL/Fl_Multiline_Input.H
+++ b/FL/Fl_Multiline_Input.H
@@ -47,7 +47,7 @@
or full color control of characters, you probably want Fl_Text_Editor
instead.
*/
-class Fl_Multiline_Input : public Fl_Input {
+class FL_EXPORT Fl_Multiline_Input : public Fl_Input {
public:
/**
Creates a new Fl_Multiline_Input widget using the given
diff --git a/FL/Fl_Multiline_Output.H b/FL/Fl_Multiline_Output.H
index 3f02f087c..a8de41614 100644
--- a/FL/Fl_Multiline_Output.H
+++ b/FL/Fl_Multiline_Output.H
@@ -46,7 +46,7 @@
then use Fl_Text_Display. If you want to display HTML text,
use Fl_Help_View.
*/
-class Fl_Multiline_Output : public Fl_Output {
+class FL_EXPORT Fl_Multiline_Output : public Fl_Output {
public:
/**
Creates a new Fl_Multiline_Output widget using the given
diff --git a/FL/Fl_Native_File_Chooser_FLTK.H b/FL/Fl_Native_File_Chooser_FLTK.H
index bd0337466..db40523f6 100644
--- a/FL/Fl_Native_File_Chooser_FLTK.H
+++ b/FL/Fl_Native_File_Chooser_FLTK.H
@@ -66,7 +66,7 @@
- Some operating systems support certain OS specific options; see
Fl_Native_File_Chooser::options() for a list.
*/
-class Fl_Native_File_Chooser {
+class FL_EXPORT Fl_Native_File_Chooser {
public:
enum Type {
BROWSE_FILE = 0, ///< browse files (lets user choose one file)
diff --git a/FL/Fl_Native_File_Chooser_MAC.H b/FL/Fl_Native_File_Chooser_MAC.H
index 4cbd58396..31fc2a426 100644
--- a/FL/Fl_Native_File_Chooser_MAC.H
+++ b/FL/Fl_Native_File_Chooser_MAC.H
@@ -36,7 +36,7 @@
#include See Fl_Browser for methods to add and remove lines from the browser.
*/
-class Fl_Select_Browser : public Fl_Browser {
+class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
public:
/**
Creates a new Fl_Select_Browser widget using the given
diff --git a/FL/Fl_Simple_Counter.H b/FL/Fl_Simple_Counter.H
index c870ec869..db5d68ffc 100644
--- a/FL/Fl_Simple_Counter.H
+++ b/FL/Fl_Simple_Counter.H
@@ -37,7 +37,7 @@
\image html counter.png