summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2022-07-05Documentation: add missing mentions of the Wayland platform.ManoloFLTK
2022-07-04Documentation: add Wayland-related information for use of OpenGL 3.ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2022-05-11Remove warning: 'virtual void Fl_Graphics_Driver::xyline(int, int, int, ↵ManoloFLTK
int)' was hidden.
2022-05-09Cleaner declaration of public function fl_wl_cairo().ManoloFLTK
2022-04-20Improve docs of Fl_Image and related classes (#431)Albrecht Schlosser
Clarifications as discussed since April 15, 2022 07:00 UTC (see GitHub issue #431).
2022-04-15Fix documentation typoAlbrecht Schlosser
Fix missing opening quote. (#431 cont'd)
2022-04-15Clarify documentation of Fl_Image::copy() and more (#431)Albrecht Schlosser
- emphasize that Fl_Image::copy(W, H) creates an image with w() == data_w() == W and h() == data_h() == H - clarify some more docs of Fl_Image methods (ensure that data_w() and data_h() are used where appropriate rather than w() and h() - improve wording, examples, and formatting of related docs. Closes #431
2022-04-14Fix for issue #429 : Segfault with Ctrl+/- with current git versionManoloFLTK
2022-04-13Make Fl_Image::copy() 'const', including all derived classesAlbrecht Schlosser
Copying an image does not (and must not) change the original object, hence copy() should always be 'const'. This is *necessary* if the given Fl_Image object is 'const'.
2022-04-13Fix for issue #427 - continued.ManoloFLTK
2022-04-12Fix for issue #427: Problems with data_w, data_h, w, h of Fl_Image.ManoloFLTK
2022-04-07Add note to doc of Fl_Cairo_Window about required build option.ManoloFLTK
2022-04-07Update doc of struct Fl_Menu_Item whose shortcut_ member is now an int.ManoloFLTK
2022-04-03Remove '#include <sys/stat.h>' from FL/platform_types.hAlbrecht Schlosser
- Add this include statement only where needed. - Rename Fl_System_Driver::stat() to flstat(). This fixes an issue when using some (!) MinGW 64-bit build systems that obviously '#define stat _stat64' or similar. This would result in compiler problems if 'stat()' is a member function of Fl_System_Driver.
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-31Add support of Fl_Region to the Cairo graphics driverManoloFLTK
and remove it from the Wayland graphics driver.
2022-03-30Add method Fl_Shared_Image::image()Albrecht Schlosser
This public method returns a pointer to the internal Fl_Image object (const Fl_Image *). This is only for reference, the internal image must not be modified by user code but it can be inspected and copied to another image.
2022-03-27Wayland: replace public fl_event_time by static wld_event_time.ManoloFLTK
2022-03-26Add `const` to Fl_Image::fail() (PR #415)YX
2022-03-25Update documentation and dependenciesAlbrecht Schlosser
2022-03-24Remove platform-dependent type Fl_Bitmask (not in documented public API).ManoloFLTK
2022-03-23Wayland: replace global fl_display by function struct wl_display ↵ManoloFLTK
*fl_wl_display().
2022-03-21Avoid using same name (p) for distinct members of derived classes.ManoloFLTK
2022-03-21Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing.ManoloFLTK
2022-03-21Issue #359 RFE: access the MacOS windowid .ManoloFLTK
2022-03-20Improve documentation of Fl_Image::copy()Albrecht Schlosser
Mention the new Fl_Image::release() method to delete all types of images.
2022-03-10Begin documenting the Wayland platform, new in FLTK version 1.4ManoloFLTK
2022-03-07Improve documentation on Fl_Menu_Item's and related methods (#332)Albrecht Schlosser
See discussion on GitHub Issue #332. Summary: don't change FLTK code but document what to do and not to do.
2022-03-04Add the Wayland platform to FLTK 1.4ManoloFLTK
2022-03-03Fix whitespace, update dependencies and fluid filesAlbrecht Schlosser
2022-03-01Fix default size_range() calculation (issue #392, STR 3352)Albrecht Schlosser
2022-02-22X11: Disable "boxcheat" hackAlbrecht Schlosser
For details see comment in src/Fl_x.cxx: this "Hack to speed up bg box drawing" is now disabled for several reasons. The code is still available if the macro ENABLE_BOXCHEAT is defined.
2022-02-21Remove obsolete/disabled "boxcheat" codeAlbrecht Schlosser
Windows platform: Remove comments about obsolete code and one exported declaration of the variable 'fl_background_pixel' which is used only on the X11 platform. X11 platform: Remove comments. Other platforms: not affected.
2022-02-21DOC: Provide a link to the "FLTK Standard Box Types" image (#397)Kevin Routley
* Provide a link to the "FLTK standard box types" image The doc for Box Types has the text "see figure 1" which does not exist! [It is figure 5.3 in PDF, no number in HTML]. This change provides a hyperlink which allows the reader to actually navigate to the cited figure. Confirmed to work as desired in HTML; I don't have LATEX so cannot confirm the PDF. * Add figure title "Standard Box Types" (#397) Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2022-02-13Fix documentation error in Fl_Tabs (#391)Kevin Routley
2022-02-12expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser (#80)silverduner
* expose position(int, int), x(), y(), w() and h() from Fl_File_Chooser for positioning * exposed size() and resize() in Fl_File_Chooser.
2022-02-08More detailed doc of Fl_Window::decorated_h() for X11 platform.ManoloFLTK
2022-02-07Add note about use of Fl_Window::decorated_h() under the X11 platform.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-03Fl_Preferences (X11): Fix detection of preferences directoryAlbrecht Schlosser
- Fix compiler warning [-Wmaybe-uninitialized] for variable home - Reformat enum 'Root' for better readability - Add new enum values CORE_SYSTEM_L and CORE_USER_L - Improve documentation (deprecated and new enums) - Initialize internal static variable 'filename' which could be used uninitialized and thus return any previous value (type == MEMORY)
2022-02-02macOS: add "Toggle printing of titlebar" to application menu - cont'd.ManoloFLTK
2022-02-02macOS: add "Toggle printing of titlebar" to application menu.ManoloFLTK
2022-01-31Consolidate timeout handling across platforms (#379)Albrecht Schlosser
Add Fl_Timeout class Move platform independent code of Fl::wait() to main part - basic timeout handling - Fl::run_checks() - Fl::run_idle() - Fl::idle() - waiting time calculation (next timeout) - remove platform dependent "screen driver" stuff
2022-01-30Adding Text_Display color variables. (#384)Matthias Melcher
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-23Preferences XDG path (#377)Matthias Melcher
* Preferences: remove CamelCase from public interface. * Prefs: documentation. * Prefs: updating Doxygen comments * XDG conforming preferences path
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-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-16Issue #358 cont'd: Fl_Cairo_Window coord system docsGreg Ercolano
Elaborated on Fl_Cairo_Window's use of FLTK style coordinates, and how this differs from cairo's default native normalized coordinate system, and shows how to switch from one to the other. Also, small comment fix to the cairo example regarding the "X" color.