Firstly thank you Albrecht Schlosser for your examples about the callbacks it 
finally helped me get my window working right the problem had been puzzling me 
for almost 2 days.

My custom dialog is put on the screen by cliking on the edit menu then the 
submenu. That works well.

The custom dialog paints itself on top of the main app window which has a plot 
of a function on it drawn on an Fltk_Gl_Window.

See the snapshots here;
http://www.hyperscope.net/fltk.html

But when it first pops up it's blank for about 2 seconds and then the controls 
get drawn (the input line and the two buttons).

I don't understand why the pop up window is so slow to paint itself, seems it 
should just be immediate.

I originally had tried this program just using Xlib (it got to be way too much 
work trying to program a text input dialog with just Xlib and I couldn't get it 
to work right anyway that's why I switched to FLTK).

When I used just Xlib it also paints the custom dialog on top of an OpenGL 
window with the plot on it, but it appears painted immediately.

Like I said I don't undestand why that window draws slow, all I can think is 
that when the window appears it triggers a redraw of the window in the back and 
since it has to re-draw the plot it slows it down, but I don't know.

Is there anything I can do about it?  Any hints. Thank you.
Regards.





_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to