fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Device.H File Reference

declaration of classes Fl_Device, Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device, Fl_Device_Plugin. More...

#include <FL/Fl_Plugin.H>
#include <FL/Fl_Image.H>
#include <FL/Fl_Bitmap.H>
#include <FL/Fl_Pixmap.H>
#include <FL/Fl_RGB_Image.H>
Include dependency graph for Fl_Device.H:

Go to the source code of this file.

Classes

class  Fl_Device
 All graphical output devices and all graphics systems. More...
class  Fl_Graphics_Driver
 A virtual class subclassed for each graphics driver FLTK uses. More...
class  Fl_Xlib_Graphics_Driver
 The Xlib-specific graphics class. More...
class  Fl_Surface_Device
 A surface that's susceptible to receive graphical output. More...
class  Fl_Display_Device
 A display to which the computer can draw. More...
class  Fl_Device_Plugin

Typedefs

typedef void(* Fl_Draw_Image_Cb )(void *data, int x, int y, int w, uchar *buf)

Variables

FL_EXPORT Fl_Graphics_Driverfl_graphics_driver
 Points to the driver that currently receives all graphics requests.
FL_EXPORT Fl_Surface_Devicefl_surface
 Points to the surface that currently receives all graphics requests.
FL_EXPORT Fl_Display_Devicefl_display_device
 Points to the platform's display.

Detailed Description


Typedef Documentation

typedef void(* Fl_Draw_Image_Cb)(void *data, int x, int y, int w, uchar *buf)

signature of image generation callback function.

Parameters:
[in]datauser data passed to function
[in]x,y,wposition and width of scan line in image
[out]bufbuffer for generated image data. You must copy w pixels from scanline y, starting at pixel x to this buffer.

Definition at line 60 of file Fl_Device.H.


Variable Documentation

Points to the platform's display.

Definition at line 89 of file Fl_win32.cxx.

Referenced by Fl_Display_Device::display_device(), and fl_copy_offscreen().

Points to the surface that currently receives all graphics requests.

Definition at line 91 of file Fl_win32.cxx.

Referenced by Fl_Surface_Device::set_current(), and Fl_Surface_Device::surface().