Re: [fltk.general] R: Bargraph object with Fl_Group

2013-03-17 Thread Albrecht Schlosser
On 16.03.2013 09:24, Ian MacArthur wrote: On 16 Mar 2013, at 06:28, memoryl...@tin.it wrote: Now a plant is smaller and has only two stations: the remote machine will put some visible booleans to zero... and the graphics app will show only the installed stations. So one can think: I

[fltk.general] R: Bargraph object with Fl_Group

2013-03-16 Thread memoryl...@tin.it
So good speaking with you, boys. Greg wrote: If the image is assigned to the bargraph's group, then just telling the bargraph widget to redraw() will do it. But if the image is assigned to the parent window, then you'll have to tell the parent window to redraw. Be sure to use an

Re: [fltk.general] R: Bargraph object with Fl_Group

2013-03-16 Thread Ian MacArthur
On 16 Mar 2013, at 06:28, memoryl...@tin.it wrote: Now a plant is smaller and has only two stations: the remote machine will put some visible booleans to zero... and the graphics app will show only the installed stations. So one can think: I create a group with image, bargraph, boxes and

[fltk.general] R: Bargraph object with Fl_Group

2013-03-15 Thread memoryl...@tin.it
Ok, ok, it's Friday, need more sleep. Simply forced redraw() of the parent solved the problem. It's a bit inefficient, because if the parent is a big window with many objects I have to redraw everything. Masked by redrawing only when the bargraph value changes, for now. Any way to invalidate to

Re: [fltk.general] R: Bargraph object with Fl_Group

2013-03-15 Thread MacArthur, Ian (Selex ES, UK)
Simply forced redraw() of the parent solved the problem. It's a bit inefficient, because if the parent is a big window with many objects I have to redraw everything. Masked by redrawing only when the bargraph value changes, for now. Any way to invalidate to the parent only the bargraph

Re: [fltk.general] R: Bargraph object with Fl_Group

2013-03-15 Thread MacArthur, Ian (Selex ES, UK)
thanks for your answer. I am writing to you directly, Best not - I very seldom reply to off-list posts... will post solutions on list ; for now maybe there is a bit of misunderstanding, I try to explain better. The object is a bargraph, let's assume the classic vertical one ; a green