Fl_Printer is now enough to print this window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8ed31abe65
commit
e6a5d896e6
@ -159,11 +159,11 @@ void makeform(const char *name) {
|
||||
|
||||
// added to demo printing
|
||||
#include <FL/Fl_Sys_Menu_Bar.H>
|
||||
#include <FL/Fl_Gl_Printer.H>
|
||||
#include <FL/Fl_Printer.H>
|
||||
|
||||
void print_cb(Fl_Widget *w, void *data)
|
||||
{
|
||||
Fl_Gl_Printer printer;
|
||||
Fl_Printer printer;
|
||||
Fl_Window *win = Fl::first_window();
|
||||
if(!win) return;
|
||||
if( printer.start_job(1) ) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user