summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-27Add Fl_Option::OPTION_SHOW_SCALING to fluid's "Global FLTK Settings".ManoloFLTK
2020-09-25More Doxygen information for enum Fl_Paged_Device::Page_Format.ManoloFLTK
2020-09-23Solves issue #143.Greg Ercolano
2020-09-23Add Doxygen doc of "static unsigned Fl_Graphics_Driver::need_pixmap_bg_color"ManoloFLTK
2020-09-21macOS: minor improvement of capture of window titlebar.ManoloFLTK
2020-09-21PDF docs: generate LaTeX header file from sourceAlbrecht Schlosser
The LaTeX header file used when creating PDF documentation depends on the doxygen and latex versions, respectively. The old header file 'documentation/src/fltk-book.tex.in' had been generated manually and needed to be updated for new doxygen versions which made the PDF documentation generation dependent on the doxygen/latex versions on the build system. The new LaTeX header file 'fltk-book.tex' is generated by doxygen, i.e. taking into account the doxygen and latex versions on the build system and "edited" to include the page title defined in the new file 'documentation/src/fltk-title.tex.in'. This makes the PDF documentation independent of the doxygen and latex versions of the build system.
2020-09-21Improve and clarify documentationAlbrecht Schlosser
2020-09-19Fix when building with SDK 10.15 and running with 11.0 Big SurManoloFLTK
When FLTK runs under macOS "Big Sur", the OS appears as 11.0 if FLTK was built with SDK 11.0 and as 10.16 it it was built with SDK 10.15.
2020-09-19macOS: increase resolution when drawing window titlebars to PostScriptManoloFLTK
2020-09-18Avoid CMake developer warning related to OpenGL/CMP0072Albrecht Schlosser
Newer CMake versions warn if CMake policy CMP0072 is not set. We're using "legacy mode" since we use FindOpenGL with `OPENGL_LIBRARIES` and not (yet) the `OpenGL::GL` target. See https://cmake.org/cmake/help/latest/policy/CMP0072.html
2020-09-18Improve Fl_Menu_Item docs and inline deprecated methodsAlbrecht Schlosser
The deprecated methods are now calling the new methods to be entirely compatible. These methods should be removed in 1.5.0 (fix unrelated whitespace as well)
2020-09-18Fix doxygen warnings for newer doxygen versionsAlbrecht Schlosser
Paper type "a4wide" is no longer accepted (by doxygen or latex) for PDF generation, the other settings have been obsoleted by doxygen 1.8.16. Commented out for now to keep backwards compatibility with doxygen versions 1.8.15 and earlier.
2020-09-18More detailed doc of Fl_Image_Surface::image()ManoloFLTK
2020-09-18Fix use of "\deprecated" Doxygen commands.ManoloFLTK
2020-09-18Fix doxygen warningAlbrecht Schlosser
warning: Invalid section id `development_non'; ignoring section
2020-09-18Return 1 from Fl_Menu_Item::value() for checked itemsAlbrecht Schlosser
Previously (FLTK 1.3.x) the return value of a checked menu item was FL_MENU_VALUE (4) but the docs warned explicitly: "You should not rely on a particular value, only zero or non-zero."
2020-09-17Noted unused variable in Fl_Text_Display..Greg Ercolano
2020-09-16Added Fl_Text_Display::style_buffer(), solves issue #138Greg Ercolano
2020-09-16Removed incorrect docs, solves issue #137Greg Ercolano
2020-09-16Fix fluid output for international languagesAlbrecht Schlosser
The fluid version and other values in .fl files are written as float values which means that locale settings apply since we enabled the locale with "setlocale()". Update the "rebuild" target in fluid and src folders to update the fluid (.fl) files and related {.cxx|.h} files.
2020-09-10Update config.guess and config.subAlbrecht Schlosser
See misc/update_config_scripts
2020-09-09More detailed doc of Fl_Window::decorated_w() and decorated_h().ManoloFLTK
2020-09-07Fine tune GitLab-CI scriptAlbrecht Schlosser
Also: update documentation copyright year.
2020-09-07Reduce GitLab CI/CD build time due to new limitsAlbrecht Schlosser
GitLab Free account CI/CD limits effective Oct 1, 2020 will be 400 minutes per month. Trying to keep build time below the limit.
2020-09-07Fix position of the "Return" button.ManoloFLTK
2020-09-07Further minor change to support macOS 11.0 "Big Sur".ManoloFLTK
2020-09-06Fix Fl_Check_Browser.{H|cxx} indentation (#121) (#132)Albrecht Schlosser
* Fix Fl_Check_Browser.{H|cxx} indentation (#121) ... and some more whitespace errors as proposed by Greg ... in issue #121: Fl_Check_Browser--whitespace-patch.txt Fixes #121 * Fix copyright years
2020-09-01Fix version number in exported file FLTKConfig.cmakeAlbrecht Schlosser
2020-09-01Fix issue with Fl_Tiled_Image: did not correctly drawfire-eggs
... to sub-region of widget. Original patch (PR #114) modified by Albrecht-S: - fixed whitespace - removed modifications of test/unittest_images.cxx
2020-09-01Customize corner radius for rounded box/frame (#130)Albrecht Schlosser
Make maximum box corner radius and shadow width configurable. See Fl::box_border_radius_max() and Fl::box_shadow_width(). Documentation: update image of box types. Fixes #130
2020-08-31Fix for cmake + macOS + OPTION_APPLE_X11 regarding GLU-using apps.ManoloFLTK
2020-08-31make + macOS: further fix to the construction of fltk-configManoloFLTK
2020-08-30Fix to support macOS 11.0 "Big Sur"ManoloFLTK
2020-08-27Remove VERSION_GREATER_EQUAL that requires a more recent CMake version than ↵ManoloFLTK
3.2.3 Replace it by (NOT VERSION_LESS)
2020-08-26Fix cmake-based build under macOS with OPTION_APPLE_X11.ManoloFLTK
cmake now correctly finds GLU support when present.
2020-08-26Fix for cmake-based construction of the fltk-config script under macOS.ManoloFLTK
This also supports OPTION_APPLE_X11 and OPTION_USE_PANGO.
2020-08-26macOS: don't create bundles when using X11Albrecht Schlosser
2020-08-25Towards construction of fltk-config by CMake under macOS (WIP).ManoloFLTK
2020-08-24Improve 'Fl_When' enum documentationAlbrecht Schlosser
2020-08-22Fix .clang-format and some whitespace errorsAlbrecht Schlosser
.clang-format: UseTab: ForIndentation -> Never Update fluid generated files
2020-08-21Fix examples build (configure/make)Albrecht Schlosser
Fix more issues caused by moving fltk-versions from examples to test and adding examples to the CMake build process (gitlab-ci)
2020-08-21CMake: add feature and configuration summaryAlbrecht Schlosser
2020-08-21CMake: add examples folder to build (optional)Albrecht Schlosser
- replace misnamed option 'OPTION_BUILD_EXAMPLES' with 'FLTK_BUILD_TEST' - add option 'FLTK_BUILD_EXAMPLES' to build apps in examples folder - move examples/fltk-versions.cxx to test/fltk-versions.cxx - [Travis-CI] enable option 'FLTK_BUILD_EXAMPLES' for automatic builds
2020-08-21Remove platform specific code from test appsAlbrecht Schlosser
Test programs that open files don't use platform specific code. They don't open files from macOS bundles. Support files must either be in the current working directory or given on the command line. On macOS this requires a full path when using bundles.
2020-08-21CMake: move test executables to build/bin/testAlbrecht Schlosser
2020-08-20Fluid: when linking include LDFLAGS orderMichael Dickens
LDFLAGS often contains "-L*" flags as provided outside the build to tell the linker where to search for libraries. If these are included -before- the ones used for internal linkage as found in LINKSHARED, and FLTK is already installed on the system, then the already-installed FLTK libraries will be found before those internal to the build. Moving the LDFLAGS after LINKSHARED generally solves this issue. Worst case the move won't hurt linking since all of the flags are still included in the link command.
2020-08-20Fix link and comments in example programAlbrecht Schlosser
The mentioned link to fltk.general was incorrect; fixed and added thread title for further reference. Fixed typo and adjusted comments.
2020-08-18CMake: Fix macOS bundle wrapper generationAlbrecht Schlosser
Now bundle wrapper scripts are created in the particular build folder, i.e. in subdir 'Debug', 'Release' etc. in multi config builds (Xcode). To do this, the scripts are now copied whenever the target is built and not during the configuration phase. To do: "install" wrapper scripts.
2020-08-17Make recent changes to support macOS 11.0 "Big Sur" active with 11.0 only.ManoloFLTK
An optimisation used for drawing to windows is not possible under 11.0. This commits reinstalls it under macOS 10.14 and 10.15.
2020-08-15Fix compiler warning in example [-Wliteral-suffix]Albrecht Schlosser
[gcc] warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]