-
using fltk with gl animation windows
Hi
I have a fltk window with a interior window which subclasses the Fl_Gl_Window to allow me to show Gl stuff in the window. This is all fine except for the updating of the window. The contents are a simple simulation showing movement, however the refreshing of this screen only seems to occur with a window event, eg mouse movement, click etc
How can i set it up so it will automatically refresh, is there something similar to the glutIdleFunc callback? or anyother method of regularly updateing this window?
Cheers
NeilW
-
Junior Member
Regular Contributor
Re: using fltk with gl animation windows
Fl::add_idle(void (*cb)(void*), void* = 0);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules