mirror of
https://github.com/fltk/fltk.git
synced 2026-05-31 13:55:38 +08:00
Fix copyright and remove obsolete comment.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
//
|
//
|
||||||
// GLUT emulation header file for the Fast Light Tool Kit (FLTK).
|
// GLUT emulation header file for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
// Copyright 1998-2011 by Bill Spitzak and others.
|
// Copyright 1998-2015 by Bill Spitzak and others.
|
||||||
//
|
//
|
||||||
// This library is free software. Distribution and use rights are outlined in
|
// This library is free software. Distribution and use rights are outlined in
|
||||||
// the file "COPYING" which should have been included with this file. If this
|
// the file "COPYING" which should have been included with this file. If this
|
||||||
@@ -231,7 +231,6 @@ enum {GLUT_NOT_VISIBLE, GLUT_VISIBLE};
|
|||||||
|
|
||||||
FL_EXPORT void glutIdleFunc(void (*f)());
|
FL_EXPORT void glutIdleFunc(void (*f)());
|
||||||
|
|
||||||
// Warning: this cast may not work on all machines:
|
|
||||||
inline void glutTimerFunc(unsigned int msec, void (*f)(int), int value) {
|
inline void glutTimerFunc(unsigned int msec, void (*f)(int), int value) {
|
||||||
Fl::add_timeout(msec*.001, (void (*)(void *))f, (void *)(fl_intptr_t)value);
|
Fl::add_timeout(msec*.001, (void (*)(void *))f, (void *)(fl_intptr_t)value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user