summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H8
-rw-r--r--FL/Fl_PSfile_Device.H6
-rw-r--r--FL/fl_draw.H2
3 files changed, 8 insertions, 8 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 13b0dddb3..1fc5d0f56 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -45,7 +45,7 @@ class Fl_Pixmap;
class Fl_Bitmap;
class Fl_Display;
class Fl_Abstract_Printer;
-extern Fl_Display *fl_display_device;
+extern FL_EXPORT Fl_Display *fl_display_device;
typedef void (*Fl_Draw_Image_Cb)(void* ,int,int,int,uchar*);
/**
@@ -63,7 +63,7 @@ typedef void (*Fl_Draw_Image_Cb)(void* ,int,int,int,uchar*);
function of the \ref fl_drawings and \ref fl_attributes modules which bears the same name
augmented with the fl_ prefix.
*/
-class Fl_Device {
+class FL_EXPORT Fl_Device {
protected:
/** \brief The device type */
int type_;
@@ -116,7 +116,7 @@ protected:
friend void fl_draw_image(const uchar*, int,int,int,int, int delta, int ldelta);
friend void fl_draw_image_mono(const uchar*, int,int,int,int, int delta, int ld);
friend void fl_draw_image(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta);
- friend void fl_draw_image_mono(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta);
+ friend FL_EXPORT void fl_draw_image_mono(Fl_Draw_Image_Cb, void*, int,int,int,int, int delta);
/** \brief see fl_rect(int x, int y, int w, int h). */
virtual void rect(int x, int y, int w, int h);
@@ -271,7 +271,7 @@ public:
static Fl_Display *display_device() { return fl_display_device; };
};
-extern Fl_Device *fl_device;
+extern FL_EXPORT Fl_Device *fl_device;
/**
@brief A virtual class subclassed for OS-specific display graphics.
diff --git a/FL/Fl_PSfile_Device.H b/FL/Fl_PSfile_Device.H
index 38213e105..60e4f724a 100644
--- a/FL/Fl_PSfile_Device.H
+++ b/FL/Fl_PSfile_Device.H
@@ -29,8 +29,8 @@
#ifndef Fl_PSfile_Device_H
#define Fl_PSfile_Device_H
-
-#define NO_PAGE_FORMATS 30 /* MSVC6 compilation fix */
+
+#define NO_PAGE_FORMATS 30 /* MSVC6 compilation fix */
/**
\brief Sends all graphics to a local PostScript file; same API as Fl_Printer class.
@@ -38,7 +38,7 @@
This class has the same API as class Fl_Printer except for start_job() member function.
\see class Fl_Printer.
*/
-class Fl_PSfile_Device : public Fl_Abstract_Printer {
+class FL_EXPORT Fl_PSfile_Device : public Fl_Abstract_Printer {
public:
/**
@brief Possible page formats.
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index fc6b54136..b69062a78 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -139,7 +139,7 @@ extern void fl_restore_clip();
Fl_Region is an operating system specific type.
\param[in] r clipping region
*/
-extern void fl_clip_region(Fl_Region r);
+FL_EXPORT void fl_clip_region(Fl_Region r);
/**
returns the current clipping region.
*/