summaryrefslogtreecommitdiff
path: root/FL/Fl_Image_Surface.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-08-09 14:11:42 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-08-09 14:11:42 +0000
commit78d853891c145776e19e412b4956fed87a33bf60 (patch)
tree208be0977778d912bb06d6ef99953bca49556989 /FL/Fl_Image_Surface.H
parente5e7fa9b1ee64a1f6d3688930ce162668093a3c1 (diff)
[CMake] Fix Windows dll build with Visual Studio generator.
Now you can set OPTION_BUILD_SHARED_LIBS:BOOL=ON to build FLTK dll's with Visual Studio. Tested and works (Visual Studio 2010 + 2015). Note: Linux fixes included, tested and works (Ubuntu). Todo: dll names and target directories may need some changes. We really need to get rid of that "_SHARED" suffix in .so names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Image_Surface.H')
-rw-r--r--FL/Fl_Image_Surface.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/FL/Fl_Image_Surface.H b/FL/Fl_Image_Surface.H
index 26da75643..887f86ac8 100644
--- a/FL/Fl_Image_Surface.H
+++ b/FL/Fl_Image_Surface.H
@@ -64,10 +64,10 @@
\endcode
*/
class FL_EXPORT Fl_Image_Surface : public Fl_Widget_Surface {
- friend Fl_Offscreen fl_create_offscreen(int w, int h);
- friend void fl_begin_offscreen(Fl_Offscreen ctx);
- friend void fl_end_offscreen(void);
- friend void fl_delete_offscreen(Fl_Offscreen ctx);
+ friend FL_EXPORT Fl_Offscreen fl_create_offscreen(int w, int h);
+ friend FL_EXPORT void fl_begin_offscreen(Fl_Offscreen ctx);
+ friend FL_EXPORT void fl_end_offscreen(void);
+ friend FL_EXPORT void fl_delete_offscreen(Fl_Offscreen ctx);
private:
class Fl_Image_Surface_Driver *platform_surface;
protected: