PDA

View Full Version : FLTK guru needed



01-02-2003, 01:46 AM
i want to use fltk for my c++/opengl application....i am totally new to fltk and i want someone to guide me..
thanks

Stack Overflow
01-02-2003, 07:43 AM
Here is a FLTK Tutorial:
http://www.eecs.tulane.edu/www/Terry/OpenGL/Animation.html

The Tutorial Code is at the Bottom of the page which says Swing.c Source Code (http://www.eecs.tulane.edu/www/Terry/OpenGL/Examples/Swing.c)

- VC6-OGL

[This message has been edited by VC6-OGL (edited 01-02-2003).]

Stack Overflow
01-03-2003, 08:02 AM
I have not learned FLTK, but I found a website with a Animated Swing. I sat down for 10 minutes and revised it using GLUT, so I am not a FLTK guru, I'm just someone trying to help.

- VC6-OGL

*Aaron*
01-03-2003, 11:12 AM
I'm not sure if I'm a guru, but I have gotten GL to work with FLTK. Look at the CubeView demo source. Also, read the documentation about using GL with FLTK. The usual procedure is to define a subclass of Fl_Gl_Window, and implement a draw() method. There is also some documentation about using GLUT with FLTK, but I have not used this myself.

NOTE: you may have to modify config.h so that HAVE_GL is defined as 1 before compiling FLTK.