Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: using fltk with gl animation windows

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2002
    Posts
    14

    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

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    247

    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
  •