summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-04-12Modify test/cairo_test.cxx to show roles of OPTION_CAIRO and OPTION_CAIROEXT.ManoloFLTK
Also make clear that these options require, for now, Fl_Double_Window to work cross-platform.
2022-04-09Fix build of test/unittests with shared librariesAlbrecht Schlosser
- set variables UNITTEST_LIBS and UNITTEST_LIBS_SHARED appropriately - use these variables in build instructions This includes normal and shared builds with and w/o OpenGL.
2022-04-07Clean up test/.gitignoreAlbrecht Schlosser
- remove no longer used filenames - reorder to separate generated files from executables - add comment on how to create list of generated files
2022-03-22Restore building when HAVE_GL is 0ManoloFLTK
2022-03-21MSVC: use fl_snprintf() rather than snprintf()Albrecht Schlosser
Note that this fix includes "../src/flstring.h" which makes the source file no longer compileable without the full source code, e.g. by using "fltk-config --compile ...". This might be fixed later. (?)
2022-03-03Fix whitespace, update dependencies and fluid filesAlbrecht Schlosser
2022-02-26Fix Visual Studio build warningsAlbrecht Schlosser
2022-02-21Update dependenciesAlbrecht Schlosser
2022-02-21Fix compiler warning [-Wunused-but-set-variable]Albrecht Schlosser
2022-02-19Fix typos and copyrightAlbrecht Schlosser
2022-02-08Account for presence of terminal panel in the size_range() call.ManoloFLTK
2022-02-06OpenGL implementation of all `fl_` "Drawing Fast Shapes" graphics calls (#385)Matthias Melcher
* Fix build system for unites, * Updated unittest to check OpenGL drawing. Making sure that OpenGL drawing is exactly the same as native drawing to make FLTK widget rendering look the same in GL windows. * Make OpenGL optional. * Implemented clipping in OpenGL * unites drawing fast shapes * Fixed CMake * Updating unittest. Added tests for fl_pi and fl_arc (int) Renamed tab to render complex shapes. * Improved OpenGL FLTK drawing emulation. * Fixed GTK ROUND DOWN BOX * Fixing Makefile for unittest * Correctly aligning OpenGL text. * Fixed text alignment in GL windows. Explained the "FLTK over GL " example in Cube. * Overlapping test. * Better GL graphics alignment. * Drawing the focus rect. * Adding Alpha Channel support for GL. * Added FLTK-on-GL documentation.
2022-02-05Minor improvement in Fl_Mac_App_Menu::custom_application_menu_items().ManoloFLTK
2022-01-29More natural shading for Checkers pieces.Matthias Melcher
2022-01-28Checkers pieces scaling.Matthias Melcher
2022-01-28New Checkers pieces created by me from scratch.Matthias Melcher
Remove possible licensing issues. Added vector file.
2022-01-28Remove obsolete image file (#31)Albrecht Schlosser
The checkers pieces are now maintained as .png images, the original (Gimp) image is obsolete.
2022-01-27Background color attribute for Fl_Text_Display. (#378)Matthias Melcher
* Background color attribute for Fl_Text_Display. * Adding attributes. * Avoid clipping horizontal * Fl_Text_Display underlining. * Better line positions * Typos, testing. * Documentation.
2022-01-26#31, HiDPI checkers, animation timingMatthias Melcher
2022-01-26Removed GL Button from test/cubeMatthias Melcher
2022-01-23Remove experimental platforms Android, Pico, SDL (PR #376)Albrecht Schlosser
... as discussed in fltk.coredev: "FLTK 1.4.0 release schedule" https://groups.google.com/g/fltkcoredev/c/PDbHTRpXVh0/m/JqboexZ_AwAJ
2022-01-21Fix compiler warnings [-Wunused-variable]Albrecht Schlosser
... and missing return value [-Wreturn-type]
2022-01-19Fixing and upgrading Fl_Preferences (#374)Matthias Melcher
* Added filename function to Fl_Preferences Static function to get filename before opening. Member to get filename after opening. Bug fixes for memory mapped preferences. * ERROR is a macro on Windows, don't use it * Added Fl_Preferences::dirty(). User can now check if the database will be written when flushed or destroyed. Flush returns a crude error code. * Fl_Preferences::get binary data returns # of bytes read. * Verified group deletion code * Fl_Preferences ignores locale. This will make .prefs files interchangeable between different computers. * Updating the Preferences Mode to ignore locale. * Fixes in docs.
2022-01-16Update fluid files and generated filesAlbrecht Schlosser
fluid/widget_panel.cxx: apply previous fluid fix
2022-01-16Rename FL/Fl_String_class.H to FL/Fl_String.HAlbrecht Schlosser
This is part 2 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-16Rename FL/fl_string.h to FL/fl_string_functions.hAlbrecht Schlosser
This is part 1 of the final fix for a previous name clash on case insensitive file systems (fl_string.h vs. Fl_String.H).
2022-01-05Fix whitespace and Makefile dependenciesAlbrecht Schlosser
No code changes
2022-01-01Tweak blocks game to use higher update rates and slightly larger window.Michael R Sweet
2021-12-19STR 3289: Fluid i18n, gettext, catguts improvementsMatthias Melcher
Removed some unneeded code.
2021-12-18Generate FL/fl_config.h rather than FL/abi-version.hAlbrecht Schlosser
... as discussed in fltk.coredev in thread "RFC: introduce public config header <FL/fl_config.h>", see: https://groups.google.com/g/fltkcoredev/c/xLCs1AIXMVo/m/MHZpQggzAQAJ - Rename abi-version.h to fl_config.h, rename input files, update dependencies, .gitignore, CMake, configure and Makefiles. - Include Cairo options in FL/fl_config.h - Rename FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT for consistency. - Include <FL/fl_config.h> in config.h and wherever necessary, fix include order (move FL/Fl.H to the top) and more. - Move USE_X11 to fl_config.h and rename to FLTK_USE_X11 - Do not include <config.h> in Cairo demo program which is no longer required in Cairo programs since FLTK 1.4.0
2021-12-18Remove unused and outdated demo, update dependenciesAlbrecht Schlosser
- remove test/connect.cxx - fix typos in comments in a related android file - update dependencies
2021-12-17GitHub #327: menu buttons will no longer grab arrow keys.Matthias Melcher
In Fluid, selecting a menu button, and selecting it again to make it movable would also grab the text input focus, which would prevent the enclosing window from using arrow key events to manipulate the selected widget.
2021-12-14Fix trailing whitespace and a MSVC compiler warningAlbrecht Schlosser
No code changes
2021-12-08Documentation on widget coordinates and layout, plus new test programs (#304)engelsman
Add coordinates and layout section to user manual add section to user manual to clarify the use of window-relative coordinates in both Fl_Group and Fl_Window containers, and include brief descriptions of current layout manager widgets in one place. add test/coordinates.cxx, test/wizard.cxx and related screenshots under documentation/src. update CMakeLists.txt, Makefile and .gitignore for new files. Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2021-12-06Fix whitespace errors (no code changes)Albrecht Schlosser
(1) convert tabs to spaces (2) remove trailing whitespace
2021-12-04Add fl_message_icon_label() function (STR #2762)Albrecht Schlosser
This message icon label (usually one character) will be used in the next call of one of the common dialogs. test/ask.cxx: use fl_message_icon_label()
2021-12-04Rename FL/Fl_String.H to FL/Fl_String_class.HAlbrecht Schlosser
The previous name existed already with different case (fl_string.h) in the FL folder which broke the build on macOS and Windows. This may be a temporary fix - until I find a better way.
2021-12-04Re-enable nested (aka recursive) common dialogs (STR 3242, #282)Albrecht Schlosser
Apply Fl_Dialog_r10831.patch as given in STR 3242: https://www.fltk.org/strfiles/3242/Fl_Dialog_r10831.patch Reformat, add missing pieces, rename private members, cleanup... Improve documentation, add fl_choice_n() (issue #282) New methods fl_input_str() and fl_password_str() return Fl_String
2021-11-26Fixes #297 - improvements for icon.cxx + icon() docsGreg Ercolano
2021-11-26Fixes warnings about test/icon.cxx in issue #296Greg Ercolano
2021-11-26Fix for issue #253: Remove xdbe supportManoloFLTK
2021-11-25Fix group nesting / end() statements in test/cube demoAlbrecht Schlosser
2021-11-19Disable confusing debug info in clipboard viewer demoAlbrecht Schlosser
Windows only, depends now on macro DEBUG_CLIPBOARD_DATA.
2021-11-18Add "Save PNG" feature to clipboard viewer demoAlbrecht Schlosser
2021-11-18Reformat and move clipboard demo from examples to test folderAlbrecht Schlosser
The clipboard demo is more a test program than an example and very useful even if the examples are not built. Also update dependencies.
2021-11-18Clearer GUI for test/deviceManoloFLTK
2021-11-16Fix remaining VS compiler warnings in test programsAlbrecht Schlosser
2021-11-16Add use of fl_capture_window() by test/deviceManoloFLTK
Also, rename fl_capture_window_part() to fl_capture_window().
2021-11-08Add missing files (executables) to .gitignore filesAlbrecht Schlosser
2021-11-08Add new resize examples to Makefile, update dependenciesAlbrecht Schlosser