diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-23 09:02:06 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-23 09:02:06 +0200 |
| commit | 1631e391879c85de3ee97406c19d6a8057294042 (patch) | |
| tree | 055908c0e741d86f8c48e5be9f1c1462e1fab0c5 | |
| parent | a70bd69cfb8a9721de5ef059e3dab4ac0e99157e (diff) | |
Add FL_EXPORT directives erroneously removed at 7deff86.
| -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 { |
