summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2023-07-14Documentation: screenshot updatesMatthias Melcher
2023-07-14Documentation: correct spelling errorsManoloFLTK
2023-07-13Documentation: details about how to position a window in screensManoloFLTK
2023-07-10More detailed documentation of Fl::screen_xywh()ManoloFLTK
2023-07-09Documentation: explain how to refresh GUI while printingManoloFLTK
2023-05-19 Fix Fl_Simple_Terminal::append(str, len) assumes a null terminated string ↵ManoloFLTK
(#728)
2023-04-17Add const qualifiers to can_undo and can_redo (#720)ZJUGKC
2023-04-15Fix compiler warning [-Wunused-parameter]Albrecht Schlosser
2023-04-14Fixed leak in Fl_Text_Buffer #716Matthias Melcher
2023-04-14Memory leak in Input_ #716Matthias Melcher
2023-04-13Fix trailing comma in enums of public headersAlbrecht Schlosser
Compiler warning: comma at end of enumerator list [-Wpedantic] Note 1: I decided to fix these warnings although trailing commas in enums are allowed at least since C++11. Note 2: I fixed only public headers because these headers may be compiled in user code. To do: check internal headers.
2023-04-13Fix misplaced 'const' [-Wignored-qualifiers]Albrecht Schlosser
warning: type qualifiers ignored on function return type
2023-04-13Fix compiler warning if user code is compiled with '-Wextra' (2)Albrecht Schlosser
Replace '(void*)' cast with '(fl_intptr_t)' because older gcc (4.8.2) issues a warning with '(void*)'.
2023-04-13Standardize API to "graphics context" across platformsManoloFLTK
Rename fl_wl_cairo() to fl_wl_gc() Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
2023-04-11Add public accessor methods Fl_Widget::needs_keyboard()Albrecht Schlosser
- add public getter and setter for - document the new methods - document that these methods are not yet used internally - remove unnecessary friend declaration 'NEEDS_KEYBOARD' flag - simplify Fl::focus(Fl_Widget *) using the new methods.
2023-04-11Fix compiler warning if user code is compiled with '-Wextra'Albrecht Schlosser
This commit fixes two similar warnings: "cast between incompatible function types from ‘void (*)(Fl_Widget*)’ to ‘void (*)(Fl_Widget*, void*)’ [-Wcast-function-type]"
2023-03-25More accurate documentation of function fl_wl_cairo()ManoloFLTK
2023-03-23Improve Fl_Cairo_Window documentation (typos + indentation)Albrecht Schlosser
Also fix a doxygen warning in Fl_String.
2023-03-18Fix and update alignment #346 (#701)Matthias Melcher
* interactive layout alignment rewritten * interface for new alignment rules * new alignment dialog box * user defined layout rules added * layout rules can be stored in projects, settings, and external files * Valgrind verification
2023-03-15Protect GL_SILENCE_DEPRECATION from re-definition.Rob McDonald
2023-03-14Cairo: introduce Fl::cairo_flush() in FLTK APIAlbrecht Schlosser
Flushing the Cairo context is necessary on Windows to make Cairo drawings appear on the device (screen). This new method makes it easy for user code to do this correctly after using Cairo drawings. - add Fl::cairo_flush(cairo_t *) - document Fl::cairo_flush(cairo_t *) - reformat Cairo doxygen docs and code (partially) - use the new method in Fl_Cairo_Window - use the new method in test/cairo_test.cxx - other minor (text) changes in test/cairo_test.cxx - add test/cairo_test to the demo menu (test/demo.menu)
2023-03-13Wayland: add support for multiple high or low DPI displaysManoloFLTK
2023-03-09Fix dependencies, typos, trailing whitespace, and formattingAlbrecht Schlosser
No code changes.
2023-03-09Remove Doxygen warning about incorrect #include directiveManoloFLTK
2023-03-09Remove warnings when fl_attr.h is compiled in CManoloFLTK
2023-03-09CMake: build shared libs with OPTION_CAIROEXT (issue #250)Albrecht Schlosser
- remove separate libfltk_cairo to avoid cyclic dependencies, but - keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility - move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx - add preliminary Cairo support for Visual Studio (MSVC) Static linking is not affected by this change, but users building with hand-made Makefiles will have to remove libfltk_cairo starting with FLTK 1.4.0. The dummy library can be linked for backwards compatibility but it will be removed later (in 1.4.x or 1.5.0). The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo if and only if FLTK is built with one of the Cairo options. This has always been the case for OPTION_CAIROEXT but is now also true if only OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo enabled shared FLTK library will also be linked with libcairo. The same is true for configure options --enable-cairo and --enable-cairoext, respectively. Preliminary Cairo support for MSVC now detects a Cairo installation using the CMake variable FLTK_CAIRO_DIR which must be set by the user. Note that this feature is temporary and may be changed in the future for a better and more comfortable version.
2023-03-01Fix regression: failed to build shared FLTK libsAlbrecht Schlosser
Add FL_EXPORT to some classes to make building shared libs possible. Building shared libs and 'fluid-shared' missed global symbols.
2023-02-25Add Fl_String to Fl_Preferences (#687)Matthias Melcher
2023-02-23Fl_String refactoring and extension (#683)Matthias Melcher
- add true unittest and Fl_String testing - interface and printout are similar to gtest without requiring external linkage. just run `unittest --core`. - new Fl_String API - extended API to fl_input_str and fl_password_str - co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2023-02-20Add GLUT_ELAPSED_TIME simulationMatthias Melcher
2023-02-15Move class Fl_Shortcut_Button from FLUID to core (#677) (#680)Matthias Melcher
2023-02-10Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676)Matthias Melcher
2023-02-10Deprecated warnings wording adaptedMatthias Melcher
2023-02-10Fixes FL_DEPRECATED for Fl_Text_Buffer.hMatthias Melcher
2023-02-10Fix typos in documentation and commentsAlbrecht Schlosser
(no code changes)
2023-02-09Expose elapsed time API (#670)Matthias Melcher
2023-02-06Document MSVC macro _MSVC_LANG for future use in fl_attr.hAlbrecht Schlosser
This macro defines the C++ standard used by the compiler since Visual Studio 2015 Update 3.
2023-02-06Fix "\todo Description of box types is incomplete" from Enumerations.HManoloFLTK
2023-02-06Fix "\todo Add a flag to ignore case" from Fl_Browser_.cxxManoloFLTK
2023-02-06Fix "\todo provide user documentation for fl_set_status function"ManoloFLTK
2023-02-06Fix "\todo Complete documentation of class Fl_String"ManoloFLTK
Also - fix "\todo Unicode?" in Fl_Text_Display::display_insert() after verification - fix "\todo [Internal] The user_data value must be implemented using \p fl_intptr_t" because that's now in place.
2023-02-06Fix "\todo FL_Button and FL_key... constants could be structured better"ManoloFLTK
2023-02-06Use correct Doxygen syntax for "member groups"ManoloFLTK
2023-02-05Remove a bunch of \todo items from documentationManoloFLTK
2023-02-05Better document Fl_Window::show(int, char**)ManoloFLTK
This removes one \todo.
2023-02-05Doxygen fix for FL_DEPRECATEDMatthias Melcher
2023-02-04Improve documentation of the Fl_Cursor enumerationManoloFLTK
2023-02-02Missing include for FL_DEPRECATEDMatthias Melcher
2023-02-02Fix position() methods that shadow Fl_Widget::position()Matthias Melcher
* `FL_DEPRECATED` macro to mark `position()` method that shadow `Fl_Widget::position()` #69 (#666)
2023-02-02Fix documentation of FL/Fl_Box.HAlbrecht Schlosser