Skip to content

Commit

Permalink
Minor documentation changes
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 21, 2010
1 parent c5d7f42 commit b087f8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 5 additions & 2 deletions FL/Fl_Device.H
Expand Up @@ -56,10 +56,13 @@ typedef void (*Fl_Draw_Image_Cb)(void* ,int,int,int,uchar*);
<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 */
Expand Down
2 changes: 1 addition & 1 deletion FL/Fl_Printer.H
Expand Up @@ -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 {
Expand Down
2 changes: 0 additions & 2 deletions src/Fl_Device.cxx
Expand Up @@ -173,8 +173,6 @@ void Fl_Abstract_Printer::end_job (void) {}
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;
Expand Down

0 comments on commit b087f8b

Please sign in to comment.