summaryrefslogtreecommitdiff
path: root/FL/Fl_Device.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-03-20 08:31:19 +0000
committerManolo Gouy <Manolo>2010-03-20 08:31:19 +0000
commite107a3682c3a074d6fe92360a6950e1c6b7d6430 (patch)
treec97ebe7b663dd87964710a585c8f34c9607bc946 /FL/Fl_Device.H
parentaca570e1ce3f106f86e983fac92f425724b9fa2c (diff)
Created FL/Fl_PSfile_Device.H to reduce size of FL/Fl_Printer.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Device.H')
-rw-r--r--FL/Fl_Device.H17
1 files changed, 12 insertions, 5 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index 33fc33ed3..237d6b5b9 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -161,16 +161,23 @@ protected:
virtual void draw(Fl_Bitmap * bmp,int XP, int YP, int WP, int HP, int cx, int cy);
public:
+ /**
+ @brief All implemented graphics output devices.
+ */
enum device_types {
- xlib_display = 0, quartz_display, gdi_display,
- gdi_printer = 256, quartz_printer, postscript_device
+ xlib_display = 0, /**< The X11 display. */
+ quartz_display, /**< The Mac OS X display. */
+ gdi_display, /**< The MSWindows display. */
+ gdi_printer = 256, /**< The MSWindows printer. */
+ quartz_printer, /**< The Mac OS X printer. */
+ postscript_device /**< The PostScript device. */
};
/**
- @brief An RTTI emulation of device classes. It returns values < 256 if it is a screen device
+ @brief An RTTI emulation of device classes. It returns values < 256 if it is a display device
*/
int type() {return type_;};
/**
- @brief Sets this device (display, local file, printer) as the target of future graphics calls.
+ @brief Sets this device (display, printer, local file) as the target of future graphics calls.
*
@return The current target device of graphics calls.
*/
@@ -195,7 +202,7 @@ extern Fl_Device *fl_device;
@brief A virtual class subclassed for OS-specific display graphics.
*/
class Fl_Display : public Fl_Device {
- friend class Fl_PSfile_Device; //RK: temporary hack for font sizes
+ friend class Fl_PSfile_Device;
};
#if defined(__APPLE__) || defined(FL_DOXYGEN)