diff --git a/FL/Fl_Copy_Surface.H b/FL/Fl_Copy_Surface.H index 9fb5021c7..593d13a69 100644 --- a/FL/Fl_Copy_Surface.H +++ b/FL/Fl_Copy_Surface.H @@ -27,7 +27,7 @@ will be recorded in the clipboard. It's possible to draw widgets (using Fl_Copy_Surface::draw() ) or to use any of the \ref fl_drawings or the \ref fl_attributes. Finally, delete the Fl_Copy_Surface object to load the clipboard with the graphical data. -
Fl_GL_Window 's can be copied to the clipboard as well. +
Fl_Gl_Window 's can be copied to the clipboard as well.
Usage example: \code Fl_Widget *g = ...; // a widget you want to copy to the clipboard diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index daf0ec63d..033aa7523 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -45,7 +45,8 @@ class Fl_Widget; current drawing surface (not necessary with class Fl_Printer because it is done by Fl_Printer::begin_job()).
  • At this point all of the \ref fl_drawings (e.g., fl_rect()) or the \ref fl_attributes or \ref drawing_images functions (e.g., fl_draw_image(), Fl_Image::draw()) operate on the new current drawing surface. - Certain drawing surfaces allow additional ways to draw to them (e.g., Fl_Printer::print_widget(), Fl_Image_Surface::draw()). + Drawing surfaces from Fl_Widget_Surface derived classes allow additional ways + to draw to them (e.g., Fl_Printer::print_widget(), Fl_Image_Surface::draw()).
  • After all drawing requests have been performed, redirect graphics requests back to their previous destination with \c Fl_Surface_Device::pop_current();.
  • Delete \c surface.