fltk/FL
Albrecht Schlosser 1fd6f0dd3a Fix STR 3458: "GLUT compatibility mode segfaults"
... "when there's no current window".

Silently ignore GLUT function calls that need a current window if the
current window is NULL, return 0 from functions that return an 'int'.

Check if window is shown in Fl_X11_Gl_Window_Driver::swap_buffers().
This would issue "XRequest.nnn: GLXBadDrawable 0x0" on X11 otherwise.

Note: the chosen implementation to ignore GLUT calls silently appears
to be compatible with GLUT (3.7) whereas FreeGLUT 3.0 would issue error
messages and exit. The latter could be implemented as well but would
be much more work.
2023-10-07 17:14:11 +02:00
..
Enumerations.H #718: Fixes drawing issues for Fl_Tabs 2023-09-02 20:56:57 +02:00
filename.H Adds some convenience methods. 2023-09-05 14:45:57 +02:00
Fl_Adjuster.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Anim_GIF_Image.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
fl_ask.H Fl_String refactoring and extension (#683) 2023-02-23 15:42:05 +01:00
fl_attr.h Remove warnings when fl_attr.h is compiled in C 2023-03-09 18:10:38 +01:00
Fl_Bitmap.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_BMP_Image.H New Fl_ICO_Image class to read Windows .ico icon files 2022-12-09 10:43:20 +01:00
Fl_Box.H Fix documentation of FL/Fl_Box.H 2023-02-02 19:14:14 +01:00
Fl_Browser_.H Fix dependencies, typos, trailing whitespace, and formatting 2023-03-09 18:28:37 +01:00
Fl_Browser.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Button.H Adds compact buttons feature to create keypads. 2023-09-03 00:09:40 +02:00
Fl_Cairo_Window.H Improve Fl_Cairo_Window documentation (typos + indentation) 2023-03-23 13:26:14 +01:00
Fl_Cairo.H Cairo: introduce Fl::cairo_flush() in FLTK API 2023-03-14 19:51:34 +01:00
fl_callback_macros.H Fix doxygen "undocumented parameter" warnings 2023-09-07 12:01:43 +02:00
fl_casts.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Chart.H Improve deriving from Fl_Chart (STR 2022) 2023-01-15 23:48:00 +01:00
Fl_Check_Browser.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Check_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Choice.H Fix dependencies, typos, trailing whitespace, and formatting 2023-03-09 18:28:37 +01:00
Fl_Clock.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Color_Chooser.H Add close buttons for individual tabs in Fl_Tabs (#628) 2023-01-05 13:51:30 +01:00
Fl_Copy_Surface.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Counter.H Remove a bunch of \todo items from documentation 2023-02-05 16:07:14 +01:00
Fl_Device.H Fix fl_read_image() under hybrid Wayland/X11 platform. 2022-09-11 19:45:48 +02:00
Fl_Dial.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Double_Window.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
fl_draw.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Export.H Comment-only changes. 2022-08-23 09:04:14 +02:00
Fl_File_Browser.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_File_Chooser.H expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser (#80) 2022-02-12 20:46:12 +01:00
Fl_File_Icon.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_File_Input.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Fill_Dial.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Fill_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Flex.H Introduce Fl_Flex::need_layout() to optimize layout calculation 2023-09-04 16:16:42 +02:00
Fl_Float_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_FormsBitmap.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_FormsPixmap.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Free.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_GIF_Image.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Gl_Window.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Graphics_Driver.H Restore Doxygen doc of fl_graphics_driver 2023-09-17 09:00:48 +02:00
Fl_Group.H Fix and update alignment #346 (#701) 2023-03-18 17:33:27 +01:00
Fl_Help_Dialog.H Remove unnecessary system includes from public headers 2021-03-21 00:42:28 +01:00
Fl_Help_View.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Hold_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Fill_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Nice_Slider.H Docs: add widget screenshot for Fl_Hor_Nice_Slider 2022-12-10 07:53:28 -08:00
Fl_Hor_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Hor_Value_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_ICO_Image.H Fix misplaced 'const' [-Wignored-qualifiers] 2023-04-13 19:58:26 +02:00
Fl_Image_Surface.H Wayland: fix fl_read_image() from offscreen buffer 2023-08-09 10:31:36 +02:00
Fl_Image.H Remove warnings when building doc with Doxygen 2023-01-24 10:32:57 +01:00
Fl_Input_.H #211: adds optional parameter for Fl_Input_::drawtext() 2023-08-03 17:35:27 +02:00
Fl_Input_Choice.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Input.H Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676) 2023-02-10 17:13:20 +01:00
Fl_Int_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Int_Vector.H Minimize and fix include statements of Fl_Int_Vector 2023-02-02 17:00:28 +01:00
Fl_JPEG_Image.H Adding length checks for in-memory image data (see #542) (#592) 2022-12-17 16:01:35 +01:00
Fl_Light_Button.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Line_Dial.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Menu_.H Adds Fl_Menu_::prev_mvalue() (#685) 2023-09-29 15:22:47 +02:00
Fl_Menu_Bar.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Menu_Button.H STR 2894: pressed_menubutton_ now protected in Fl_Menu_Button 2023-01-20 15:22:21 +01:00
Fl_Menu_Item.H Fix and update alignment #346 (#701) 2023-03-18 17:33:27 +01:00
Fl_Menu_Window.H Fix for issue #254: remove hardware overlay support . 2021-11-26 15:16:15 +01:00
Fl_Menu.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_message.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Multi_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multi_Label.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multiline_Input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Multiline_Output.H Document Fl_Multiline_Output keynav and caret cursor 2022-11-07 17:08:14 -08:00
Fl_Native_File_Chooser.H Small FNFC doc clarification; "pilots" -> "presets" 2023-09-20 23:34:43 -07:00
Fl_Nice_Slider.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Object.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Output.H Remove superfluous center alignment from images 2022-10-09 19:35:20 +02:00
Fl_Overlay_Window.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Pack.H STR 2639 Fixes Fl_Pack resize behaviour 2023-01-23 16:08:59 +01:00
Fl_Paged_Device.H Remove compiler warnings '-Wextra-semi' (see also PR #266) 2021-08-27 14:52:43 +02:00
Fl_Pixmap.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Plugin.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_PNG_Image.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_PNM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Positioner.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_PostScript.H Special (UTF-8) characters in PDF docs maybe not rendered correctly (#772) 2023-08-31 12:51:16 +02:00
Fl_Preferences.H FLUID: adds greatly enhanced Shell Commands (#774) 2023-09-26 16:01:03 +02:00
Fl_Printer.H More detailed documentation of Fl::screen_xywh() 2023-07-10 09:18:26 +02:00
Fl_Progress.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Radio_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Radio_Light_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Radio_Round_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Rect.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Repeat_Button.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Return_Button.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_RGB_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Roller.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Round_Button.H Remove superfluous center alignment from images 2022-10-09 19:35:20 +02:00
Fl_Round_Clock.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Scheme_Choice.H Fix regression: failed to build shared FLTK libs 2023-03-01 17:24:03 +01:00
Fl_Scheme.H Add the initial version of class Fl_Scheme 2023-01-12 19:21:09 +01:00
Fl_Scroll.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Scrollbar.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Secret_Input.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Select_Browser.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Shared_Image.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Shortcut_Button.H Adds default shortcut to Fl_Shortcut_Button. 2023-07-22 15:30:17 +02:00
fl_show_colormap.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
fl_show_input.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Simple_Counter.H Remove superfluous center alignment from images 2022-10-09 19:35:20 +02:00
Fl_Simple_Terminal.H Add missing FL_EXPORT for Windows shared lib build 2023-08-26 17:24:20 +02:00
Fl_Single_Window.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Slider.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Spinner.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
fl_string_functions.h Rename FL/fl_string.h to FL/fl_string_functions.h 2022-01-16 19:47:16 +01:00
Fl_String.H Fix Visual Studio shared library build 2023-09-12 23:18:46 +02:00
Fl_SVG_File_Surface.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_SVG_Image.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Sys_Menu_Bar.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Table_Row.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Table.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Tabs.H Fixes Fl_Tabs to be more robust. 2023-09-06 17:02:13 +02:00
Fl_Text_Buffer.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Text_Display.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Text_Editor.H Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676) 2023-02-10 17:13:20 +01:00
Fl_Tile.H Deprecated warnings wording adapted 2023-02-10 16:29:14 +01:00
Fl_Tiled_Image.H Fix "Xrender blurs adjacent images with bilinear scaling" (#633) 2023-01-08 11:17:03 +01:00
Fl_Timer.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Toggle_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Toggle_Light_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Toggle_Round_Button.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tooltip.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree_Item_Array.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Tree_Item.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Tree_Prefs.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Tree.H Add close buttons for individual tabs in Fl_Tabs (#628) 2023-01-05 13:51:30 +01:00
fl_types.h Use correct Doxygen syntax for "member groups" 2023-02-06 09:04:50 +01:00
fl_utf8.h No default values in plain C 2023-01-20 16:20:01 +01:00
Fl_Valuator.H Remove superfluous center alignment from images 2022-10-09 19:35:20 +02:00
Fl_Value_Input.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Value_Output.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Value_Slider.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Widget_Surface.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_Widget.H Fix typos in names of Doxygen items (#729) 2023-08-17 08:22:25 +02:00
Fl_Window.H Draw parent window backdrop on Fl_Tabs (#718) 2023-09-29 14:12:39 +02:00
Fl_Wizard.H Use FL_OVERRIDE for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_XBM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl_XPM_Image.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
Fl.H Change prototype to Fl::now(double offset = 0) - cont'd 2023-10-06 17:11:43 +02:00
forms.H Fix position() methods that shadow Fl_Widget::position() 2023-02-02 20:54:19 +01:00
gl2opengl.h Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
gl_draw.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
gl.h Protect GL_SILENCE_DEPRECATION from re-definition. 2023-03-15 23:15:32 +01:00
glu.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
glut.H Fix STR 3458: "GLUT compatibility mode segfaults" 2023-10-07 17:14:11 +02:00
mac.H Fix "Compilation warning: 'NSOpenGLContext' on macOS 11" !#646) 2023-01-11 09:32:31 +01:00
Makefile.in Update CMake and make files, minor edits only 2021-02-15 19:45:20 +01:00
math.h Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
names.h FLUID: minor fixes 2023-08-29 22:50:12 +02:00
platform_types.h Change prototype to Fl::now(double offset = 0) 2023-10-06 16:23:08 +02:00
platform.H Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ 2023-02-02 18:48:24 +01:00
README.Xcode Added and removed silly files 2010-10-24 20:54:08 +00:00
wayland.H Standardize API to "graphics context" across platforms 2023-04-13 10:02:40 +02:00
win32.H Make hybrid Wayland/X11 platform. 2022-08-29 12:15:32 +02:00
x11.H Standardize API to "graphics context" across platforms 2023-04-13 10:02:40 +02:00
x.H Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00

All FLTK header files are in the FL subdirectory of the fltk.framework.
Image header files are located in "fltk.framework/Headers/FL/images/".