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_System_Printer Fl_PostScript_Printer Fl_Printer Fl_Printer

List of all members.

Public Member Functions

const char * type ()
 An RTTI emulation of device classes.

Protected Attributes

const char * type_
 The device type.

Static Protected Attributes

static const char * device_type = "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::type (  )  [inline]

An RTTI emulation of device classes.

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

   if ( instance->type() == Fl_Printer::device_type ) { ... }


Member Data Documentation

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


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

FLTK © 1998-2010 by Bill Spitzak and others.    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.