diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-07-12 21:51:42 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-07-12 21:51:42 +0000 |
| commit | c92fee897b6d4992f46a0295221728d0c15f2708 (patch) | |
| tree | fdbad339beae94b8ec57b334885af4e068e9e860 /FL/Fl_Graphics_Driver.H | |
| parent | b7851fac8e2450f72a24b52b87dab89727778606 (diff) | |
Fix Visual Studio shared library build (STR #3389).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 9572d1275..9ded335d8 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -86,10 +86,10 @@ class FL_EXPORT Fl_Graphics_Driver { friend void fl_draw_image_mono(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D); friend void fl_draw_image(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D); friend void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); - friend int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg); - friend void gl_start(); - friend Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *array); - friend void fl_delete_bitmask(Fl_Bitmask); + friend FL_EXPORT int fl_draw_pixmap(const char*const* cdata, int x, int y, Fl_Color bg); + friend FL_EXPORT void gl_start(); + friend FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *array); + friend FL_EXPORT void fl_delete_bitmask(Fl_Bitmask); public: // The following functions create the various graphics drivers that are required // for core operations. They must be implemented as members of Fl_Graphics_Driver, @@ -404,7 +404,7 @@ public: This class is presently used on the X11 platform to support HiDPI displays. In the future, it may also be used on the WIN32 platform. */ -class Fl_Scalable_Graphics_Driver : public Fl_Graphics_Driver { +class FL_EXPORT Fl_Scalable_Graphics_Driver : public Fl_Graphics_Driver { public: Fl_Scalable_Graphics_Driver(); float scale() { return scale_; } |
