A display to which the computer can draw. More...
#include <Fl_Device.H>
Public Member Functions | |
const char * | class_name () |
Returns the name of the class of this object. | |
Fl_Display_Device (Fl_Graphics_Driver *graphics_driver) | |
A constructor that sets the graphics driver used by the display. | |
Static Public Member Functions | |
static Fl_Display_Device * | display_device () |
Returns the platform display device. | |
Static Public Attributes | |
static const char * | class_id = "Fl_Display_Device" |
A string that identifies each subclass of Fl_Device. |
A display to which the computer can draw.
When the program begins running, an Fl_Display_Device instance has been created and made the current drawing surface. There is no need to create any other object of this class.
const char* Fl_Display_Device::class_name | ( | ) | [inline, virtual] |
Returns the name of the class of this object.
Use of the class_name() function is discouraged because it will be removed from future FLTK versions.
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 ) { ... }
Reimplemented from Fl_Surface_Device.
Fl_Display_Device * Fl_Display_Device::display_device | ( | ) | [static] |
Returns the platform display device.
const char * Fl_Display_Device::class_id = "Fl_Display_Device" [static] |
A string that identifies each subclass of Fl_Device.
Function class_name() applied to a device of this class returns this string.
Reimplemented from Fl_Surface_Device.