fltk/src
Bill Spitzak c8794e2f58 Fixed some WIN32 bugs found in 1.0.5:
FL_MOUSELEAVE had an extra underscore
call to toupper() removed
const char* cast added to fl_draw_pixmap

Change to Fl_Gl_Window that did not get in in time for 1.0.5, it caches
the current gl context and does not call glXMakeCurrent (wglMakeCurrent
on WIN32) if not needed.  This distinctly speeds up Mesa, Irix, and
Windows opengl, although I am stumped why such a test is not built
into those libraries already.

If you use other code that sets the current OpenGL context fltk will
get confused because it does not know it changed.  To fix such programs
you must call fl_no_gl_context() to clear the cache.

There is a report that this causes the fractals demo to crash on some
Linux and Irix machines, although I can't reproduce it.  I suspect the
problem is the fractals demo and not fltk, but this change may be making
it more likely to fail.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-09-16 05:34:27 +00:00
..
cmap.cxx Colors in cmap changed to use 0xFF instead of 0xF4. 1999-05-14 09:07:09 +00:00
d1_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
d1.xbm Initial revision 1998-10-06 18:21:25 +00:00
dump_compose.c Initial revision 1998-10-06 18:21:25 +00:00
ew_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
ew.xbm Initial revision 1998-10-06 18:21:25 +00:00
fastarrow.h Initial revision 1998-10-06 18:21:25 +00:00
filename_absolute.cxx Didn't need to define a replacement for getcwd() under Windows... 1999-01-13 16:56:05 +00:00
filename_expand.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_ext.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_isdir.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_list.cxx Fixed long-standing bug reported by Rick Sayre in Fl_Browser_ - if the 1999-09-15 15:18:12 +00:00
filename_match.cxx Updated file chooser and matching from Bill (better for WIN32). 1999-01-07 21:22:28 +00:00
filename_setext.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_abort.cxx I hope this is a fix for vsnprintf on HPUX. It declares it but does 1999-03-05 05:55:27 +00:00
Fl_add_idle.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Adjuster.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_arc.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_arci.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_arg.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_ask.cxx I hope this is a fix for vsnprintf on HPUX. It declares it but does 1999-03-05 05:55:27 +00:00
Fl_Bitmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_boxtype.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Browser_.cxx Fixed long-standing bug reported by Rick Sayre in Fl_Browser_ - if the 1999-09-15 15:18:12 +00:00
Fl_Browser_load.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Browser.cxx Missing header files and FL_EXTERNs that prevented DLL's from compiling 1999-05-11 09:39:31 +00:00
Fl_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_call_main.c Added Rick's hack for initializing fl_display. 1999-05-24 14:03:47 +00:00
Fl_Chart.cxx Fixed drawing bug when min == max... 1999-06-12 12:38:14 +00:00
Fl_Check_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Choice.cxx Added clipping suggested by Dmitry Potapov 1999-03-16 08:51:02 +00:00
Fl_Clock.cxx Updated README and distribution packages to use v1.0.1. 1999-03-25 15:26:44 +00:00
fl_cmap.h Colors in cmap changed to use 0xFF instead of 0xF4. 1999-05-14 09:07:09 +00:00
Fl_Color_Chooser.cxx Contributed code for more accurate item_height() in Fl_Browser. 1999-03-07 08:51:44 +00:00
fl_color_win32.cxx More color fixes from Bill - contrast function not right, and moved 1999-01-13 15:56:23 +00:00
fl_color.cxx Patch from Carl - inactive and contrast functions. 1999-01-25 20:43:05 +00:00
Fl_Counter.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_cursor.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_curve.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_cutpaste_win32.cxx Put curley braces around selection clear code to work around 1999-06-12 15:09:19 +00:00
Fl_cutpaste.cxx Didn't like yesterday's fix, I changed it so that zero-length selections 1999-03-02 07:03:15 +00:00
Fl_Dial.cxx Changes to dial so that counter-clockwise motion is supported if you 1999-03-10 08:17:43 +00:00
fl_diamond_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_display.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Double_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_image_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_pixmap.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
fl_draw.cxx Was escaping characters from 0x80 to 0x9f, but these are used by the 1999-06-16 15:14:42 +00:00
fl_engraved_label.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_file_chooser.cxx Updated file chooser and matching from Bill (better for WIN32). 1999-01-07 21:22:28 +00:00
fl_font_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_font.cxx Pragma added around xlib.h to shut up the IRIX compiler warnings 1999-07-22 07:27:12 +00:00
Fl_Font.H Updated headers to support WIN32 and OS/2 DLLs. 1999-02-16 22:00:04 +00:00
Fl_get_key_win32.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_get_key.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_get_system_colors.cxx More color fixes from Bill. 1999-01-13 15:57:38 +00:00
Fl_Gl_Choice.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_Gl_Choice.H Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_Gl_Overlay.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_Gl_Window.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_grab.cxx 1. ~Fl_Widget(), Fl_Widget::hide(), and Fl_Widget::deactivate() no longer send 1999-04-10 08:09:39 +00:00
Fl_Group.cxx It crashed when a group with exactly 1 child was deleted. 1999-08-09 06:19:33 +00:00
Fl_Image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Input_.cxx Added "buffer=0" in constructor to avoid purify errors. 1999-03-04 18:09:18 +00:00
Fl_Input.cxx Compose for Icelandic thorn character is "TH" or "th". Also fixed the 1999-04-20 04:43:24 +00:00
fl_labeltype.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Light_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Menu_.cxx Fixed another flwm crash in Fl_x.cxx (the send_motion pointer must 1999-05-06 06:20:47 +00:00
Fl_Menu_add.cxx Removed patch - didn't fix problem. 1999-07-12 12:22:45 +00:00
Fl_Menu_Bar.cxx Fix from Bill - global shortcuts now work for the menubar as well. 1999-01-19 19:05:39 +00:00
Fl_Menu_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Menu_global.cxx Fix from Bill - global shortcuts now work for the menubar as well. 1999-01-19 19:05:39 +00:00
Fl_Menu_Window.cxx Put Fl::grab() into it's own source file. Rewritten as suggested so that 1999-02-03 08:43:35 +00:00
Fl_Menu.cxx It crashed when a group with exactly 1 child was deleted. 1999-08-09 06:19:33 +00:00
Fl_Multi_Label.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Output.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_oval_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_overlay_visual.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Overlay_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_overlay.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_own_colormap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Pack.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Pixmap.cxx Patch from Bill - not freeing bitmap array? 1999-02-16 15:10:53 +00:00
Fl_Positioner.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_rect.cxx WIN32 fixes from Dmitry Potapov: 1999-03-04 18:32:14 +00:00
Fl_Repeat_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Return_Button.cxx Fixed drawing of return button. 1999-01-19 19:26:46 +00:00
Fl_Roller.cxx Added Fl_Roller fix from 2.0 tree. 1999-09-15 16:07:03 +00:00
fl_round_box.cxx Workaround for VC++ 4.0 bug - can't initialize a pointer to a function 1999-02-22 21:01:59 +00:00
Fl_Round_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_rounded_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_scroll_area.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Scroll.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Scrollbar.cxx Colors in cmap changed to use 0xFF instead of 0xF4. 1999-05-14 09:07:09 +00:00
fl_set_font.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_fonts_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_fonts.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_gray.cxx Added missing Fl_Color casts. 1999-02-22 21:01:03 +00:00
fl_shadow_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_shortcut.cxx Missing header files and FL_EXTERNs that prevented DLL's from compiling 1999-05-11 09:39:31 +00:00
fl_show_colormap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Single_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Slider.cxx Colors in cmap changed to use 0xFF instead of 0xF4. 1999-05-14 09:07:09 +00:00
fl_symbols.cxx Removed old fl_draw_returnarrow() code that wasn't getting used. 1999-02-22 22:09:17 +00:00
Fl_Tabs.cxx Pragma added around xlib.h to shut up the IRIX compiler warnings 1999-07-22 07:27:12 +00:00
Fl_Tile.cxx Bugfix from Matthias (thanks Matt) 1999-05-25 05:33:56 +00:00
Fl_Valuator.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Value_Input.cxx Fl_Value_Input did not update if the value was changed from inside the 1999-05-20 18:01:41 +00:00
Fl_Value_Output.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Value_Slider.cxx Colors in cmap changed to use 0xFF instead of 0xF4. 1999-05-14 09:07:09 +00:00
fl_vertex.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_visual.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Widget.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_win32.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
Fl_Window_fullscreen.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window_hotspot.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window_iconize.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window.cxx Fixes from Bill: 1999-01-13 15:45:50 +00:00
Fl_x.cxx Fixed another flwm crash in Fl_x.cxx (the send_motion pointer must 1999-05-06 06:20:47 +00:00
Fl_XColor.H Removed extra "events" target from enumerations.html. 1999-02-16 22:27:52 +00:00
Fl.cxx Changed call_timeouts() and Fl::wait()/wait(double). The wait functions will now return immediately (do fl_wait(0,0)) if any timeouts were called in call_timeouts(). Motivation: An event loop like 1999-08-22 23:31:21 +00:00
forms_bitmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_compatability.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_free.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_fselect.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_pixmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_timer.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
gl_draw.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
gl_start.cxx Fixed some WIN32 bugs found in 1.0.5: 1999-09-16 05:34:27 +00:00
glut_compatability.cxx Changes from Luis Ibanez to make it compile under Borland. 1999-03-18 20:04:13 +00:00
glut_font.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Makefile Changed $(DSONAME) target to "libfltk.so.1 libfltk.sl.1"... 1999-04-26 12:36:17 +00:00
mediumarrow.h Initial revision 1998-10-06 18:21:25 +00:00
ns_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
ns.xbm Initial revision 1998-10-06 18:21:25 +00:00
numericsort.c Added (unsigned) cast to isxyz() calls to get rid of compiler warnings. 1999-03-08 14:53:44 +00:00
scandir_win32.c Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
scandir.c scandir.c used a variable named "new", which is valid ANSI C but 1999-03-09 20:56:54 +00:00
slowarrow.h Initial revision 1998-10-06 18:21:25 +00:00
vsnprintf.c Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I 1999-03-29 17:39:46 +00:00