summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-03-06Small scrollbar fixesGreg Ercolano
2024-03-06Add horizontal scrollbar to Terminal widget (#928)Albrecht Schlosser
* Checkpoint. Basic functionality seems to be working. * Code cleanup * Added horizontal scrollbar to Terminal widget * Fix hscrollbar_size operation * Applied erco-terminal-mods_v5_final.patch.txt Final patch relating to PR 918 * Remove trailing whitespace, update copyright year --------- Co-authored-by: Jonathan Griffitts <jonathan.griffitts@gmail.com> Co-authored-by: Greg Ercolano <erco@seriss.com> Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
2024-03-05 Filechooser preview of XML file shows it as a corrupt image - cont'd (#926)ManoloFLTK
2024-03-04 Fix: Filechooser preview of XML file shows it as a corrupt image (#926)ManoloFLTK
2024-03-04Fullscreen window loses sys menu bar if 2nd window is opened (#924)ManoloFLTK
2024-03-04Fix Scaling window up/down also scales X/Y position on secondary displays ↵ManoloFLTK
only (#925)
2024-03-04Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)ManoloFLTK
2024-03-04X11: improve moving window back & forth across screens (#919)ManoloFLTK
2024-03-03Use Fl_Window_Driver::is_resizable() to check whether window can be resizedManoloFLTK
2024-03-03 X11: Window scaling makes window lose resizable status if resizable_ is ↵ManoloFLTK
NULL (#923)
2024-03-03A window needs is_resizable() true to obey fullscreen() or maximize()ManoloFLTK
2024-03-03Fix Visual Studio compiler warningsAlbrecht Schlosser
2024-03-02Added Fl_Terminal::text() and docsGreg Ercolano
2024-03-02Promote fl_strlcpy to <FL/fl_string_functions.h>Matthias Melcher
2024-03-02Fix regression introduced at 41740ca for non resizable windows - cont'dManoloFLTK
2024-03-02Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcutManoloFLTK
2024-03-02macOS: remove test that became useless after 5f20698ManoloFLTK
2024-03-01Windows: fix moving window with Windows+Shift+arrow (#919)ManoloFLTK
2024-03-01Windows: improve changing scale values of display while app runs.ManoloFLTK
2024-03-01Windows: fix issue if moving window back & forth across screens (#919)ManoloFLTK
2024-03-01Windows: make Ctrl/+/-/0/ scaling system-wide if all screens have same DPIManoloFLTK
2024-02-29Move recognition of Ctrl= out of Fl::test_shortcut(unsigned)ManoloFLTK
2024-02-28Fix a typo and the URL to an STR in a commentAlbrecht Schlosser
no code changes
2024-02-28Simplify code to recognize GUI rescaling shortcutsManoloFLTK
2024-02-27Fix regression introduced at 41740ca for non resizable windowsManoloFLTK
2024-02-27Improve prioritization of event handlers added at open display timeManoloFLTK
2024-02-27Minor optimization of macOS automatic Window menuManoloFLTK
2024-02-27macOS: Window menu of system menubar follows changes in active windowManoloFLTK
2024-02-27Stop GUI scaling when window is maximized or full screen (#919)ManoloFLTK
Don't rescale when any top window on same screen as focus window is fullscreen or maximized
2024-02-26Allow FL_COMMAND+'+' as macOS system menu shortcuts - cont'dManoloFLTK
2024-02-26Fix: Fl_Window::fullscreen() does not work correctly on Mac (#920)ManoloFLTK
2024-02-26Don't rescale when top window is fullscreen or maximized (#919)ManoloFLTK
2024-02-26Allow FL_COMMAND+'+' and FL_CTRL+'0' as menu shortcutsManoloFLTK
2024-02-23Fix Fl_Group::resize() for groups w/o resizable() (#917)Albrecht Schlosser
Improve code comments to clarify which cases are handled in a code block and why this is done. Subwindows have some special needs.
2024-02-21 Fix: fl_height(int, int) decreases the font size after each call (#915)ManoloFLTK
2024-02-20 Add scale_handler first so it has least priority of all handlersManoloFLTK
2024-02-20FL_MENU_TOGGLE/RADIO items do not update in macOS menu bar (#916)ManoloFLTK
2024-02-20Improve implementation of the macOS Window menuManoloFLTK
The macOS Window menu is connected to the item array of the macOS menubar via FL_SUBMENU_POINTER. This facilitates memorization of pointers to items of the macOS menubar because the item array no longer changes each time a window opens of gets closed.
2024-02-18Fix Terminal character position and add word selection (#906)Matthias Melcher
* Improve horizontal interactive selection * Using half-character positions to implement selection similar to Fl_Input. * Add word and line selection * Fix vertical position of text
2024-02-16Fixed Fl_Terminal xterm color 39/49 handling, and other mods.Greg Ercolano
Fixed a bug in the handling of xterm color 39 + 49, which avoids applying Dim/Bold if default color is the special "see through" color 0xffffff00. A test will be added to test/terminal to excercise this in a follow up commit. Renamed CharStyle::?gcolor_uchar() -> CharStyle::?gcolor_xterm() for a consistent naming convention. Changed fltk_fg_color() from a static func to a CharStyle method because it needs to access the defaultcolor for the special cases for xterm colors 39 and 49. Made CharStyle::attr_color() private, as per Jonathan Griffitts request in issue #909. Improved docs regarding effects of Dim/Bold for xterm and non-xterm color methods. Fl_Terminal::text?gcolor_xterm() methods now use CharStyle::?gcolor_xterm() methods, removing the duplicate code logic.
2024-02-16Fix Fl_Terminal xterm CharStyle charflags (#909)Greg Ercolano
2024-02-11Improve recognition of re-scaling shortcuts - cont'dManoloFLTK
2024-02-11Improve recognition of re-scaling shortcuts w/ various keyboard layoutsManoloFLTK
2024-02-11 KDE+X11 keyboard stops working after menu display (#904)ManoloFLTK
2024-02-09Change parameters of Fl_Wayland_Window_Driver::delete_cursor()ManoloFLTK
2024-02-08Improve Fl_Wayland_Window_Driver::hide()ManoloFLTK
2024-02-07Introduce "Modern CMake" in FLTKAlbrecht Schlosser
This is a big commit and there are too many changes to list them all. The main changes are: - rename all CMake build options to 'FLTK_*' - export library targets with namespace (prefix) 'fltk::' - standardize shared library target names with suffix '-shared' - set public build properties on libraries for consumers - document library names and aliases in README.CMake.txt - document changes in "Migrating Code from FLTK 1.3 to 1.4" - partial backwards compatibility for old user projects Included but not directly related changes: - fix Windows (Visual Studio) DLL build - add CMake function fl_debug_target() to show target properties - don't build test programs if FLTK is a subproject - internal: reformat CMake code: remove space before '(' Thanks to Matthias and Manolo for their help, testing, and feeback.
2024-02-07Fix Fl_Window::default_size_range() (#901)Albrecht Schlosser
Thanks to Manolo for the patch.
2024-02-06Fix window moving in Fl_Wayland_Window_Driver::resize()ManoloFLTK
2024-02-05Fl_Window_Driver::set_popup_window(), ↵ManoloFLTK
Fl_Screen_Driver::screen_boundaries_known() Fl_Window_Driver::set_popup_window() is to be used to declare a window should be positioned relatively to a previously mapped other window. This allows a platform to process such windows differently from other windows if needed. Menu and tooltip windows are so declared. A call to Fl_Window_Driver::set_popup_window() also allows to distinguish a real menu or tooltip window from a window marked by Fl_Window::set_menu_window() or by Fl_Window::set_tooltip_window() but that's not a real menu or tooltip. New member function bool Fl_Screen_Driver::screen_boundaries_known() returns true by default. A platform where the position of windows inside a screen is hidden (e.g., Wayland) returns false. This allows FLTK to refrain from trying to make sure a computed position is inside a screen.