Hi guys I am making a very simple graph widget. It has a window for a graph constructed by iterating through a vector of points and calling fl_line on two consecutive points.
Additionally I have a text that indicates the coordinate i am pointed at and a cross that comes from the sides of the window meeting at its center, your current mouse position (event_x(), event_y()) I call redraw every time I get the event FL_MOVE. My redraw draws the entire screen. My widget is very slow, and choppy. I tried calling redraw on a timer instead (60 milliseconds), but still I had noticeable chops. Can you give me any advice on how to do this properly? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

