Skip to content

Commit

Permalink
Non-changing changes... Attempting to keep the porting branch somehwa…
Browse files Browse the repository at this point in the history
…t in-sync with doc changes in main 1.3.x

None of these changes alter the actual code.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11076 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
imaclmaca committed Jan 28, 2016
1 parent ed9ac2a commit 5aefd05
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 281 deletions.
22 changes: 13 additions & 9 deletions FL/Fl.H
Expand Up @@ -434,15 +434,19 @@ public:
stdout with a fair degree of accuracy:
\code
void callback(void*) {
puts("TICK");
Fl::repeat_timeout(1.0, callback);
}
int main() {
Fl::add_timeout(1.0, callback);
return Fl::run();
}
#include <stdio.h>
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
void callback(void*) {
printf("TICK\n");
Fl::repeat_timeout(1.0, callback); // retrigger timeout
}
int main() {
Fl_Window win(100,100);
win.show();
Fl::add_timeout(1.0, callback); // set up first timeout
return Fl::run();
}
\endcode
*/
static void add_timeout(double t, Fl_Timeout_Handler,void* = 0); // platform dependent
Expand Down

0 comments on commit 5aefd05

Please sign in to comment.