Functions | |
| void | fl_mac_set_about (Fl_Callback *cb, void *user_data, int shortcut=0) |
| Attaches a callback to the "About myprog" item of the system application menu. | |
| void | fl_open_callback (void(*cb)(const char *)) |
| Register a function called for each file dropped onto an application icon. | |
| void | gl_texture_pile_height (int max) |
| Changes the height of the pile of pre-computed string textures. | |
| int | gl_texture_pile_height (void) |
| Returns the current height of the pile of pre-computed string textures. | |
Variables | |
| int | fl_mac_os_version |
| The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4). | |
| void fl_mac_set_about | ( | Fl_Callback * | cb, | |
| void * | user_data, | |||
| int | shortcut = 0 | |||
| ) |
Attaches a callback to the "About myprog" item of the system application menu.
| cb | a callback that will be called by "About myprog" menu item with NULL 1st argument. | |
| user_data | a pointer transmitted as 2nd argument to the callback. | |
| shortcut | optional shortcut to attach to the "About myprog" menu item (e.g., FL_META+'a') |
| void gl_texture_pile_height | ( | int | max | ) |
Changes the height of the pile of pre-computed string textures.
Strings that are often re-displayed can be processed much faster if this pile is set high enough to hold all of them.
| max | Height of the texture pile |
| int gl_texture_pile_height | ( | void | ) |
Returns the current height of the pile of pre-computed string textures.
The default value is 100
© 1998-2010 by Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for
any purpose, provided this copyright and permission notice are preserved.