Added missing 'FL_EXPORT' to lots of classes.

This may not be complete yet...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2010-12-12 23:21:03 +00:00
parent 726feebff6
commit 0c21b331b0
30 changed files with 36 additions and 36 deletions
+7 -7
View File
@@ -69,7 +69,7 @@ typedef void (*Fl_Draw_Image_Cb)(void* data,int x,int y,int w,uchar* buf);
/** /**
\brief All graphical output devices and all graphics systems. \brief All graphical output devices and all graphics systems.
*/ */
class Fl_Device { class FL_EXPORT Fl_Device {
protected: protected:
/** \brief The device type */ /** \brief The device type */
const char *type_; const char *type_;
@@ -98,7 +98,7 @@ public:
<br> The public API for drawing operations is functionally presented in \ref drawing and as function lists <br> The public API for drawing operations is functionally presented in \ref drawing and as function lists
in the \ref fl_drawings and \ref fl_attributes modules. in the \ref fl_drawings and \ref fl_attributes modules.
*/ */
class Fl_Graphics_Driver : public Fl_Device { class FL_EXPORT Fl_Graphics_Driver : public Fl_Device {
protected: protected:
/* ** \brief red color for background and/or mixing if device does not support masking or alpha * /* ** \brief red color for background and/or mixing if device does not support masking or alpha *
uchar bg_r_; uchar bg_r_;
@@ -296,7 +296,7 @@ public:
* *
This class is implemented only on the Mac OS X platform. This class is implemented only on the Mac OS X platform.
*/ */
class Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver { class FL_EXPORT Fl_Quartz_Graphics_Driver : public Fl_Graphics_Driver {
public: public:
/** \brief The constructor. */ /** \brief The constructor. */
Fl_Quartz_Graphics_Driver() { type_ = device_type; }; Fl_Quartz_Graphics_Driver() { type_ = device_type; };
@@ -312,7 +312,7 @@ public:
* *
This class is implemented only on the MSWindows platform. This class is implemented only on the MSWindows platform.
*/ */
class Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver { class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
public: public:
/** \brief The constructor. */ /** \brief The constructor. */
Fl_GDI_Graphics_Driver() { type_ = device_type; }; Fl_GDI_Graphics_Driver() { type_ = device_type; };
@@ -342,7 +342,7 @@ public:
/** /**
\brief A surface that's susceptible to receive graphical output. \brief A surface that's susceptible to receive graphical output.
*/ */
class Fl_Surface_Device : public Fl_Device { class FL_EXPORT Fl_Surface_Device : public Fl_Device {
/** \brief The graphics driver in use by this surface. */ /** \brief The graphics driver in use by this surface. */
Fl_Graphics_Driver *_driver; Fl_Graphics_Driver *_driver;
protected: protected:
@@ -364,7 +364,7 @@ public:
/** /**
\brief A display to which the computer can draw. \brief A display to which the computer can draw.
*/ */
class Fl_Display_Device : public Fl_Surface_Device { class FL_EXPORT Fl_Display_Device : public Fl_Surface_Device {
public: public:
static const char *device_type; static const char *device_type;
/** \brief A constructor that sets the graphics driver used by the display */ /** \brief A constructor that sets the graphics driver used by the display */
@@ -380,7 +380,7 @@ public:
window or screen types. It is currently used to provide an automated printing window or screen types. It is currently used to provide an automated printing
service for OpenGL windows, if linked with fltk_gl. service for OpenGL windows, if linked with fltk_gl.
*/ */
class Fl_Device_Plugin : public Fl_Plugin { class FL_EXPORT Fl_Device_Plugin : public Fl_Plugin {
public: public:
/** \brief The constructor */ /** \brief The constructor */
Fl_Device_Plugin(const char *name) Fl_Device_Plugin(const char *name)
+1 -1
View File
@@ -34,7 +34,7 @@
#include "Fl_Dial.H" #include "Fl_Dial.H"
/** Draws a dial with a filled arc */ /** Draws a dial with a filled arc */
class Fl_Fill_Dial : public Fl_Dial { class FL_EXPORT Fl_Fill_Dial : public Fl_Dial {
public: public:
/** Creates a filled dial, also setting its type to FL_FILL_DIAL. */ /** Creates a filled dial, also setting its type to FL_FILL_DIAL. */
Fl_Fill_Dial(int x,int y,int w,int h, const char *l = 0) Fl_Fill_Dial(int x,int y,int w,int h, const char *l = 0)
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Slider.H" #include "Fl_Slider.H"
/** Widget that draws a filled horizontal slider, useful as a progress or value meter*/ /** Widget that draws a filled horizontal slider, useful as a progress or value meter*/
class Fl_Fill_Slider : public Fl_Slider { class FL_EXPORT Fl_Fill_Slider : public Fl_Slider {
public: public:
/** Creates the slider from its position,size and optional title. */ /** Creates the slider from its position,size and optional title. */
Fl_Fill_Slider(int x,int y,int w,int h,const char *l=0) Fl_Fill_Slider(int x,int y,int w,int h,const char *l=0)
+1 -1
View File
@@ -39,7 +39,7 @@
that only allows the user to type floating point numbers (sign, that only allows the user to type floating point numbers (sign,
digits, decimal point, more digits, 'E' or 'e', sign, digits). digits, decimal point, more digits, 'E' or 'e', sign, digits).
*/ */
class Fl_Float_Input : public Fl_Input { class FL_EXPORT Fl_Float_Input : public Fl_Input {
public: public:
/** /**
Creates a new Fl_Float_Input widget using the given position, Creates a new Fl_Float_Input widget using the given position,
+1 -1
View File
@@ -42,7 +42,7 @@
user releases the mouse, but you can change this with when(). user releases the mouse, but you can change this with when().
<P>See Fl_Browser for methods to add and remove lines from the browser. <P>See Fl_Browser for methods to add and remove lines from the browser.
*/ */
class Fl_Hold_Browser : public Fl_Browser { class FL_EXPORT Fl_Hold_Browser : public Fl_Browser {
public: public:
/** /**
Creates a new Fl_Hold_Browser widget using the given Creates a new Fl_Hold_Browser widget using the given
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Slider.H" #include "Fl_Slider.H"
class Fl_Hor_Fill_Slider : public Fl_Slider { class FL_EXPORT Fl_Hor_Fill_Slider : public Fl_Slider {
public: public:
Fl_Hor_Fill_Slider(int x,int y,int w,int h,const char *l=0) Fl_Hor_Fill_Slider(int x,int y,int w,int h,const char *l=0)
: Fl_Slider(x,y,w,h,l) {type(FL_HOR_FILL_SLIDER);} : Fl_Slider(x,y,w,h,l) {type(FL_HOR_FILL_SLIDER);}
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Slider.H" #include "Fl_Slider.H"
class Fl_Hor_Nice_Slider : public Fl_Slider { class FL_EXPORT Fl_Hor_Nice_Slider : public Fl_Slider {
public: public:
Fl_Hor_Nice_Slider(int x,int y,int w,int h,const char *l=0) Fl_Hor_Nice_Slider(int x,int y,int w,int h,const char *l=0)
: Fl_Slider(x,y,w,h,l) {type(FL_HOR_NICE_SLIDER); box(FL_FLAT_BOX);} : Fl_Slider(x,y,w,h,l) {type(FL_HOR_NICE_SLIDER); box(FL_FLAT_BOX);}
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Value_Slider.H" #include "Fl_Value_Slider.H"
class Fl_Hor_Value_Slider : public Fl_Value_Slider { class FL_EXPORT Fl_Hor_Value_Slider : public Fl_Value_Slider {
public: public:
Fl_Hor_Value_Slider(int X,int Y,int W,int H,const char *l=0) Fl_Hor_Value_Slider(int X,int Y,int W,int H,const char *l=0)
: Fl_Value_Slider(X,Y,W,H,l) {type(FL_HOR_SLIDER);} : Fl_Value_Slider(X,Y,W,H,l) {type(FL_HOR_SLIDER);}
+1 -1
View File
@@ -56,7 +56,7 @@
widgets directly, using the menubutton() widgets directly, using the menubutton()
and input() accessor methods. and input() accessor methods.
*/ */
class Fl_Input_Choice : public Fl_Group { class FL_EXPORT Fl_Input_Choice : public Fl_Group {
// Private class to handle slightly 'special' behavior of menu button // Private class to handle slightly 'special' behavior of menu button
class InputMenuButton : public Fl_Menu_Button { class InputMenuButton : public Fl_Menu_Button {
void draw() { void draw() {
+1 -1
View File
@@ -37,7 +37,7 @@
The Fl_Int_Input class is a subclass of Fl_Input The Fl_Int_Input class is a subclass of Fl_Input
that only allows the user to type decimal digits (or hex numbers of the form 0xaef). that only allows the user to type decimal digits (or hex numbers of the form 0xaef).
*/ */
class Fl_Int_Input : public Fl_Input { class FL_EXPORT Fl_Int_Input : public Fl_Input {
public: public:
/** /**
Creates a new Fl_Int_Input widget using the given position, Creates a new Fl_Int_Input widget using the given position,
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Dial.H" #include "Fl_Dial.H"
class Fl_Line_Dial : public Fl_Dial { class FL_EXPORT Fl_Line_Dial : public Fl_Dial {
public: public:
Fl_Line_Dial(int x,int y,int w,int h, const char *l = 0) Fl_Line_Dial(int x,int y,int w,int h, const char *l = 0)
: Fl_Dial(x,y,w,h,l) {type(FL_LINE_DIAL);} : Fl_Dial(x,y,w,h,l) {type(FL_LINE_DIAL);}
+1 -1
View File
@@ -43,7 +43,7 @@
mouse, but you can change this with when(). mouse, but you can change this with when().
<P>See Fl_Browser for methods to add and remove lines from the browser. <P>See Fl_Browser for methods to add and remove lines from the browser.
*/ */
class Fl_Multi_Browser : public Fl_Browser { class FL_EXPORT Fl_Multi_Browser : public Fl_Browser {
public: public:
/** /**
Creates a new Fl_Multi_Browser widget using the given Creates a new Fl_Multi_Browser widget using the given
+1 -1
View File
@@ -47,7 +47,7 @@
or full color control of characters, you probably want Fl_Text_Editor or full color control of characters, you probably want Fl_Text_Editor
instead. instead.
*/ */
class Fl_Multiline_Input : public Fl_Input { class FL_EXPORT Fl_Multiline_Input : public Fl_Input {
public: public:
/** /**
Creates a new Fl_Multiline_Input widget using the given Creates a new Fl_Multiline_Input widget using the given
+1 -1
View File
@@ -46,7 +46,7 @@
then use Fl_Text_Display. If you want to display HTML text, then use Fl_Text_Display. If you want to display HTML text,
use Fl_Help_View. use Fl_Help_View.
*/ */
class Fl_Multiline_Output : public Fl_Output { class FL_EXPORT Fl_Multiline_Output : public Fl_Output {
public: public:
/** /**
Creates a new Fl_Multiline_Output widget using the given Creates a new Fl_Multiline_Output widget using the given
+1 -1
View File
@@ -66,7 +66,7 @@
- Some operating systems support certain OS specific options; see - Some operating systems support certain OS specific options; see
Fl_Native_File_Chooser::options() for a list. Fl_Native_File_Chooser::options() for a list.
*/ */
class Fl_Native_File_Chooser { class FL_EXPORT Fl_Native_File_Chooser {
public: public:
enum Type { enum Type {
BROWSE_FILE = 0, ///< browse files (lets user choose one file) BROWSE_FILE = 0, ///< browse files (lets user choose one file)
+1 -1
View File
@@ -36,7 +36,7 @@
#include <FL/filename.H> #include <FL/filename.H>
#define MAXFILTERS 80 #define MAXFILTERS 80
class Fl_Native_File_Chooser { class FL_EXPORT Fl_Native_File_Chooser {
public: public:
enum Type { enum Type {
BROWSE_FILE = 0, BROWSE_FILE = 0,
+1 -1
View File
@@ -36,7 +36,7 @@
#include <commdlg.h> // OPENFILENAME, GetOpenFileName() #include <commdlg.h> // OPENFILENAME, GetOpenFileName()
#include <shlobj.h> // BROWSEINFO, SHBrowseForFolder() #include <shlobj.h> // BROWSEINFO, SHBrowseForFolder()
class Fl_Native_File_Chooser { class FL_EXPORT Fl_Native_File_Chooser {
public: public:
enum Type { enum Type {
BROWSE_FILE = 0, BROWSE_FILE = 0,
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Slider.H" #include "Fl_Slider.H"
class Fl_Nice_Slider : public Fl_Slider { class FL_EXPORT Fl_Nice_Slider : public Fl_Slider {
public: public:
Fl_Nice_Slider(int x,int y,int w,int h,const char *l=0) Fl_Nice_Slider(int x,int y,int w,int h,const char *l=0)
: Fl_Slider(x,y,w,h,l) {type(FL_VERT_NICE_SLIDER); box(FL_FLAT_BOX);} : Fl_Slider(x,y,w,h,l) {type(FL_VERT_NICE_SLIDER); box(FL_FLAT_BOX);}
+1 -1
View File
@@ -50,7 +50,7 @@
assumes the font can draw any characters in the ISO-Latin1 character assumes the font can draw any characters in the ISO-Latin1 character
set. set.
*/ */
class Fl_Output : public Fl_Input { class FL_EXPORT Fl_Output : public Fl_Input {
public: public:
/** /**
Creates a new Fl_Output widget using the given position, Creates a new Fl_Output widget using the given position,
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Button.H" #include "Fl_Button.H"
class Fl_Radio_Button : public Fl_Button { class FL_EXPORT Fl_Radio_Button : public Fl_Button {
public: public:
Fl_Radio_Button(int x,int y,int w,int h,const char *l=0) Fl_Radio_Button(int x,int y,int w,int h,const char *l=0)
: Fl_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);} : Fl_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);}
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Light_Button.H" #include "Fl_Light_Button.H"
class Fl_Radio_Light_Button : public Fl_Light_Button { class FL_EXPORT Fl_Radio_Light_Button : public Fl_Light_Button {
public: public:
Fl_Radio_Light_Button(int X,int Y,int W,int H,const char *l=0) Fl_Radio_Light_Button(int X,int Y,int W,int H,const char *l=0)
: Fl_Light_Button(X,Y,W,H,l) {type(FL_RADIO_BUTTON);} : Fl_Light_Button(X,Y,W,H,l) {type(FL_RADIO_BUTTON);}
+1 -1
View File
@@ -33,7 +33,7 @@
#include "Fl_Round_Button.H" #include "Fl_Round_Button.H"
class Fl_Radio_Round_Button : public Fl_Round_Button { class FL_EXPORT Fl_Radio_Round_Button : public Fl_Round_Button {
public: public:
Fl_Radio_Round_Button(int x,int y,int w,int h,const char *l=0) Fl_Radio_Round_Button(int x,int y,int w,int h,const char *l=0)
: Fl_Round_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);} : Fl_Round_Button(x,y,w,h,l) {type(FL_RADIO_BUTTON);}
+1 -1
View File
@@ -34,7 +34,7 @@
#include "Fl_Clock.H" #include "Fl_Clock.H"
/** A clock widget of type FL_ROUND_CLOCK. Has no box. */ /** A clock widget of type FL_ROUND_CLOCK. Has no box. */
class Fl_Round_Clock : public Fl_Clock { class FL_EXPORT Fl_Round_Clock : public Fl_Clock {
public: public:
/** Creates the clock widget, setting his type and box. */ /** Creates the clock widget, setting his type and box. */
Fl_Round_Clock(int x,int y,int w,int h, const char *l = 0) Fl_Round_Clock(int x,int y,int w,int h, const char *l = 0)
+1 -1
View File
@@ -38,7 +38,7 @@
that displays its input as a string of asterisks. This subclass is that displays its input as a string of asterisks. This subclass is
usually used to receive passwords and other "secret" information. usually used to receive passwords and other "secret" information.
*/ */
class Fl_Secret_Input : public Fl_Input { class FL_EXPORT Fl_Secret_Input : public Fl_Input {
public: public:
/** /**
Creates a new Fl_Secret_Input widget using the given Creates a new Fl_Secret_Input widget using the given
+1 -1
View File
@@ -41,7 +41,7 @@
user presses the mouse, but you can change this with when(). user presses the mouse, but you can change this with when().
<P>See Fl_Browser for methods to add and remove lines from the browser. <P>See Fl_Browser for methods to add and remove lines from the browser.
*/ */
class Fl_Select_Browser : public Fl_Browser { class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
public: public:
/** /**
Creates a new Fl_Select_Browser widget using the given Creates a new Fl_Select_Browser widget using the given
+1 -1
View File
@@ -37,7 +37,7 @@
<P align=center>\image html counter.png</P> <P align=center>\image html counter.png</P>
\image latex counter.png "Fl_Simple_Counter" width=4cm \image latex counter.png "Fl_Simple_Counter" width=4cm
*/ */
class Fl_Simple_Counter : public Fl_Counter { class FL_EXPORT Fl_Simple_Counter : public Fl_Counter {
public: public:
Fl_Simple_Counter(int x,int y,int w,int h, const char *l = 0) Fl_Simple_Counter(int x,int y,int w,int h, const char *l = 0)
: Fl_Counter(x,y,w,h,l) {type(FL_SIMPLE_COUNTER);} : Fl_Counter(x,y,w,h,l) {type(FL_SIMPLE_COUNTER);}
+1 -1
View File
@@ -48,7 +48,7 @@
widget and repeat buttons. The user can either type into the widget and repeat buttons. The user can either type into the
input area or use the buttons to change the value. input area or use the buttons to change the value.
*/ */
class Fl_Spinner : public Fl_Group class FL_EXPORT Fl_Spinner : public Fl_Group
{ {
double value_; // Current value double value_; // Current value
double minimum_; // Minimum value double minimum_; // Minimum value
+1 -1
View File
@@ -178,7 +178,7 @@
*/ */
class Fl_Table : public Fl_Group { class FL_EXPORT Fl_Table : public Fl_Group {
public: public:
/** /**
The context bit flags for Fl_Table related callbacks (eg. draw_cell(), callback(), etc) The context bit flags for Fl_Table related callbacks (eg. draw_cell(), callback(), etc)
+1 -1
View File
@@ -51,7 +51,7 @@
clicked by the user. You control when events are generated based on clicked by the user. You control when events are generated based on
the values you supply for Fl_Table::when(). the values you supply for Fl_Table::when().
*/ */
class Fl_Table_Row : public Fl_Table { class FL_EXPORT Fl_Table_Row : public Fl_Table {
public: public:
enum TableRowSelectMode { enum TableRowSelectMode {
SELECT_NONE, // no selection allowed SELECT_NONE, // no selection allowed
+1 -1
View File
@@ -42,7 +42,7 @@
control exactly when and how by changing the values for type() control exactly when and how by changing the values for type()
and when(). and when().
*/ */
class Fl_Toggle_Button : public Fl_Button { class FL_EXPORT Fl_Toggle_Button : public Fl_Button {
public: public:
/** /**
Creates a new Fl_Toggle_Button widget using the given Creates a new Fl_Toggle_Button widget using the given