md houssy wrote:

> I am sorry but I couldn't manage that,

Why not? Brian's example looks sensible, and a callback driven by 
Fl::add_timeout() is surely the correct way to handle this.
What does not work for you?

> this is my class , where B is the box I would like to be changed any
> suggestions ?

The Fl_Box B appears to be a public member of your Info class, so can 
you not just set it's colour directly?

    my_info.B.color(new_color);


Or simply provide an access function that sets B.color()...

Either way should work.

What part of this is it that you are having difficulty with?


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

Reply via email to