mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
Remove FL_EXPORT qualifier from platform-specific class declarations.
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ public:
|
|||||||
It is currently used to provide an automated printing
|
It is currently used to provide an automated printing
|
||||||
service and screen capture for OpenGL windows, if linked with fltk_gl.
|
service and screen capture for OpenGL windows, if linked with fltk_gl.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_Device_Plugin : public Fl_Plugin {
|
class Fl_Device_Plugin : public Fl_Plugin {
|
||||||
public:
|
public:
|
||||||
/** \brief The constructor */
|
/** \brief The constructor */
|
||||||
Fl_Device_Plugin(const char *pluginName)
|
Fl_Device_Plugin(const char *pluginName)
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ extern FL_EXPORT void *fl_xftfont;
|
|||||||
// With Xlib / X11 fonts, fl_xfont will return the current selected font.
|
// 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
|
// 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.
|
// similar to (usually the same as) the current XFT font.
|
||||||
class FL_EXPORT Fl_XFont_On_Demand
|
class Fl_XFont_On_Demand
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { }
|
Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { }
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ typedef void (*GClosureNotify)(gpointer data, GClosure *closure);
|
|||||||
/* --------------------- End of Type definitions from GLIB and GTK --------------------- */
|
/* --------------------- End of Type definitions from GLIB and GTK --------------------- */
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_GTK_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
|
class Fl_GTK_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
|
||||||
friend class Fl_Native_File_Chooser;
|
friend class Fl_Native_File_Chooser;
|
||||||
private:
|
private:
|
||||||
static int have_looked_for_GTK_libs;
|
static int have_looked_for_GTK_libs;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <FL/Fl_Native_File_Chooser.H>
|
#include <FL/Fl_Native_File_Chooser.H>
|
||||||
|
|
||||||
class FL_EXPORT Fl_Kdialog_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
|
class Fl_Kdialog_Native_File_Chooser_Driver : public Fl_Native_File_Chooser_FLTK_Driver {
|
||||||
friend class Fl_Native_File_Chooser;
|
friend class Fl_Native_File_Chooser;
|
||||||
struct fnfc_pipe_struct {
|
struct fnfc_pipe_struct {
|
||||||
char *all_files;
|
char *all_files;
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ class Fl_Input;
|
|||||||
|
|
||||||
Each supported platform implements several of the virtual methods of this class.
|
Each supported platform implements several of the virtual methods of this class.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_Screen_Driver {
|
class Fl_Screen_Driver {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Fl_Screen_Driver();
|
Fl_Screen_Driver();
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ class Fl_Sys_Menu_Bar_Driver;
|
|||||||
This class is only for internal use by the FLTK library.
|
This class is only for internal use by the FLTK library.
|
||||||
Each supported platform implements several of the virtual methods of this class.
|
Each supported platform implements several of the virtual methods of this class.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_System_Driver {
|
class Fl_System_Driver {
|
||||||
friend class Fl;
|
friend class Fl;
|
||||||
public:
|
public:
|
||||||
struct Keyname {
|
struct Keyname {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ class Fl_RGB_Image;
|
|||||||
sure that the Graphics Driver will draw into the bitmap associated with
|
sure that the Graphics Driver will draw into the bitmap associated with
|
||||||
this window.
|
this window.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_Window_Driver
|
class Fl_Window_Driver
|
||||||
{
|
{
|
||||||
friend class Fl_Window;
|
friend class Fl_Window;
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class Fl_RGB_Image;
|
|||||||
class NSImage;
|
class NSImage;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
class FL_EXPORT Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver
|
class Fl_Cocoa_Screen_Driver : public Fl_Screen_Driver
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
struct XRectangle {int x, y, width, height;};
|
struct XRectangle {int x, y, width, height;};
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class NSOpenGLPixelFormat;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_Cocoa_Window_Driver : public Fl_Window_Driver
|
class Fl_Cocoa_Window_Driver : public Fl_Window_Driver
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
struct shape_data_type {
|
struct shape_data_type {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
This class is implemented only on the Windows platform.
|
This class is implemented only on the Windows platform.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
|
class Fl_GDI_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
|
||||||
private:
|
private:
|
||||||
BOOL alpha_blend_(int x, int y, int w, int h, HDC src_gc, int srcx, int srcy, int srcw, int srch);
|
BOOL alpha_blend_(int x, int y, int w, int h, HDC src_gc, int srcx, int srcy, int srcw, int srch);
|
||||||
int depth; // to support translation
|
int depth; // to support translation
|
||||||
@@ -162,7 +162,7 @@ protected:
|
|||||||
This class is implemented only on the Windows platform.
|
This class is implemented only on the Windows platform.
|
||||||
It is extremely similar to Fl_GDI_Graphics_Driver.
|
It is extremely similar to Fl_GDI_Graphics_Driver.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_GDI_Printer_Graphics_Driver : public Fl_GDI_Graphics_Driver {
|
class Fl_GDI_Printer_Graphics_Driver : public Fl_GDI_Graphics_Driver {
|
||||||
private:
|
private:
|
||||||
typedef BOOL (WINAPI* transparent_f_type) (HDC,int,int,int,int,HDC,int,int,int,int,UINT);
|
typedef BOOL (WINAPI* transparent_f_type) (HDC,int,int,int,int,HDC,int,int,int,int,UINT);
|
||||||
transparent_f_type TransparentBlt();
|
transparent_f_type TransparentBlt();
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ class Fl_OpenGL_Graphics_Driver;
|
|||||||
OpenGL Surface.
|
OpenGL Surface.
|
||||||
This surface is needed as an interface between GL windows and the GL graphics driver.
|
This surface is needed as an interface between GL windows and the GL graphics driver.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_OpenGL_Display_Device : public Fl_Surface_Device {
|
class Fl_OpenGL_Display_Device : public Fl_Surface_Device {
|
||||||
Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver);
|
Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver);
|
||||||
public:
|
public:
|
||||||
static Fl_OpenGL_Display_Device *display_device();
|
static Fl_OpenGL_Display_Device *display_device();
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
/**
|
/**
|
||||||
\brief OpenGL specific graphics class.
|
\brief OpenGL specific graphics class.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_OpenGL_Graphics_Driver : public Fl_Graphics_Driver {
|
class Fl_OpenGL_Graphics_Driver : public Fl_Graphics_Driver {
|
||||||
public:
|
public:
|
||||||
float pixels_per_unit_;
|
float pixels_per_unit_;
|
||||||
float line_width_;
|
float line_width_;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
#include "../Cairo/Fl_Cairo_Graphics_Driver.H"
|
#include "../Cairo/Fl_Cairo_Graphics_Driver.H"
|
||||||
|
|
||||||
class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
|
class Fl_PostScript_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
|
||||||
public:
|
public:
|
||||||
FILE *output;
|
FILE *output;
|
||||||
Fl_PostScript_Close_Command close_cmd_;
|
Fl_PostScript_Close_Command close_cmd_;
|
||||||
@@ -89,7 +89,7 @@ public:
|
|||||||
|
|
||||||
#else // ! USE_PANGO
|
#else // ! USE_PANGO
|
||||||
|
|
||||||
class FL_EXPORT Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver {
|
class Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver {
|
||||||
private:
|
private:
|
||||||
void transformed_draw_extra(const char* str, int n, double x, double y, int w, bool rtl);
|
void transformed_draw_extra(const char* str, int n, double x, double y, int w, bool rtl);
|
||||||
void *prepare_rle85();
|
void *prepare_rle85();
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#include "../Posix/Fl_Posix_System_Driver.H"
|
#include "../Posix/Fl_Posix_System_Driver.H"
|
||||||
class Fl_RGB_Image;
|
class Fl_RGB_Image;
|
||||||
|
|
||||||
class FL_EXPORT Fl_Unix_System_Driver : public Fl_Posix_System_Driver {
|
class Fl_Unix_System_Driver : public Fl_Posix_System_Driver {
|
||||||
public:
|
public:
|
||||||
virtual int clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args);
|
virtual int clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args);
|
||||||
virtual int clocale_vsscanf(const char *input, const char *format, va_list args);
|
virtual int clocale_vsscanf(const char *input, const char *format, va_list args);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ struct fl_wld_buffer {
|
|||||||
struct wld_window;
|
struct wld_window;
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
|
class Fl_Wayland_Graphics_Driver : public Fl_Cairo_Graphics_Driver {
|
||||||
private:
|
private:
|
||||||
struct fl_wld_buffer *buffer_;
|
struct fl_wld_buffer *buffer_;
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ struct seat {
|
|||||||
struct zwp_text_input_v3 *text_input;
|
struct zwp_text_input_v3 *text_input;
|
||||||
};
|
};
|
||||||
|
|
||||||
class FL_EXPORT Fl_Wayland_Screen_Driver : public Fl_Screen_Driver
|
class Fl_Wayland_Screen_Driver : public Fl_Screen_Driver
|
||||||
{
|
{
|
||||||
friend class Fl_Screen_Driver;
|
friend class Fl_Screen_Driver;
|
||||||
friend class Fl_Wayland_Graphics_Driver;
|
friend class Fl_Wayland_Graphics_Driver;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "../Unix/Fl_Unix_System_Driver.H"
|
#include "../Unix/Fl_Unix_System_Driver.H"
|
||||||
|
|
||||||
class FL_EXPORT Fl_Wayland_System_Driver : public Fl_Unix_System_Driver {
|
class Fl_Wayland_System_Driver : public Fl_Unix_System_Driver {
|
||||||
public:
|
public:
|
||||||
virtual int need_menu_handle_part2() {return 0;}
|
virtual int need_menu_handle_part2() {return 0;}
|
||||||
int event_key(int k);
|
int event_key(int k);
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
typedef struct _cairo_pattern cairo_pattern_t;
|
typedef struct _cairo_pattern cairo_pattern_t;
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_Wayland_Window_Driver : public Fl_Window_Driver
|
class Fl_Wayland_Window_Driver : public Fl_Window_Driver
|
||||||
{
|
{
|
||||||
friend class Fl_X;
|
friend class Fl_X;
|
||||||
friend class Fl_Wayland_Gl_Window_Driver;
|
friend class Fl_Wayland_Gl_Window_Driver;
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
class Fl_Window;
|
class Fl_Window;
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver
|
class Fl_WinAPI_Screen_Driver : public Fl_Screen_Driver
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
RECT screens[MAX_SCREENS];
|
RECT screens[MAX_SCREENS];
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver
|
class Fl_WinAPI_Window_Driver : public Fl_Window_Driver
|
||||||
{
|
{
|
||||||
struct icon_data {
|
struct icon_data {
|
||||||
const void *legacy_icon;
|
const void *legacy_icon;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
class Fl_Window;
|
class Fl_Window;
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_X11_Screen_Driver : public Fl_Screen_Driver
|
class Fl_X11_Screen_Driver : public Fl_Screen_Driver
|
||||||
{
|
{
|
||||||
friend class Fl_Screen_Driver;
|
friend class Fl_Screen_Driver;
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ class Fl_Bitmap;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
class FL_EXPORT Fl_X11_Window_Driver : public Fl_Window_Driver
|
class Fl_X11_Window_Driver : public Fl_Window_Driver
|
||||||
{
|
{
|
||||||
friend class Fl_X;
|
friend class Fl_X;
|
||||||
friend int fl_handle(const XEvent&);
|
friend int fl_handle(const XEvent&);
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ struct _XRegion {
|
|||||||
|
|
||||||
This class is implemented only on the Xlib platform.
|
This class is implemented only on the Xlib platform.
|
||||||
*/
|
*/
|
||||||
class FL_EXPORT Fl_Xlib_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
|
class Fl_Xlib_Graphics_Driver : public Fl_Scalable_Graphics_Driver {
|
||||||
private:
|
private:
|
||||||
int offset_x_, offset_y_; // translation between user and graphical coordinates: graphical = user + offset
|
int offset_x_, offset_y_; // translation between user and graphical coordinates: graphical = user + offset
|
||||||
unsigned depth_; // depth of translation stack
|
unsigned depth_; // depth of translation stack
|
||||||
|
|||||||
Reference in New Issue
Block a user