Greg Ercolano
6668c7ef42
Fix Fl_Terminal horiz scrollbar appearing needlessly ( #930 )
1 year ago
Albrecht Schlosser
62d85333bd
Improve handling of events in test/handle_keys.cxx
...
(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.
1 year ago
ManoloFLTK
483729f4f8
macOS: Fullscreen window loses sys menu bar if 2nd window is opened ( #924 )
1 year ago
ManoloFLTK
20e8da9dfd
Fix: Filechooser preview of XML file shows it as a corrupt image ( #926 )
1 year ago
Albrecht Schlosser
7bbe75c84e
Add another keyboard event test program test/handle_keys.cxx
...
This program logs all keyboard events to a built-in Fl_Terminal widget.
WIP: version 0.80
1 year ago
Albrecht Schlosser
290e95eaef
Use FL_Alt_Gr key definition in test/keyboard
...
... and reformat key definition table
1 year ago
Albrecht Schlosser
602cd7a990
Use fixed font in test/clipboard for text display
...
This is more like a text editor would display text.
Todo: make the font selection optional (later).
1 year ago
Albrecht Schlosser
c8960dd4e2
Add key name FL_Alt_Gr for AltGr on international keyboards
1 year ago
Greg Ercolano
dd73389f40
Small scrollbar fixes
1 year ago
Albrecht Schlosser
3ac007541e
Add horizontal scrollbar to Terminal widget ( #928 )
...
* 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>
1 year ago
ManoloFLTK
0f8649f3c4
Filechooser preview of XML file shows it as a corrupt image - cont'd ( #926 )
1 year ago
Albrecht Schlosser
4c0a2ffb81
Fix shortcut (Esc) handling in test/keyboard.cxx
...
Esc is intentionally consumed by the test program (see comment) but
other keystrokes (shortcuts) must pass to allow zooming with ctrl/+/-/0.
The old code filtered all shortcuts which turned out to be wrong.
Not being able to zoom was caused by a previous commit that lowered
the priority of the zoom key handler - which alone was not wrong.
1 year ago
ManoloFLTK
72840ea2c1
Fix: Filechooser preview of XML file shows it as a corrupt image ( #926 )
1 year ago
ManoloFLTK
ad7d1dc1c6
Fullscreen window loses sys menu bar if 2nd window is opened ( #924 )
1 year ago
ManoloFLTK
a0ff3f6f5c
Fix Scaling window up/down also scales X/Y position on secondary displays only ( #925 )
1 year ago
ManoloFLTK
7777a503ad
Implement Fl_Wayland_Screen_Driver::base_scale(int numscreen)
1 year ago
ManoloFLTK
5ba756e60a
X11: improve moving window back & forth across screens ( #919 )
1 year ago
ManoloFLTK
f87aad7464
Use Fl_Window_Driver::is_resizable() to check whether window can be resized
1 year ago
ManoloFLTK
bbbc3a739c
X11: Window scaling makes window lose resizable status if resizable_ is NULL ( #923 )
1 year ago
ManoloFLTK
130f5b6dc1
A window needs is_resizable() true to obey fullscreen() or maximize()
1 year ago
Albrecht Schlosser
d832ab742a
Fix Visual Studio compiler warnings
1 year ago
ManoloFLTK
2e315e5424
native-filechooser: add call to fl_register_images() and explain why
1 year ago
ManoloFLTK
4db9391525
Update doc about Ctrl/+/-/0/ zoom shortcuts
1 year ago
Greg Ercolano
257e20e929
Added Fl_Terminal::text() and docs
1 year ago
Matthias Melcher
f1c9b198bb
Promote fl_strlcpy to <FL/fl_string_functions.h>
1 year ago
Matthias Melcher
4ccadff4b9
Fix test/editor use of strncy to strlcpy
1 year ago
Matthias Melcher
ec9430e744
FLUID: comments, typos, formatting
1 year ago
ManoloFLTK
7fea97c7a7
Fix regression introduced at 41740ca
for non resizable windows - cont'd
1 year ago
Matthias Melcher
c9f54ad744
fltk-options: enlarge text area for Linux fonts
1 year ago
ManoloFLTK
b74099c5fd
Add OPTION_SIMPLE_ZOOM_SHORTCUT to fine tune zoom-in shortcut
1 year ago
ManoloFLTK
a76229972e
macOS: remove test that became useless after 5f20698
1 year ago
ManoloFLTK
34b8801fed
Windows: fix moving window with Windows+Shift+arrow ( #919 )
1 year ago
ManoloFLTK
cc15700bdb
Windows: improve changing scale values of display while app runs.
1 year ago
ManoloFLTK
266647d2a7
Windows: fix issue if moving window back & forth across screens ( #919 )
1 year ago
ManoloFLTK
0eef561e7b
Windows: make Ctrl/+/-/0/ scaling system-wide if all screens have same DPI
1 year ago
ManoloFLTK
5f2069871d
Move recognition of Ctrl= out of Fl::test_shortcut(unsigned)
1 year ago
Albrecht Schlosser
367826979d
Fix a typo and the URL to an STR in a comment
...
no code changes
1 year ago
ManoloFLTK
f4fb973c5d
Simplify code to recognize GUI rescaling shortcuts
1 year ago
ManoloFLTK
fa7fe31372
Document GUI scaling shortcuts - cont'd
1 year ago
ManoloFLTK
0359ecd53b
Document how GUI scaling shortcuts FL_COMMAND/+/-/0/ work
...
Document also how to deactivate them.
1 year ago
ManoloFLTK
eb3977ac43
Fix regression introduced at 41740ca
for non resizable windows
1 year ago
ManoloFLTK
fc46e771cd
Improve prioritization of event handlers added at open display time
1 year ago
ManoloFLTK
746cbf861a
Minor optimization of macOS automatic Window menu
1 year ago
ManoloFLTK
4863f959c8
macOS: Window menu of system menubar follows changes in active window
1 year ago
ManoloFLTK
f35ae7122d
Stop GUI scaling when window is maximized or full screen ( #919 )
...
Don't rescale when any top window on same screen as focus window is fullscreen or maximized
1 year ago
ManoloFLTK
3f794d3abe
Allow FL_COMMAND+'+' as macOS system menu shortcuts - cont'd
1 year ago
ManoloFLTK
0818d4ec5b
Fix: Fl_Window::fullscreen() does not work correctly on Mac ( #920 )
1 year ago
ManoloFLTK
41740caa2e
Don't rescale when top window is fullscreen or maximized ( #919 )
1 year ago
ManoloFLTK
2ea5291821
Allow FL_COMMAND+'+' and FL_CTRL+'0' as menu shortcuts
1 year ago
Albrecht Schlosser
77c726c79c
CMake/macOS/X11: fix "FINK" search directories
...
note: use only if found.
Todo: check if we can get rid of explicit directory names like /opt/sw,
/sw, /opt/X11, ...
1 year ago