Yet another question:
-> fltk: 1.1.9 / Target-System: MPC5200 / Crosscompiler: ELDK
1. I included Fl_Timer.H
2. I defined: static Fl_Timer *timer = (Fl_Timer*)0;
3. Initialised:
timer = new Fl_Timer(FL_VALUE_TIMER, 60, 240, 100, 30, 0);
timer->callback((Fl_Callback*)callback_Timer);
The Timer-field is shown but it isn't counting nor is the
callback-function called. What am I doing wrong?
What I finally want, is a callback every 1/5 seconds. And I think this
could be done like this. In the end, the timer should be
FL_HIDDEN_TIMER, I just definded VALUE, because I wanted to see if it
counts...
Or ist this timer-function used another way? Or is there another
possibility?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk