FLTK 1.3.0
|
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. | |
![]() | |
void | driver (Fl_Graphics_Driver *graphics_driver) |
Sets the graphics driver of this drawing surface. | |
Fl_Graphics_Driver * | driver () |
Returns the graphics driver of this drawing surface. | |
virtual void | set_current (void) |
Use this drawing surface for future graphics requests. | |
virtual | ~Fl_Surface_Device () |
The destructor. | |
![]() | |
virtual | ~Fl_Device () |
Virtual destructor. |
Static Public Member Functions | |
static Fl_Display_Device * | display_device () |
Returns the platform display device. | |
![]() | |
static Fl_Surface_Device * | surface () |
the surface that currently receives graphics output |
Static Public Attributes | |
static const char * | class_id = "Fl_Display_Device" |
A string that identifies each subclass of Fl_Device. | |
![]() | |
![]() |
Additional Inherited Members | |
![]() | |
Fl_Surface_Device (Fl_Graphics_Driver *graphics_driver) | |
Constructor that sets the graphics driver to use for the created surface. |
A display to which the computer can draw.
|
inlinevirtual |
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:
Reimplemented from Fl_Surface_Device.
|
inlinestatic |
Returns the platform 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.