Re: [fltk.general] fl_read_image from offscreen?

2012-05-03 Thread Edzard Egberts
MacArthur, Ian (SELEX GALILEO, UK) schrieb: > >> Is there a special way to connect fl_read_image() to offscreen >> buffer? Maybe the real problem comes from this function? Do I need >> some make_current()? But I'm using the offscreen inside of draw(), >> so drawing should work. > > You need to "beg

[fltk.general] 1.3.0 very slow on X11 with Unicode locale

2012-05-03 Thread Michael Baeuerle
FLTK runs an order of magnitude slower if I change my locale from ISO8859-1 to UTF-8. This is most annoying in the Fl_Menu_Bar widget. Here is a description of the problem: Test program: #include #include #include

Re: [fltk.general] 1.3.0 very slow on X11 with Unicode locale

2012-05-03 Thread MacArthur, Ian (SELEX GALILEO, UK)
> FLTK runs an order of magnitude slower if I change my locale from > ISO8859-1 to UTF-8. This is most annoying in the Fl_Menu_Bar widget. Hmm, that's odd - I haven't noticed that myself. If I get a chance, I'll try and take a look (though don't hold your breath waiting...) What WM are you run

[fltk.general] delete all subwindows

2012-05-03 Thread dirac
Hi guys, let's say I have a window with a button in it. The button, if clicked, creates a sub window: --- void button_callback(...) { new Fl_Window(...); } --- When I close the 'master' window (the one which contains the button) I would like to delete all the other subwindows. Is there a way

Re: [fltk.general] delete all subwindows

2012-05-03 Thread Ian MacArthur
On 3 May 2012, at 20:40, dirac wrote: > Hi guys, > let's say I have a window with a button in it. The button, if clicked, > creates a sub window: > > --- > void button_callback(...) { > new Fl_Window(...); > } > --- > > When I close the 'master' window (the one which contains the button) I wo

Re: [fltk.general] delete all subwindows

2012-05-03 Thread Greg Ercolano
On 05/03/12 12:40, dirac wrote: > Hi guys, > let's say I have a window with a button in it. The button, if clicked, > creates a sub window: > > --- > void button_callback(...) { > new Fl_Window(...); > } > --- > > When I close the 'master' window (the one which contains the button) I would >