fltk/FL
Albrecht Schlosser fd5cd80935 Introduce "Modern CMake" in FLTK
This is a big commit and there are too many changes to list them all.
The main changes are:

- rename all CMake build options to 'FLTK_*'
- export library targets with namespace (prefix) 'fltk::'
- standardize shared library target names with suffix '-shared'
- set public build properties on libraries for consumers
- document library names and aliases in README.CMake.txt
- document changes in "Migrating Code from FLTK 1.3 to 1.4"
- partial backwards compatibility for old user projects

Included but not directly related changes:

- fix Windows (Visual Studio) DLL build
- add CMake function fl_debug_target() to show target properties
- don't build test programs if FLTK is a subproject
- internal: reformat CMake code: remove space before '('

Thanks to Matthias and Manolo for their help, testing, and feeback.
2024-02-07 18:37:34 +01:00
..
Enumerations.H Fix typo 2024-01-06 17:56:04 +01:00
Fl.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01: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_BMP_Image.H New Fl_ICO_Image class to read Windows .ico icon files 2022-12-09 10:43:20 +01:00
Fl_Bitmap.H Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap 2023-11-27 10:02:59 +01:00
Fl_Box.H Fix documentation of FL/Fl_Box.H 2023-02-02 19:14:14 +01:00
Fl_Browser.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_Browser_.H Adds `linespacing()` to `Fl_Browser_` and all derived widgets 2023-11-25 18:20:08 +01:00
Fl_Button.H Adds compact buttons feature to create keypads. 2023-09-03 00:09:40 +02:00
Fl_Cairo.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
Fl_Cairo_Window.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01: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
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 Improve the documentation of class Fl_Display_device 2023-10-31 19:07:31 +01: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_Export.H Comment-only changes. 2022-08-23 09:04:14 +02:00
Fl_File_Browser.H Adds `linespacing()` to `Fl_Browser_` and all derived widgets 2023-11-25 18:20:08 +01:00
Fl_File_Chooser.H #887: Fixes FLTK file chooser not releasing preview image. 2024-01-14 01:42:05 +01:00
Fl_File_Icon.H
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
Fl_Fill_Slider.H
Fl_Flex.H Introduce Fl_Flex::need_layout() to optimize layout calculation 2023-09-04 16:16:42 +02:00
Fl_Float_Input.H
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 STR 1373: adds vsync control to OpenGL contexts on macOS 2023-11-26 12:37:59 +01:00
Fl_Graphics_Driver.H Change type of member variables Fl_Graphics_Driver::ascent + descent 2023-11-29 10:03:14 +01:00
Fl_Grid.H Fl_Grid: Added show_grid(1) screenshot 2023-12-09 08:20:31 -08:00
Fl_Group.H Fix and update alignment #346 (#701) 2023-03-18 17:33:27 +01:00
Fl_Help_Dialog.H
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
Fl_Hor_Fill_Slider.H
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
Fl_Hor_Value_Slider.H
Fl_ICO_Image.H Fix misplaced 'const' [-Wignored-qualifiers] 2023-04-13 19:58:26 +02:00
Fl_Image.H #887: Fixes Fl_Shared_Image reference counting 2024-01-13 19:32:32 +01:00
Fl_Image_Surface.H Fix a typo, trailing whitespace, and dependencies 2023-12-21 14:03:04 +01:00
Fl_Input.H Cleans up Fl_Input right mouse button menu 2023-11-25 22:08:05 +01:00
Fl_Input_.H Fixes return type of Fl_Input_::dvalue() 2023-11-15 22:45:20 +01:00
Fl_Input_Choice.H Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Int_Input.H
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
Fl_Menu.H
Fl_Menu_.H #748: Adds option to choose menu window boxtype 2023-10-13 12:49:26 +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 Improve docs and add two new Fl_Menu_Item methods (#875) 2023-12-23 20:08:18 +01:00
Fl_Menu_Window.H Fix for issue #254: remove hardware overlay support . 2021-11-26 15:16:15 +01:00
Fl_Multi_Browser.H
Fl_Multi_Label.H Improve docs and add two new Fl_Menu_Item methods (#875) 2023-12-23 20:08:18 +01:00
Fl_Multiline_Input.H
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 Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
Fl_Nice_Slider.H
Fl_Object.H
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_PNG_Image.H Fixes a bunch of typos in comments. 2023-08-26 15:17:28 +02:00
Fl_PNM_Image.H
Fl_Pack.H STR 2639 Fixes Fl_Pack resize behaviour 2023-01-23 16:08:59 +01:00
Fl_Paged_Device.H
Fl_Pixmap.H Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap 2023-11-27 10:02:59 +01:00
Fl_Plugin.H A more cross-platform way to fix issue #876 2023-12-22 09:16:48 +01: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 Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
Fl_Printer.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
Fl_Progress.H Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_RGB_Image.H
Fl_Radio_Button.H
Fl_Radio_Light_Button.H
Fl_Radio_Round_Button.H
Fl_Rect.H Adding size range settings to Fl_Tile, initial commit. 2023-11-22 14:45:13 +01: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_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
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_Scheme.H Add the initial version of class Fl_Scheme 2023-01-12 19:21:09 +01:00
Fl_Scheme_Choice.H Fix regression: failed to build shared FLTK libs 2023-03-01 17:24:03 +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
Fl_Shared_Image.H #887: Fixes Fl_Shared_Image reference counting 2024-01-13 19:32:32 +01:00
Fl_Shortcut_Button.H #862: Removes default shortcut from Fl_Shortcut_Button 2023-12-13 16:55:16 +01:00
Fl_Simple_Counter.H Remove superfluous center alignment from images 2022-10-09 19:35: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_Sys_Menu_Bar.H Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Table.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
Fl_Table_Row.H Use `FL_OVERRIDE` for all overridden virtual methods (#611) 2022-12-30 19:14:36 +01:00
Fl_Tabs.H Improve Fl_Tabs documentation (minor wording issue) 2023-12-13 16:11:16 +01:00
Fl_Terminal.H Small code fixups 2024-01-15 14:33:17 -08: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 compiler warning, dependencies, and trailing whitespace 2023-11-27 15:33:53 +01: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 Adding size range settings to Fl_Tile, initial commit. 2023-11-22 14:45:13 +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
Fl_Toggle_Light_Button.H
Fl_Toggle_Round_Button.H
Fl_Tooltip.H
Fl_Tree.H Add close buttons for individual tabs in Fl_Tabs (#628) 2023-01-05 13:51:30 +01:00
Fl_Tree_Item.H
Fl_Tree_Item_Array.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
Fl_Tree_Prefs.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02: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.H Fl_Window_Driver::set_popup_window(), Fl_Screen_Driver::screen_boundaries_known() 2024-02-05 12:39:10 +01:00
Fl_Widget_Surface.H Member Fl_Widget_Surface::draw_decorated_window() needs not be virtual 2023-10-31 18:33:31 +01:00
Fl_Window.H Remove friend declaration from Fl_Window.H (see STR 3354) 2023-11-17 16:55:37 +01: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
Fl_XPM_Image.H
Makefile.in
README.Xcode
filename.H Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
fl_ask.H Make Fl_String and Fl_Int_Vector private (#789) 2023-10-22 19:35:17 +02:00
fl_attr.h Remove warnings when fl_attr.h is compiled in C 2023-03-09 18:10:38 +01:00
fl_callback_macros.H Removes Fl_String from documentation as well. 2023-10-22 23:10:06 +02:00
fl_casts.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
fl_draw.H Improve contrast of check marks and radio buttons (#443) 2023-12-02 19:34:29 +01:00
fl_message.H Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
fl_show_colormap.H
fl_show_input.H
fl_string_functions.h Improve documentation of fl_strdup() 2023-12-12 11:58:00 +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
forms.H Make the 'Forms' compatibility library 'fltk_forms' optional 2023-12-20 17:33:37 +01:00
gl.h Protect GL_SILENCE_DEPRECATION from re-definition. 2023-03-15 23:15:32 +01:00
gl2opengl.h Fix trailing comma in enums of public headers 2023-04-13 20:14:36 +02:00
gl_draw.H
glu.h
glut.H Fix STR 3458: "GLUT compatibility mode segfaults" 2023-10-07 17:14:11 +02:00
mac.H Improve documentation of fl_strdup() 2023-12-12 11:58:00 +01:00
math.h
names.h FLUID: minor fixes 2023-08-29 22:50:12 +02:00
platform.H Allow cmake -DOPTION_APPLE_X11=On without -U__APPLE__ 2023-02-02 18:48:24 +01:00
platform_types.h Change prototype to Fl::now(double offset = 0) 2023-10-06 16:23:08 +02: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
x.H
x11.H Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00

README.Xcode

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