Variables | |
| void(* | warning )(const char *,...) |
| void(* | error )(const char *,...) |
| void(* | fatal )(const char *,...) |
|
|
fltk will call this when it wants to report a recoverable problem. but in this case the display is so messed up it is unlikely the user can continue. Very little calls this now. The default version on Unix prints a message to stderr, on Windows it pops up a MessageBox, and then both versions call exit(1). You may be able to use longjmp or an exception to get back to your own code. |
|
|
fltk will call this when it wants to report a problem that it cannot recover from. You must not make any fltk calls again. The default version is the same function as error(). |
|
|
fltk will call this when it wants to report a recoverable problem. The display may be messed up but the user can probably keep working. (all X protocol errors call this). The default version on Unix prints a message to stderr, on Windows it pops up a MessageBox. |
©2006 Bill Spitzak and others.