summaryrefslogtreecommitdiff
path: root/test/handle_keys.cxx
AgeCommit message (Collapse)Author
2024-08-23Fix CTRL/META state display in test/handle_keys.cxx (macOS)Albrecht Schlosser
This changes only the display of the mentioned state bits in the test program, and only on macOS. Thanks to Manolo for finding and reporting this.
2024-08-08Simplify test/handle_keys.cxx and remove commentsAlbrecht Schlosser
2024-07-31Enable setting a fixed font for 'wine' in test/handle_keys.cxxAlbrecht Schlosser
... w/o editing a file. The default font is "Liberation Mono". Just set environment variable FLTK_USING_WINE=1 to enable this feature. Rationale: on /my/ current test system the font chosen by `wine` for FL_COURIER is a proportional font whereas the display in Fl_Terminal requires a fixed font for correct output. Font "Liberation Mono" solves this long standing issue for me w/o having to change source code but other Linux systems may require a different font.
2024-07-01Improve test/handle_keys.cxxAlbrecht Schlosser
- colorize output - improve formatting - log status of Fl::OPTION_SIMPLE_ZOOM_SHORTCUT
2024-03-18Fix VS compiler warning, write "copied" message to ttyAlbrecht Schlosser
... rather than popping up a message window.
2024-03-12Improve keyboard event test program: add copy buttonAlbrecht Schlosser
... to copy selected or the full text to the clipboard.
2024-03-12Fix several compiler warningsAlbrecht Schlosser
Three unrelated but only minor warnings.
2024-03-11Improve handling of events in test/handle_keys.cxxAlbrecht Schlosser
(1) Ensure that the terminal widgets doesn't use keyboard events. Advantage: keyboard navigation and selection doesn't interfere with the display. Drawback: Contents of the terminal can no longer be copied. This will be addressed in a later update. (2) Thanks to Manolo for his addition of the "GUI scaling" button. Although GUI scaling can be useful, it can also be annoying while testing shortcuts. (3) Changed all light buttons to check buttons.
2024-03-09Add another keyboard event test program test/handle_keys.cxxAlbrecht Schlosser
This program logs all keyboard events to a built-in Fl_Terminal widget. WIP: version 0.80