Thank all who answered my question. I finally got it to work.
Again thanks a lot.

Giau


> Giau P schrieb:
> > it does not clear the existing ticks and labels
> > for the new ticks and labels corresponding to the new data set.
>
> > class X_Axis: public Axis { protected: void draw()
> >{   ... draw x
>
> at this place I would expect some code to erase the background, e.g.
> Fl_Box::draw() with a boxtye choosen.
>
> > axis with ticks and label ... }; }
>
> But it also should be possible to erase background by parent-object
> (e.g. when it is a window):
> > void start_cb( Fl_Widget* o, void*)
>
> { graph->Calculate();
> > graph->x_axis->Minimum(graph->GetMin());
> > graph->x_axis->Maximum(graph->GetMax());
>
> parent()->redraw(); }
>
>

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

Reply via email to