Albrecht Schlosser
8dfb83d990
Add missing FL_EXPORT for Windows shared lib build
2023-08-26 17:24:20 +02:00
Matthias Melcher
92ac709b7e
Adds safe versions of fl_filename_*, returning Fl_String
2023-08-26 16:48:28 +02:00
Matthias Melcher
3ed43363cd
FLUID: fixes file path calculation bug
2023-08-26 16:10:02 +02:00
Matthias Melcher
94a75b012f
Fixes a bunch of typos in comments.
2023-08-26 15:17:28 +02:00
ManoloFLTK
d9d474c593
Wayland.dox: add paragraph about rendering under Wayland
2023-08-25 16:19:12 +02:00
ManoloFLTK
afc60b2503
Update to libdecor ca6e6b68 dated 25-aug-2023
2023-08-25 15:06:27 +02:00
ManoloFLTK
85ec2642c0
Wayland.dox: remove obsolete paragraph.
2023-08-24 17:03:42 +02:00
ManoloFLTK
46fab88c7f
Remove unneeded #include directive
2023-08-24 09:49:03 +02:00
ManoloFLTK
ee0f173d9f
Undo commit 5ea7a04
which requires Mutter V12
...
That commit's goal was to use an algorithm that does not assume
that number keys are at keycodes 10-19, which may not hold with
"special" keyboards. Unfortunately, the new algorithm requires
Mutter V12 and fails with Mutter V11, used by Debian 12.
2023-08-23 15:59:04 +02:00
ManoloFLTK
f456f2550a
Upgrade bundled zlib to version 1.3 dated 18-aug-2023
2023-08-23 12:29:03 +02:00
ManoloFLTK
c61d6bc46a
Wayland: fix regression in menu positioning brought by c43cf2f
2023-08-22 15:33:13 +02:00
ManoloFLTK
ac7c3297fa
Undo commit 0a31225
which killed "caps lock"
2023-08-20 19:20:25 +02:00
ManoloFLTK
0a312259a2
Simpler function process_wld_key(()
2023-08-20 18:58:37 +02:00
ManoloFLTK
5ea7a0465e
Wayland: process number keys independently of keyboard layout
...
The new algorithm supports alternate keyboard layouts, e.g., Dvorak.
2023-08-20 16:29:14 +02:00
ManoloFLTK
fc339b4319
Remove redundant initialisation
2023-08-20 09:34:44 +02:00
ManoloFLTK
442faf9462
Create class function Fl_Wayland_Graphics_Driver::custom_offscreen()
2023-08-20 09:10:55 +02:00
ManoloFLTK
3384776f8e
Improve handling of type Fl_Offscreen under Wayland
...
Type Fl_Offscreen is now to be cast to cairo_t*.
Also, make sure the dimensions of GL windows are
multiples of the screen scale factor.
2023-08-18 18:02:35 +02:00
ManoloFLTK
64f64835dd
Fix typos in names of Doxygen items ( #729 )
2023-08-17 08:22:25 +02:00
ManoloFLTK
336bd01f16
X11 platform: give number keys layout-independent keysym's
...
Without this, the sudoku app is unusable with a French keyboard
2023-08-16 12:35:50 +02:00
ManoloFLTK
754340e101
macOS audio is usable with XQuartz
2023-08-16 11:18:19 +02:00
ManoloFLTK
4aae2d1224
Allow build of sudoku app with macOS + XQuartz
2023-08-16 10:27:41 +02:00
Matthias Melcher
34db9e8bf7
FLUID fix: sets initial size range for windows
2023-08-15 23:12:39 +02:00
Matthias Melcher
e8b378302c
Undoing previous changes
2023-08-15 22:59:07 +02:00
Matthias Melcher
cfe5b2d6e1
THE LAST SIX COMMITS ARE INVALID AND WILL BE REVERTED
2023-08-15 17:52:59 +02:00
Matthias Melcher
3b093e895b
Lot's of changes, must rethink UI.
2023-08-15 17:09:51 +02:00
Matthias Melcher
af22676abf
Missing includes
2023-08-15 17:09:51 +02:00
Matthias Melcher
0de186e614
Sudoku into smaller pieces.
2023-08-15 17:09:51 +02:00
Matthias Melcher
a1b55385e3
Random testing and fixing.
2023-08-15 17:09:51 +02:00
Matthias Melcher
d27188198a
Removed unused code
2023-08-15 17:09:51 +02:00
Matthias Melcher
0c8083a06d
Adding generator
2023-08-15 17:09:51 +02:00
Matthias Melcher
10d9010ed9
Improved, yet compatible, widget callback system using macros ( #729 )
...
* adds FL/fl_callback.macros.H
* adds FL_FUNCTION_CALLBACK_n(widget, function, [type, data])
* adds FL_METHOD_CALLBACK_n(widget, class, instance, method, [type, data])
* adds FL_INLINE_CALLBACK_n(widget, [type, name, data], callback_body)
* adds `examples/callback`
* full documentation
2023-08-15 11:36:58 +02:00
ManoloFLTK
e6440ca0a8
Wayland mouse wheel support: compositors can behave differently
2023-08-15 08:44:53 +02:00
Albrecht Schlosser
3c7610ec23
Handle shift + mousewheel event on Wayland (STR 3521)
...
Pressing the shift key while using the mousewheel changes
horizontal to vertical scrolling and vice versa. This allows users
with a standard mouse with only one scrollwheel to use it for both
scrolling directions.
This concludes "handling shift + mousewheel" for all supported platforms.
2023-08-14 16:57:33 +02:00
Albrecht Schlosser
847901623a
Handle shift + mousewheel event on Windows (STR 3521)
...
Pressing the shift key while using the mousewheel changes
horizontal to vertical scrolling and vice versa. This allows users
with a standard mouse with only one scrollwheel to use it for both
scrolling directions.
Note: other mice that have either two buttons or a scroll ball can
generate both horizontal and vertical scrolling in one action. This
commit does not affect such behavior.
This patch is different than the one in file 'scroll.patch' (STR 3521).
It takes care of distinct mousewheel delta calculation for vertical
and horizontal mousewheels and avoids the "fallthrough" case.
Note: macOS takes care of this, there's no special handling required.
To do: the Wayland platform still needs to be updated.
2023-08-13 17:44:00 +02:00
Albrecht Schlosser
8c5c7aa7f4
Handle shift + mousewheel event on Linux (STR 3521)
...
Pressing the shift key while using the mousewheel changes
horizontal to vertical scrolling and vice versa. This allows users
with a standard mouse with only one scroll button to use it for both
scrolling directions.
Note: other mice that have either two buttons or a scroll ball can
generate both horizontal and vertical scrolling in one action. This
commit does not affect such behavior.
This patch has been provided by Manolo in file 'scroll.patch'
(see STR 3521).
2023-08-13 17:07:26 +02:00
Matthias Melcher
5e484524c8
Fl_Tabs now supports horizontal mouse wheel events.
2023-08-13 14:32:41 +02:00
Aditya Siram
17d0a4cc5f
Fix access to Cairo context.
2023-08-12 23:18:09 +02:00
Matthias Melcher
7cdbc189f0
Another occurrence of bad escape sequence.
2023-08-12 23:07:10 +02:00
Matthias Melcher
01075687cf
#765 : Replaces uncommon escape sequence.
...
Missing return value in docs.
2023-08-12 23:05:03 +02:00
Albrecht Schlosser
76fb2d5b79
Reformat code, remove obsolete comments
...
No effective code changes, i.e. only formatting, indents and comments.
2023-08-10 15:40:45 +02:00
Albrecht Schlosser
dbb77b9657
Improve docs of Fl::hide_all_windows()
...
+ update fluid dependencies
No code changes.
2023-08-10 15:16:01 +02:00
ManoloFLTK
21fdd42838
macOS: add extra comment explaining need for PPC-specific source code
2023-08-09 21:15:20 +02:00
Sergey Fedorov
356ccc4b70
Fl_cocoa.mm: fix Apple macro for PPC case
2023-08-09 21:07:01 +02:00
ManoloFLTK
1943fe54c8
Wayland: fix fl_read_image() from offscreen buffer
2023-08-09 10:31:36 +02:00
Matthias Melcher
06e8cf98a6
FLUID: i18n panel redraw fix
2023-08-08 18:03:23 +02:00
Matthias Melcher
f9e206e013
Missing lines in Unix README
2023-08-08 17:14:08 +02:00
ManoloFLTK
27c3d0b780
Wayland: improve layout of struct fl_wld_draw_buffer
2023-08-08 16:08:53 +02:00
ManoloFLTK
45d119eb3c
Move repeated code to Fl_Wayland_Graphics_Driver::cairo_init()
2023-08-08 09:05:12 +02:00
ManoloFLTK
a98aaecf97
Fix for Broken "cube" demo ( #762 )
...
This commit fixes an error in the cube demo appearing specifically with the AMD Radeon GPU.
2023-08-07 19:16:38 +02:00
ManoloFLTK
f85ee3541a
Wayland: simpler implementation of get_libdecor_plugin_description()
2023-08-06 19:04:16 +02:00