Add FL_EXPORT directives erroneously removed at 7deff86.

This commit is contained in:
ManoloFLTK 2022-08-23 09:02:06 +02:00
parent a70bd69cfb
commit 1631e39187
2 changed files with 3 additions and 2 deletions

View File

@ -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) { }

View File

@ -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 {