Fix shared library build.
Missing FL_EXPORT statements (attributes) affected only the configure/make build because some compiler and linker options (visibility etc) are not yet implemented in the CMake build. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
e8fcc915e0
commit
44ce401d45
2
FL/x.H
2
FL/x.H
@ -85,7 +85,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) { }
|
||||
|
||||
@ -21,10 +21,12 @@
|
||||
\brief Line style drawing utility hiding different platforms.
|
||||
*/
|
||||
|
||||
#include <FL/Fl_Export.H>
|
||||
|
||||
// We save the current line width (absolute value) here.
|
||||
// This is currently used only for X11 clipping, see src/fl_rect.cxx.
|
||||
// FIXME: this would probably better be in class Fl::
|
||||
int fl_line_width_ = 0;
|
||||
FL_EXPORT int fl_line_width_ = 0;
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user