|
|
commit 1631e391879c85de3ee97406c19d6a8057294042
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Aug 23 09:02:06 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Aug 23 09:02:06 2022 +0200
Add FL_EXPORT directives erroneously removed at 7deff86.
FL/x11.H | 2 +-
src/Fl_Screen_Driver.H | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git FL/x11.H FL/x11.H
index a9421b5..1168701 100644
--- FL/x11.H
+++ FL/x11.H
@@ -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 src/Fl_Screen_Driver.H src/Fl_Screen_Driver.H
index e0395bd..135a7bf 100644
--- src/Fl_Screen_Driver.H
+++ 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 {
[ Direct Link to Message ] | |
|
| |