Author: manolo
Date: 2010-03-21 15:15:04 -0700 (Sun, 21 Mar 2010)
New Revision: 7311
Log:
Minor documentation changes
Modified:
branches/branch-1.3/FL/Fl_Device.H
branches/branch-1.3/FL/Fl_Printer.H
branches/branch-1.3/src/Fl_Device.cxx
Modified: branches/branch-1.3/FL/Fl_Device.H
===================================================================
--- branches/branch-1.3/FL/Fl_Device.H 2010-03-21 08:26:40 UTC (rev 7310)
+++ branches/branch-1.3/FL/Fl_Device.H 2010-03-21 22:15:04 UTC (rev 7311)
@@ -56,10 +56,13 @@
<br> The preferred FLTK API for drawing operations is the function collection
of the
\ref fl_drawings and \ref fl_attributes modules.
<br> Alternatively, member functions of the Fl_Device class can be called
- using global variable Fl_Device *fl_device that points at all time to the
single device
+ using the global variable Fl_Device *fl_device that points at all time to the
single device
(an instance of an Fl_Device subclass) that's currently receiving drawing
requests:<br>
<tt>fl_device->rect(x, y, w, h);</tt>
- */
+ <br>Each member function of the Fl_Device class has the same effect and
parameter list as the
+ function of the \ref fl_drawings and \ref fl_attributes modules which bears
the same name
+ augmented with the fl_ prefix.
+ */
class Fl_Device {
protected:
/** \brief The device type */
Modified: branches/branch-1.3/FL/Fl_Printer.H
===================================================================
--- branches/branch-1.3/FL/Fl_Printer.H 2010-03-21 08:26:40 UTC (rev 7310)
+++ branches/branch-1.3/FL/Fl_Printer.H 2010-03-21 22:15:04 UTC (rev 7311)
@@ -38,7 +38,7 @@
/**
\brief A virtual class for print support with several platform-specific
implementations.
*
- This class has no public constructor: don't instantiate it; use Fl_Printer
instead.
+ This class has no public constructor: don't instantiate it; use Fl_Printer or
Fl_PSfile_Device instead.
\see class Fl_Printer for full documentation of member functions.
*/
class Fl_Abstract_Printer : public Fl_Device {
Modified: branches/branch-1.3/src/Fl_Device.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Device.cxx 2010-03-21 08:26:40 UTC (rev
7310)
+++ branches/branch-1.3/src/Fl_Device.cxx 2010-03-21 22:15:04 UTC (rev
7311)
@@ -173,8 +173,6 @@
void Fl_Abstract_Printer::translate(int x, int y) {}
void Fl_Abstract_Printer::untranslate(void) {}
-extern Fl_Device *fl_device;
-
Fl_Device *Fl_Device::set_current(void)
{
Fl_Device *current = fl_device;
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit