fltk/FL
Matthias Melcher 11a15d83a2 This is a suggested change. It is complete except for documentation.
I did not like the awake_cb system at all. These changes implement Fl::awake(Fl_Awake_Handler, void*) which is called from a thread and tells the main loop to call the specified handler (rather a callback I guess) as soon as possible from within the main thread. It is implemented as Fifo (currently 1024 entry ring buffer), so handlers are called in the order that they are generated in.

"test/threads" was modified to change the label color as soon as a thread reaches 10000 - pretty boring, but it show the wonderful simplicity of this approach: you can write libraries that don't need to add to the main loop or register a handler at all... .

I will do some more stress testing tonight.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-03-06 17:15:03 +00:00
..
dirent.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Enumerations.H Add GTK thin up/down box/frame types. 2006-10-03 02:35:12 +00:00
filename.H Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do not 2007-01-23 15:02:00 +00:00
Fl_Adjuster.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_ask.H Only use __deprecated__ with GCC 3.0 and higher. 2005-04-13 19:35:28 +00:00
Fl_Bitmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_BMP_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Box.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Browser_.H STR 1183: swapping two items in an Fl_Browser_ widget would corrupt redrawing if either item was "top". This fix swaps the top_ variable correctly, and also swaps the selection flag as the user would expect. 2006-03-28 23:27:20 +00:00
Fl_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Chart.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Check_Browser.H STR #1232: it was not possible to toggle a checkbox in Fl_Check_Browser by clicking the same box twice. 2006-04-20 03:53:41 +00:00
Fl_Check_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Choice.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Clock.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Color_Chooser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Counter.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Double_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_draw.H Implemented alpha blending for WIN32. I believe that I did it in a way that is compatible even with Windows 95, but please let me know if you have any concerns. Cygwin not tested, but hopefully OK. 2006-09-15 15:35:16 +00:00
Fl_Export.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Chooser.H Hide window before doing callback for OK button (STR #1565) 2007-01-28 19:41:56 +00:00
Fl_File_Icon.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_File_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Fill_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Fill_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Float_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_FormsBitmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_FormsPixmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Free.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_GIF_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Gl_Window.H New context_changed() function for OpenGL windows allowing efficient texture loading (str #1372) 2006-08-17 09:49:43 +00:00
Fl_Group.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Help_Dialog.H Fix indentation of elements (STR #1549) 2007-01-28 19:36:51 +00:00
Fl_Help_View.H Converted global static variables into class static variables 2006-06-18 15:53:26 +00:00
Fl_Hold_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Fill_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Nice_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Hor_Value_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Input_.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Input_Choice.H Fix Fl_Input_Choice widget positioning. 2005-08-08 02:45:06 +00:00
Fl_Input.H Removed stub for Fl_Input::handle_mouse(int) because it is not implemented anywhere. 2006-08-14 07:06:45 +00:00
Fl_Int_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_JPEG_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Line_Dial.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Bar.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Item.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Menu.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_message.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multi_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multi_Label.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multiline_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Multiline_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Nice_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Object.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Overlay_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Pack.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Pixmap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_PNG_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_PNM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Positioner.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Preferences.H STR #1381: added optional "precision" argument when writing floats or doubles to a Preferences file. 2006-08-18 07:29:09 +00:00
Fl_Progress.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Radio_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Repeat_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Return_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_RGB_Image.H Added Fl_RGB_Image header which simply include Fl_Image.H to keep the interface consitaent (STR #1551). 2007-01-18 19:27:51 +00:00
Fl_Roller.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Round_Clock.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Scroll.H Changed Fl_Scroll::bbox() from private to protected. 2007-01-18 19:23:24 +00:00
Fl_Scrollbar.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Secret_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Select_Browser.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Shared_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_show_colormap.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
fl_show_input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Simple_Counter.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Single_Window.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Spinner.H Don't range check typed numbers until the user presses enter or leaves 2006-12-08 04:41:52 +00:00
Fl_Sys_Menu_Bar.H Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi platform developers. Again, thanks Natevw for the patch. 2005-08-29 20:05:38 +00:00
Fl_Tabs.H Undid the previous Fl_Tabs::value() const change because adding 'const' *does* changed the ABI. Sigh. 2006-08-17 13:43:07 +00:00
Fl_Text_Buffer.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Text_Display.H Fl_Text_Display now auto-scrolls in all directions (STR #915). This is implemented using a timer event. The scroll speed is proportional to the distance of the cursor to the text area 2005-08-10 23:11:51 +00:00
Fl_Text_Editor.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tile.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tiled_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Timer.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Light_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Toggle_Round_Button.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Tooltip.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Valuator.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Input.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Output.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Value_Slider.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_Widget.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Window.H Applied hidden copy / ctor patch as suggested in STR 860 2005-07-15 09:34:53 +00:00
Fl_Wizard.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_XBM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl_XPM_Image.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
Fl.H This is a suggested change. It is complete except for documentation. 2007-03-06 17:15:03 +00:00
forms.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
gl2opengl.h Initial revision 1998-10-06 18:21:25 +00:00
gl_draw.H Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
gl.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
glu.h Added unversal header for OpenGL's GLu library. 2006-08-25 10:05:20 +00:00
glut.H STR #1614: added missing FL_EXPORT to glutGet() 2007-02-25 00:05:06 +00:00
mac.H Updated OSX subwindow simulation code to better add and remove from the clipping list 2006-08-29 11:03:05 +00:00
mac.r Implemeted 95% of all Mac OS X support. Makefiles still need modifications. 2001-12-06 00:17:47 +00:00
Makefile.in Drop extra (unnecessary) INSTALL_DIR call. 2007-02-08 20:52:41 +00:00
math.h Update source file headers with STR web page. 2005-04-16 00:13:17 +00:00
names.h Added "names.h" in "FL" to support developer output of event names etc. . This file is never compiled into the executable unless specifically added by the developer. 2007-01-18 12:11:02 +00:00
win32.H OK, I believe I fixed the transparency issues on WIN32. Please everyone, test the code on all machines. 2006-09-16 16:02:00 +00:00
x.H Fixed byte order in OS X cursor shape data. Added Xft font pointer fl_xftfont. 2006-07-18 11:23:20 +00:00