Fl_Device_Plugin Class Reference

This plugin socket allows the integration of new device drivers for special window or screen types. More...

#include <Fl_Device.H>

Inheritance diagram for Fl_Device_Plugin:

Fl_Plugin

List of all members.

Public Member Functions

 Fl_Device_Plugin (const char *name)
 The constructor.
virtual const char * klass ()
 Returns the class name.
virtual const char * name ()=0
 Returns the plugin name.
virtual int print (Fl_Widget *w, int x, int y, int height)
 Prints a widget.


Detailed Description

This plugin socket allows the integration of new device drivers for special window or screen types.

It is currently used to provide an automated printing service for OpenGL windows, if linked with fltk_gl.


Member Function Documentation

virtual int Fl_Device_Plugin::print ( Fl_Widget w,
int  x,
int  y,
int  height 
) [inline, virtual]

Prints a widget.

Parameters:
w the widget
x,y offsets where to print relatively to coordinates origin
height height of the current drawing area


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

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.