diff options
| -rw-r--r-- | FL/x11.H | 2 | ||||
| -rw-r--r-- | src/Fl_Screen_Driver.H | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -65,7 +65,7 @@ extern FL_EXPORT void *fl_xftfont; // With Xlib / X11 fonts, fl_xfont will return the current selected font. // With XFT / X11 fonts, fl_xfont will attempt to return the bitmap "core" font most // similar to (usually the same as) the current XFT font. -class Fl_XFont_On_Demand +class FL_EXPORT Fl_XFont_On_Demand { public: Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { } diff --git a/src/Fl_Screen_Driver.H b/src/Fl_Screen_Driver.H index e0395bd24..135a7bf5f 100644 --- a/src/Fl_Screen_Driver.H +++ b/src/Fl_Screen_Driver.H @@ -186,7 +186,8 @@ public: void rescale_all_windows_from_screen(int screen, float f); static void transient_scale_display(float f, int nscreen); - static int scale_handler(int event); + // need export to fltk_gl.so because used in glut_compatibility.cxx + static FL_EXPORT int scale_handler(int event); virtual void desktop_scale_factor() {} void use_startup_scale_factor(); enum APP_SCALING_CAPABILITY { |
