FLTK logo

Re: [fltk.coredev] RFC: using Fl_Printer in longer operations

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: RFC: using Fl_Printer in longer operations Manolo Jun 13, 2022  
 
If they are created, the new suspend() and resume() methods would go to class Fl_Paged_Device, not class Fl_Printer.

I agree the name Fl_Paged_Device::suspend() suggests to return to the device context at work before Fl_Paged_Device::begin_page(), so should correspond to pop.

But the need for new methods seems totally moot for me since existing one-line calls are enough:
Fl_Surface_Device::push_current(Fl_Display_Device::display_device());
…… refresh the GUI or other display-using tasks ……
Fl_Surface_Device::pop_current();

--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/9bc7a3e9-1698-430d-baf8-f3ab68aee668n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.