Added function Fl_Printer::set_current() that may be useful.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2011-04-06 12:11:26 +00:00
parent b149f786d7
commit 265f213d23
2 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,7 @@ public:
void end_job (void);
void print_widget(Fl_Widget* widget, int delta_x=0, int delta_y=0);
void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x=0, int delta_y=0);
void set_current(void);
/** \brief The destructor */
~Fl_Printer(void);

View File

@ -180,6 +180,11 @@ void Fl_Printer::print_window_part(Fl_Window *win, int x, int y, int w, int h, i
printer->print_window_part(win, x, y, w, h, delta_x, delta_y);
}
void Fl_Printer::set_current(void)
{
printer->set_current();
}
Fl_Printer::~Fl_Printer(void)
{
delete printer;