summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/Fl_Graphics_Driver.H10
-rw-r--r--FL/Fl_Spinner.H2
2 files changed, 6 insertions, 6 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_; }
diff --git a/FL/Fl_Spinner.H b/FL/Fl_Spinner.H
index d5d530743..054059536 100644
--- a/FL/Fl_Spinner.H
+++ b/FL/Fl_Spinner.H
@@ -56,7 +56,7 @@ protected:
// presses so they are handled by its parent, the Fl_Spinner widget.
// See STR #2989.
- class Fl_Spinner_Input : public Fl_Input {
+ class FL_EXPORT Fl_Spinner_Input : public Fl_Input {
public:
Fl_Spinner_Input(int X, int Y, int W, int H)
: Fl_Input(X, Y, W, H) {}