summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-16Improve Fl_GTK_Native_File_Chooser_Driver in relation to FLTK windows.ManoloFLTK
Implement a new way to make the GTK file-chooser window modal-like by preventing any event processing by other FLTK windows. The new way is also no longer X11-specific.
2022-01-16Improve kdialog-based native file chooser.ManoloFLTK
Processing of all FLTK events as well as window resizing while the file chooser runs is suspended, Normal event processing and resizing is restored when chooser closes.
2022-01-14Move make_transient() to Fl_Posix_System_Driver from Fl_Screen_DriverManoloFLTK
2022-01-14Improve focus box drawing and documentationAlbrecht Schlosser
Add new method Fl_Widget::draw_focus(Fl_Boxtype t, int x, int y, int w, int h, Fl_Color bg) ... with background color for correct contrast testing (in Fl_Tabs) Draw the focus box of the "tabs" of Fl_Tabs widgets with the correct boxtype and background color. Make 'unsigned int visible_focus()' const so it can be used in 'const' methods. Do not draw the focus box if the per-widget focus box option is off.
2022-01-13Fixes #369Greg Ercolano
2022-01-13Fixes #362Greg Ercolano
2022-01-13Fixes issue #361.Greg Ercolano
2022-01-08Input Method support: have the auxiliary window follow when the focus window ↵ManoloFLTK
is moved.
2022-01-08Remove obsolete (dead) code from Fl_Group.cxxAlbrecht Schlosser
This code had been inactive at least since Mar 29, 2018.
2022-01-07Re-organize cross-platform support for text input methods.ManoloFLTK
FLTK 1.3 supports complex text input methods (TIMs) for the 3 platforms (X11, Windows, macOS). This support has an interface with FLTK that is common for X11 and Windows, via (undocumented) functions fl_set_spot(), fl_set_status() and fl_reset_spot(). In contrast, and because it's been developed independently, the interface between the macOS TIM and FLTK 1.3 is completely different : static functions FL::insertion_point_location() and Fl::reset_marked_text(). The present change implements a single TIM/FLTK interface used by all platforms based on functions fl_set_spot() and fl_reset_spot(). The previous macOS-specific functions FL::insertion_point_location() and Fl::reset_marked_text() are maintained only for compatibility with 1.3 and deprecated.
2022-01-07Add virtual void Fl_Graphics_Driver::set_status() and implement for X11 ↵ManoloFLTK
platform.
2022-01-05Fix whitespace and Makefile dependenciesAlbrecht Schlosser
No code changes
2022-01-04Fix build error with CMake when libjpeg???-dev package is absent from the ↵ManoloFLTK
system (Linux). The error was visible under Linux if OPTION_USE_SYSTEM_LIBJPEG and OPTION_BUILD_SHARED_LIBS are on.
2022-01-02Text input method for X11: fix for case when text widget is inside subwindow.ManoloFLTK
2021-12-29 Fix fullscreen window level corner cases on macOS - cont'dManoloFLTK
See long discussion in PR#277 at https://github.com/fltk/fltk/pull/277
2021-12-20Fix compiler warning [-Wignored-qualifiers]Albrecht Schlosser
In function ‘int glutExtensionSupported(const char*)’: warning: type qualifiers ignored on cast result type
2021-12-20GitHub #328: removed stray ';' in Fluid code generation.Matthias Melcher
2021-12-19Update fluid generated and .fl files (remove mac_shell...)Albrecht Schlosser
Commit updated .cxx files in src/ with fixed indenting Remove `mac_shell_*' statements from fluid (.fl) files
2021-12-19Fix for issue #344 : New/Delete Type Mismatch on WindowsManoloFLTK
2021-12-19Add check against NULL pointer (fix for issue #338).ManoloFLTK
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-17Updated Unicode utf8 byte limit in docs.Matthias Melcher
2021-12-17GitHub #233, documenting style buffers and utf8.Matthias Melcher
2021-12-17Fix broken buildAlbrecht Schlosser
sorry for the noise
2021-12-17Forms compatibility: use as_window() rather than type()Albrecht Schlosser
... and some more improvements and minor changes. No functionality changes. Note: this code is used in the fltk_forms library.
2021-12-17Fix a tiny documentation bugAlbrecht Schlosser
2021-12-17macOS platform: fix for issue #325 Disabling IM disables Greek and Cyrillic ↵ManoloFLTK
layouts Thanks to Pierre Ossman who gave the fix.
2021-12-14Fix trailing whitespace and a MSVC compiler warningAlbrecht Schlosser
No code changes
2021-12-14Windows platform and Input Methods: improve GUI scaling support.ManoloFLTK
2021-12-13Windows platform: account for GUI scaling when using input method.ManoloFLTK
2021-12-12Fix IME problem (issue #270)YX
2021-12-12X11 platform: account for GUI scaling in location of input method aux window.ManoloFLTK
2021-12-11Win32 platform: add support of "PROCESS_PER_MONITOR_DPI_AWARE" set via manifest.ManoloFLTK
2021-12-11Win32 platform: allow use of manifest to set the app's DpiAwareness level.ManoloFLTK
This fixes issue #309: FLTK 1.4 does not properly size window when using display scaling on Windows 10. FLTK now tests whether the app's DpiAwareness has been previously set, presumably via a manifest, before attempting to set it to FLTK's preferred level DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2
2021-12-10Stabilize resizing of common dialogs like fl_choice()Albrecht Schlosser
Thanks to Paul D. Hahn for finding these issues on his very old "CentOS 6 linux with g++ 5.1" system. For details see the very long thread "fl_choice() dialog apprearance discrepancy problem in 1.4" (typo intentionally ignored): https://groups.google.com/g/fltkgeneral/c/UQk3RRf-l4A/m/0GtPNv1CCQAJ
2021-12-09Remove compiler warnings about unused parameters (issue #307) - cont'dManoloFLTK
2021-12-08Update dependencies (no code changes)Albrecht Schlosser
Done after the first large commit of fluid changes.
2021-12-08STR 3460.C: Code Properties remembers the editor's scroll bar position.Matthias Melcher
2021-12-08Fix for issue #278 - continued : add CMake OPTION_USE_KDIALOGManoloFLTK
Use of the kdialog command by class Fl_Naive_File_Chooser can now be turned off at build-time through CMake OPTION_USE_KDIALOG. If building via configure + make, set #define USE_KDIALOG to 0 in config.h before make.
2021-12-07Fix for issue #278 - continuedManoloFLTK
Because kdialog can't select multiple directories, run the GTK chooser when BROWSE_MULTI_DIRECTORY is used.
2021-12-07Fix for issue #278: Can we use the qt/kde file picker instead of gtk?ManoloFLTK
Under the X11 platform, class Fl_Native_File_Chooser will behave as follows : - if the KDE desktop is used and if command "kdialog" is available in the path, the Qt/KDE file chooser is used; - otherwise, if the GTK library is available at run-time, the GTK file chooser is used; - otherwise, the FLTK file chooser is used. In addition, when Fl::OPTION_FNFC_USES_GTK is off, the FLTK file chooser is always used.
2021-12-07Fix for fltk.coredev "reentrant calls with Fl_Window::resize" - cont'dManoloFLTK
2021-12-06Fix whitespace errors (no code changes)Albrecht Schlosser
(1) convert tabs to spaces (2) remove trailing whitespace
2021-12-06Fix Fl_Window::size_range() documentation (STR 3352)Albrecht Schlosser
"Tiny window problem if child group larger than window" See Greg's comment 4: "something is wrong here: either the logic or the docs are incorrect, not sure which." It turned out that both were incorrect. Since we fixed the code this commit completes the STR by fixing the docs as well so they match the behavior.
2021-12-06macOS platform: compute the screen number where a top window is mapped.ManoloFLTK
2021-12-06Fix filename in doxygen comment, update dependenciesAlbrecht Schlosser
2021-12-05Fixes STR #3352: "tiny window problem if child group larger than window"Greg Ercolano
2021-12-05Fix MSVC compiler warningsAlbrecht Schlosser
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 src/Fl_String.cxx to src/Fl_String_class.cxxAlbrecht Schlosser
Sorry for the noise, still fixing a name class on case-insensitive file systems (macOS and Windows).