Commit Graph

10805 Commits

Author SHA1 Message Date
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
Albrecht Schlosser
5bcd6ca8f2 Revert "#733 partial: Adds rotation gesture event on MacOS"
This reverts commit 3049e6394a
as agreed upon in GitHub Issue #733.
2023-08-05 16:37:38 +02:00
Matthias Melcher
3049e6394a #733 partial: Adds rotation gesture event on MacOS 2023-08-05 12:19:42 +02:00
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.
2023-08-05 12:09:13 +02:00
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.
2023-08-04 21:30:11 +02:00
Matthias Melcher
c5f5973c90 #735: better comments on fl_overlay_rect() 2023-08-04 19:30:27 +02:00
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.
2023-08-04 19:14:13 +02:00
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.
2023-08-03 17:35:27 +02:00
ManoloFLTK
0bf6a4b044 Slightly improve Fl_Wayland_Screen_Driver::poll_or_select_with_delay() 2023-08-03 08:12:08 +02:00
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.
2023-08-02 20:24:46 +02:00
ManoloFLTK
e49f2008a6 Fix Fl_Wayland_Image_Surface_Driver::end_current() 2023-08-02 16:10:41 +02:00
ManoloFLTK
b440c26e65 Wayland: fix window closing with Sway's kill command or app menu 2023-08-02 10:04:45 +02:00
ManoloFLTK
e12eb99b5d Wayland: add test to avoid null pointer dereferencing 2023-07-31 19:26:37 +02:00
ManoloFLTK
7feddabd24 Implement Fl_Wayland_Screen_Driver::poll_or_select_with_delay(double) 2023-07-31 16:29:15 +02:00
ManoloFLTK
b1ab37eeff Wayland: simpler use of function eglChooseConfig() 2023-07-29 14:16:18 +02:00
Albrecht Schlosser
b9a89c92ea Fl_Shortcut_Button: Silence compiler warnings
Part 1: [-Wreorder] 'shortcut_value’ will be initialized after ...
Part 2: [-Wunused]  unused variable 'Y'
2023-07-28 17:42:59 +02:00
ManoloFLTK
d9fa2c6082 Wayland.dox: add info about the xdg decoration protocol
Also, use KWin to name the KDE desktop's Wayland compositor.
2023-07-28 15:27:38 +02:00
ManoloFLTK
1127ebfcd3 Upgrade bundled libpng to version 1.6.40 - cont'd 2023-07-24 20:18:05 +02:00
ManoloFLTK
2fdd1cea91 Upgrade bundled libpng to version 1.6.40 - cont'd 2023-07-24 20:13:28 +02:00
ManoloFLTK
3a22531348 Upgrade bundled libpng to version 1.6.40 2023-07-24 19:56:56 +02:00
ManoloFLTK
c4f8de44c2 Wayland: add info about CSD and SSD modes and LIBDECOR_FORCE_CSD 2023-07-23 17:08:40 +02:00
Matthias Melcher
828d8a0e2b FLUID: shell code cleanup 2023-07-22 16:01:49 +02:00
Matthias Melcher
f0375d6213 Adds default shortcut to Fl_Shortcut_Button. 2023-07-22 15:30:17 +02:00
ManoloFLTK
fa0aa95443 libdecor: update with upstream source code as of 2023-JUL-15 2023-07-22 14:23:08 +02:00
ManoloFLTK
cdd617d094 Wayland: slightly improve procedure to close toplevel window 2023-07-21 15:34:24 +02:00
Matthias Melcher
dac1af37e1 FLUID: updates templates and predefined comments 2023-07-21 13:34:12 +02:00
Matthias Melcher
43fe6ee027 FLUID improves positioning and sizing new widgets
Better default sizes for text based widgets and menu managers
Better Menu refresh on custom text heights
Smarter positioning of menu bars and groups inside tabs
Fixes wrong include guard
2023-07-20 13:49:19 +02:00
Albrecht Schlosser
4ec02555ef Fix missing (new) source file in fluid and dependencies
New file: Fl_Button_Type.cxx
2023-07-19 23:42:50 +02:00
Matthias Melcher
d0331e6342 FLUID: layout preset no longer forces text font selection 2023-07-19 21:26:27 +02:00
Matthias Melcher
e8eccde8db FLUID: RTTI improvements, 'is_a90' now const, apply RTTI 2023-07-19 20:42:08 +02:00
Matthias Melcher
35728ac9ec FLUID: Fixes override attribute, cleanup 2023-07-19 17:56:18 +02:00
Matthias Melcher
f8a3278776 FLUID: emulated RTTI for all types
Complete type hierarchy in Fl_Types doc
Window now derives correctly from Group
Menu Items now correctly (functionally in FLUID) derived form Button
Menu Buttons have a better hierarchy
Fixing two possible crash bugs where Input_Choice was assumed to be a Menu_
Hoping I have not degraded the original code!
2023-07-19 17:45:28 +02:00
Albrecht Schlosser
9ee8cdc727 Fix textcolor of transient scale display (#756)
Make background color and text (label) color of the transient scale
display consistent with tooltip colors.
2023-07-19 16:17:51 +02:00
Matthias Melcher
aeedd18316 FLUID fixes wrong type IDs and more cleanup 2023-07-19 15:06:25 +02:00
Albrecht Schlosser
069a6b430b Enable compilation with VS 2022 and clang (#752)
Ensure that <stdint.h> is included in Visual Studio 2010 and later
(_MSC_VER >= 1600).
2023-07-19 14:25:14 +02:00
Albrecht Schlosser
1e890ea4e4 Fix libpng compilation warning (#757)
According to the reported issue this warning appears when using
gcc 13.1.0 (rev7, MinGW-W64).

it's very likely a new warning and a false positive because the
buffer is used as an output parameter, but anyway.
2023-07-19 13:48:43 +02:00
Matthias Melcher
d331a697ed FLUID: text fixes 2023-07-18 15:30:07 +02:00
Matthias Melcher
4f7a3f384f FLUID correct inheritance, formatting, factory floor cleaning 2023-07-18 15:21:14 +02:00
Matthias Melcher
2279f85824 FLUID: restores g++98 compatibility
I want enum classes, sigh.
2023-07-17 20:41:04 +02:00
Matthias Melcher
9bdc7139da FLUID: better initial sizes for buttons and windows 2023-07-17 20:21:04 +02:00
Matthias Melcher
9794d200b3 FLUID: emulating RTTI and fixing type dependencies (Buttons) 2023-07-17 18:32:13 +02:00