mirror of
https://github.com/fltk/fltk.git
synced 2026-02-06 00:01:57 +08:00
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:
@@ -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.
|
||||
*/
|
||||
class Fl_Device {
|
||||
class FL_EXPORT Fl_Device {
|
||||
protected:
|
||||
/** \brief The device 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
|
||||
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:
|
||||
/* ** \brief red color for background and/or mixing if device does not support masking or alpha *
|
||||
uchar bg_r_;
|
||||
@@ -296,7 +296,7 @@ public:
|
||||
*
|
||||
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:
|
||||
/** \brief The constructor. */
|
||||
Fl_Quartz_Graphics_Driver() { type_ = device_type; };
|
||||
@@ -312,7 +312,7 @@ public:
|
||||
*
|
||||
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:
|
||||
/** \brief The constructor. */
|
||||
Fl_GDI_Graphics_Driver() { type_ = device_type; };
|
||||
@@ -342,7 +342,7 @@ public:
|
||||
/**
|
||||
\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. */
|
||||
Fl_Graphics_Driver *_driver;
|
||||
protected:
|
||||
@@ -364,7 +364,7 @@ public:
|
||||
/**
|
||||
\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:
|
||||
static const char *device_type;
|
||||
/** \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
|
||||
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:
|
||||
/** \brief The constructor */
|
||||
Fl_Device_Plugin(const char *name)
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "Fl_Dial.H"
|
||||
|
||||
/** Draws a dial with a filled arc */
|
||||
class Fl_Fill_Dial : public Fl_Dial {
|
||||
class FL_EXPORT Fl_Fill_Dial : public Fl_Dial {
|
||||
public:
|
||||
/** 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)
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Slider.H"
|
||||
/** 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:
|
||||
/** 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)
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
that only allows the user to type floating point numbers (sign,
|
||||
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:
|
||||
/**
|
||||
Creates a new Fl_Float_Input widget using the given position,
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
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.
|
||||
*/
|
||||
class Fl_Hold_Browser : public Fl_Browser {
|
||||
class FL_EXPORT Fl_Hold_Browser : public Fl_Browser {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Hold_Browser widget using the given
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Slider.H"
|
||||
|
||||
class Fl_Hor_Fill_Slider : public Fl_Slider {
|
||||
class FL_EXPORT Fl_Hor_Fill_Slider : public Fl_Slider {
|
||||
public:
|
||||
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);}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Slider.H"
|
||||
|
||||
class Fl_Hor_Nice_Slider : public Fl_Slider {
|
||||
class FL_EXPORT Fl_Hor_Nice_Slider : public Fl_Slider {
|
||||
public:
|
||||
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);}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#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:
|
||||
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);}
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
widgets directly, using the menubutton()
|
||||
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
|
||||
class InputMenuButton : public Fl_Menu_Button {
|
||||
void draw() {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
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).
|
||||
*/
|
||||
class Fl_Int_Input : public Fl_Input {
|
||||
class FL_EXPORT Fl_Int_Input : public Fl_Input {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Int_Input widget using the given position,
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Dial.H"
|
||||
|
||||
class Fl_Line_Dial : public Fl_Dial {
|
||||
class FL_EXPORT Fl_Line_Dial : public Fl_Dial {
|
||||
public:
|
||||
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);}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
mouse, but you can change this with when().
|
||||
<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:
|
||||
/**
|
||||
Creates a new Fl_Multi_Browser widget using the given
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
or full color control of characters, you probably want Fl_Text_Editor
|
||||
instead.
|
||||
*/
|
||||
class Fl_Multiline_Input : public Fl_Input {
|
||||
class FL_EXPORT Fl_Multiline_Input : public Fl_Input {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Multiline_Input widget using the given
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
then use Fl_Text_Display. If you want to display HTML text,
|
||||
use Fl_Help_View.
|
||||
*/
|
||||
class Fl_Multiline_Output : public Fl_Output {
|
||||
class FL_EXPORT Fl_Multiline_Output : public Fl_Output {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Multiline_Output widget using the given
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
- Some operating systems support certain OS specific options; see
|
||||
Fl_Native_File_Chooser::options() for a list.
|
||||
*/
|
||||
class Fl_Native_File_Chooser {
|
||||
class FL_EXPORT Fl_Native_File_Chooser {
|
||||
public:
|
||||
enum Type {
|
||||
BROWSE_FILE = 0, ///< browse files (lets user choose one file)
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <FL/filename.H>
|
||||
#define MAXFILTERS 80
|
||||
|
||||
class Fl_Native_File_Chooser {
|
||||
class FL_EXPORT Fl_Native_File_Chooser {
|
||||
public:
|
||||
enum Type {
|
||||
BROWSE_FILE = 0,
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <commdlg.h> // OPENFILENAME, GetOpenFileName()
|
||||
#include <shlobj.h> // BROWSEINFO, SHBrowseForFolder()
|
||||
|
||||
class Fl_Native_File_Chooser {
|
||||
class FL_EXPORT Fl_Native_File_Chooser {
|
||||
public:
|
||||
enum Type {
|
||||
BROWSE_FILE = 0,
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Slider.H"
|
||||
|
||||
class Fl_Nice_Slider : public Fl_Slider {
|
||||
class FL_EXPORT Fl_Nice_Slider : public Fl_Slider {
|
||||
public:
|
||||
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);}
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
assumes the font can draw any characters in the ISO-Latin1 character
|
||||
set.
|
||||
*/
|
||||
class Fl_Output : public Fl_Input {
|
||||
class FL_EXPORT Fl_Output : public Fl_Input {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Output widget using the given position,
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "Fl_Button.H"
|
||||
|
||||
class Fl_Radio_Button : public Fl_Button {
|
||||
class FL_EXPORT Fl_Radio_Button : public Fl_Button {
|
||||
public:
|
||||
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);}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#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:
|
||||
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);}
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#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:
|
||||
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);}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "Fl_Clock.H"
|
||||
|
||||
/** 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:
|
||||
/** Creates the clock widget, setting his type and box. */
|
||||
Fl_Round_Clock(int x,int y,int w,int h, const char *l = 0)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
that displays its input as a string of asterisks. This subclass is
|
||||
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:
|
||||
/**
|
||||
Creates a new Fl_Secret_Input widget using the given
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
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.
|
||||
*/
|
||||
class Fl_Select_Browser : public Fl_Browser {
|
||||
class FL_EXPORT Fl_Select_Browser : public Fl_Browser {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Select_Browser widget using the given
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<P align=center>\image html counter.png</P>
|
||||
\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:
|
||||
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);}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
widget and repeat buttons. The user can either type into the
|
||||
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 minimum_; // Minimum value
|
||||
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
|
||||
*/
|
||||
class Fl_Table : public Fl_Group {
|
||||
class FL_EXPORT Fl_Table : public Fl_Group {
|
||||
public:
|
||||
/**
|
||||
The context bit flags for Fl_Table related callbacks (eg. draw_cell(), callback(), etc)
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
clicked by the user. You control when events are generated based on
|
||||
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:
|
||||
enum TableRowSelectMode {
|
||||
SELECT_NONE, // no selection allowed
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
control exactly when and how by changing the values for type()
|
||||
and when().
|
||||
*/
|
||||
class Fl_Toggle_Button : public Fl_Button {
|
||||
class FL_EXPORT Fl_Toggle_Button : public Fl_Button {
|
||||
public:
|
||||
/**
|
||||
Creates a new Fl_Toggle_Button widget using the given
|
||||
|
||||
Reference in New Issue
Block a user