summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorFabien Costantini <fabien@onepost.net>2010-03-22 05:50:49 +0000
committerFabien Costantini <fabien@onepost.net>2010-03-22 05:50:49 +0000
commit4f7629a10918f1f04130db893bf122519064b4b4 (patch)
treed75b0880ffe29dc7046ff66f01f412270bc4c525 /FL
parentbf4635d00d414e0a0f1deda5b37943e6a175b9ec (diff)
Fixed broken vs2005 ide project files and created table, tree, blocks vcproj projects for vs2005 solution.
Fixed missing FL_EXPORT statements would break dll gen in all visual studio projects. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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.
*/