Matthias Melcher
cfe5b2d6e1
THE LAST SIX COMMITS ARE INVALID AND WILL BE REVERTED
2 years ago
Matthias Melcher
3b093e895b
Lot's of changes, must rethink UI.
2 years ago
Matthias Melcher
af22676abf
Missing includes
2 years ago
Matthias Melcher
0de186e614
Sudoku into smaller pieces.
2 years ago
Matthias Melcher
a1b55385e3
Random testing and fixing.
2 years ago
Matthias Melcher
d27188198a
Removed unused code
2 years ago
Matthias Melcher
0c8083a06d
Adding generator
2 years ago
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
2 years ago
ManoloFLTK
e6440ca0a8
Wayland mouse wheel support: compositors can behave differently
2 years ago
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.
2 years ago
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.
2 years ago
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).
2 years ago
Matthias Melcher
5e484524c8
Fl_Tabs now supports horizontal mouse wheel events.
2 years ago
Aditya Siram
17d0a4cc5f
Fix access to Cairo context.
2 years ago
Matthias Melcher
7cdbc189f0
Another occurrence of bad escape sequence.
2 years ago
Matthias Melcher
01075687cf
#765 : Replaces uncommon escape sequence.
...
Missing return value in docs.
2 years ago
Albrecht Schlosser
76fb2d5b79
Reformat code, remove obsolete comments
...
No effective code changes, i.e. only formatting, indents and comments.
2 years ago
Albrecht Schlosser
dbb77b9657
Improve docs of Fl::hide_all_windows()
...
+ update fluid dependencies
No code changes.
2 years ago
ManoloFLTK
21fdd42838
macOS: add extra comment explaining need for PPC-specific source code
2 years ago
Sergey Fedorov
356ccc4b70
Fl_cocoa.mm: fix Apple macro for PPC case
2 years ago
ManoloFLTK
1943fe54c8
Wayland: fix fl_read_image() from offscreen buffer
2 years ago
Matthias Melcher
06e8cf98a6
FLUID: i18n panel redraw fix
2 years ago
Matthias Melcher
f9e206e013
Missing lines in Unix README
2 years ago
ManoloFLTK
27c3d0b780
Wayland: improve layout of struct fl_wld_draw_buffer
2 years ago
ManoloFLTK
45d119eb3c
Move repeated code to Fl_Wayland_Graphics_Driver::cairo_init()
2 years ago
ManoloFLTK
a98aaecf97
Fix for Broken "cube" demo ( #762 )
...
This commit fixes an error in the cube demo appearing specifically with the AMD Radeon GPU.
2 years ago
ManoloFLTK
f85ee3541a
Wayland: simpler implementation of get_libdecor_plugin_description()
2 years ago
Albrecht Schlosser
5bcd6ca8f2
Revert "#733 partial: Adds rotation gesture event on MacOS"
...
This reverts commit 3049e6394a
as agreed upon in GitHub Issue #733 .
2 years ago
Matthias Melcher
3049e6394a
#733 partial: Adds rotation gesture event on MacOS
2 years ago
ManoloFLTK
2953db58c7
Let FLTK give more detailed description of a Wayland fatal error
...
Wayland protocol error messages now give the protocol name and the error code.
2 years ago
Albrecht Schlosser
157d27606f
Fix typos in documentation of fl_overlay_rect() etc. ( #735 )
...
Thanks to Matt for the improved docs, I just fixed some typos and
added '()'s for better doxygen comments of functions.
2 years ago
Matthias Melcher
c5f5973c90
#735 : better comments on fl_overlay_rect()
2 years ago
ManoloFLTK
c427f037ce
Improve procedure to close decorated Wayland window
...
Libdecor complicates what should be simple, to close a decorated window,
because it uses the titlebar after return from the closing callback function.
Thus, FLTK delays the sending of the FL_CLOSE event to the window,
only when libdecor runs in CSD mode.
2 years ago
Matthias Melcher
ee4ab86c3c
#211 : adds optional parameter for Fl_Input_::drawtext()
...
Does not change the original API but adds a function and
keeps the original automatic.
2 years ago
ManoloFLTK
0bf6a4b044
Slightly improve Fl_Wayland_Screen_Driver::poll_or_select_with_delay()
2 years ago
Matthias Melcher
79d3b8d69d
#762 : saves all frequently used OpenGL attributes
...
When rendering the OpenGL layer, this prepares the FLTK rendering
parameters and restores them after FLTK rendering.
2 years ago
ManoloFLTK
e49f2008a6
Fix Fl_Wayland_Image_Surface_Driver::end_current()
2 years ago
ManoloFLTK
b440c26e65
Wayland: fix window closing with Sway's kill command or app menu
2 years ago
ManoloFLTK
e12eb99b5d
Wayland: add test to avoid null pointer dereferencing
2 years ago
ManoloFLTK
7feddabd24
Implement Fl_Wayland_Screen_Driver::poll_or_select_with_delay(double)
2 years ago
ManoloFLTK
b1ab37eeff
Wayland: simpler use of function eglChooseConfig()
2 years ago
Albrecht Schlosser
b9a89c92ea
Fl_Shortcut_Button: Silence compiler warnings
...
Part 1: [-Wreorder] 'shortcut_value’ will be initialized after ...
Part 2: [-Wunused] unused variable 'Y'
2 years ago
ManoloFLTK
d9fa2c6082
Wayland.dox: add info about the xdg decoration protocol
...
Also, use KWin to name the KDE desktop's Wayland compositor.
2 years ago
ManoloFLTK
1127ebfcd3
Upgrade bundled libpng to version 1.6.40 - cont'd
2 years ago
ManoloFLTK
2fdd1cea91
Upgrade bundled libpng to version 1.6.40 - cont'd
2 years ago
ManoloFLTK
3a22531348
Upgrade bundled libpng to version 1.6.40
2 years ago
ManoloFLTK
c4f8de44c2
Wayland: add info about CSD and SSD modes and LIBDECOR_FORCE_CSD
2 years ago
Matthias Melcher
828d8a0e2b
FLUID: shell code cleanup
2 years ago
Matthias Melcher
f0375d6213
Adds default shortcut to Fl_Shortcut_Button.
2 years ago
ManoloFLTK
fa0aa95443
libdecor: update with upstream source code as of 2023-JUL-15
2 years ago