🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

glut special callback

Started by
0 comments, last by taby 16 years, 2 months ago
How can I make a custom callback in glut? For example, if I want to watch a log file and update the screen whenever it changes. The only callbacks for input I see are things for processing keyboard, mouse, and other events (ie glutKeyboardFunc, etc). Thanks!
Advertisement
You will have to do that yourself in the idle function. Rather than checking every time though, you might want to do it every say, 5 seconds or whatnot. GLUT is meant to be a graphics-only system, and as such, has no concept of a filesystem, etc.

This topic is closed to new replies.

Advertisement