FLTK 1.3.x

Fl_Device Class Reference

All graphical output devices and all graphics systems. More...

#include <Fl_Device.H>

Inheritance diagram for Fl_Device:
Fl_Graphics_Driver Fl_Surface_Device Fl_GDI_Graphics_Driver Fl_PostScript_Graphics_Driver Fl_Quartz_Graphics_Driver Fl_Xlib_Graphics_Driver Fl_Display_Device Fl_Paged_Device Fl_PostScript_File_Device Fl_Printer Fl_System_Printer Fl_PostScript_Printer

List of all members.

Public Member Functions

const char * class_name ()
 Returns the name of the class of this object.

Protected Member Functions

void class_name (const char *name)
 Sets the class name.

Static Protected Attributes

static const char * class_id = "Fl_Device"
 A string that identifies each subclass of Fl_Device.

Detailed Description

All graphical output devices and all graphics systems.


Member Function Documentation

const char* Fl_Device::class_name ( ) [inline]

Returns the name of the class of this object.

The class of an instance of an Fl_Device subclass can be checked with code such as:

   if ( instance->class_name() == Fl_Printer::class_id ) { ... }

Member Data Documentation

const char * Fl_Device::class_id = "Fl_Device" [static, protected]

The documentation for this class was generated from the following files: