Hello, I am pretty new to fltk. I have been asked to modify unworkable code written in fltk. The code calls make_window() from main. make_window() has three groups. Group #3 has three canvas - bode and hankel, to draw different graphs. Group #2 has a button with callback function calc_cb() which displays the graphs in canvases in group #3. calc_cb() perfoms some calculations then call hankel->current() block to display the hankel graph, then call bode->current() block to dipsplay the bode graph.
The problem I have is the hankel graph is displayed in bode canvas, provided that the bode graph is not implemented yet. This tells me that the graph is alwasys displayed in the last canvas. Without the bode canvas declared in make_window(), the hankel graph is displayed correctly in the hankel canvas. I think this only needs a small change, but I cannot figure out what or where to change it. Any help would be greatly appreciated. Thanks in advance. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

