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
Matthias Melcher
01075687cf
#765 : Replaces uncommon escape sequence.
...
Missing return value in docs.
2023-08-12 23:05:03 +02:00
ManoloFLTK
27c3d0b780
Wayland: improve layout of struct fl_wld_draw_buffer
2023-08-08 16:08:53 +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
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
3a22531348
Upgrade bundled libpng to version 1.6.40
2023-07-24 19:56:56 +02:00
ManoloFLTK
fa0aa95443
libdecor: update with upstream source code as of 2023-JUL-15
2023-07-22 14:23:08 +02:00
Matthias Melcher
f8ebde4da4
Documentation: screenshot updates
2023-07-14 18:10:17 +02:00
ManoloFLTK
f8d0b591ab
Documentation: correct spelling errors
2023-07-14 18:00:34 +02:00
ManoloFLTK
6f05af3c12
Wayland: add control of targeted screen by fullscreen windows
2023-07-13 18:19:01 +02:00
ManoloFLTK
18befa5e81
Add details to documentation of Fl_Wayland_Gl_Window_Driver::swap_buffers()
2023-07-08 09:23:38 +02:00
ManoloFLTK
69cb274415
Documentation: beef-up the OpenGL section of wayland.dox
2023-06-28 11:12:57 +02:00
ManoloFLTK
0b6dcd14d9
Documentation: add a few updates to intro.dox
2023-06-28 09:35:25 +02:00
ManoloFLTK
f5879ae228
Slight simplification of Fl_Wayland_Gl_Window_Driver::swap_buffers()
...
Also, reorder members of class Fl_Wayland_Gl_Window_Driver
2023-06-27 09:05:46 +02:00
ManoloFLTK
eca471eee6
Wayland.dox: add a few more detailed explanations
2023-06-21 21:05:47 +02:00
ManoloFLTK
c43cf2f192
Wayland: improve support of multi-display setups
2023-06-19 17:48:37 +02:00
ManoloFLTK
3166416e4c
libdecor: update with upstream source code as of 2023-jun-6
2023-06-13 07:42:44 +02:00
ManoloFLTK
7d7edcf50f
Documentation: remove « "FLTK", pronounced "fulltick" »
2023-06-07 16:42:14 +02:00
ManoloFLTK
87dec3af9c
libdecor: update with upstream source code as of 2023-may-26
2023-06-07 15:58:12 +02:00
ManoloFLTK
64eafbefd6
Fix "Fl::get_font_name() with Pango is inconsistent" ( #732 )
2023-06-05 16:05:27 +02:00
ManoloFLTK
5be3fbf913
Improve re-use of client/compositor shared memory by Wayland buffers
2023-06-05 11:00:33 +02:00
ManoloFLTK
56e94c4cdc
Wayland.dox: details about destruction of wl_shm_pool objects
2023-06-01 18:11:56 +02:00
ManoloFLTK
1abf1dd712
Wayland.dox: add "Menu windows and other popups" and miscellaneous
2023-05-28 19:55:50 +02:00
ManoloFLTK
7020356df9
Slightly re-organize class Fl_Wayland_Window_Driver
2023-05-22 09:05:07 +02:00
Albrecht Schlosser
a4c6c18b3d
Fix doxygen doc generation and document platform specific files
...
Pure platform specific files like 'src/*_win32.cxx' are excluded from
doxygen processing and don't need doxygen specific guard macros.
Document this fact prominently at the beginning of each file.
Fix exclude patterns and remove duplicates from Doxyfile.in.
2023-05-09 22:36:41 +02:00
ManoloFLTK
a94fed77e4
Wayland: clearer procedure to complete initialisation of screen data
2023-05-03 08:50:19 +02:00
ManoloFLTK
cad6e63296
libdecor: update with upstream source code as of 2023-may-2
...
This will allow to create narrow decorated windows without crash.
2023-05-02 11:35:28 +02:00
ManoloFLTK
caaa11a96f
Standardize API to "graphics context" across platforms
...
Rename fl_wl_cairo() to fl_wl_gc()
Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
2023-04-13 10:02:40 +02:00
Albrecht Schlosser
9e00bd2606
Document the new 'fltk-config' features ( #647 , #656 )
...
fltk-config has been extended to allow more than one source file
and additional compiler flags and link libraries. This commit adds
documentation (no functional changes).
2023-04-11 18:38:08 +02:00
ManoloFLTK
eaf50f4779
Wayland.dox: add "Fractional scaling" paragraph
2023-04-08 21:08:19 +02:00
ManoloFLTK
c149091deb
Wayland: fix reporting of relative location of multiple displays
2023-04-07 10:14:11 +02:00
ManoloFLTK
6f0e9b6580
Wayland.dox: beef up information related to listeners
2023-04-06 11:37:06 +02:00
ManoloFLTK
0c930b9ca3
Wayland: limit copied pixels when window update is a region
2023-04-05 23:21:43 +02:00
ManoloFLTK
1d0e63ea78
Improve member function Fl_Wayland_Screen_Driver::surface_to_window()
...
Rename it to Fl_Wayland_Window_Driver::surface_to_window() and
avoid loop over all mapped FLTK windows that used to be performed.
2023-04-03 15:25:19 +02:00
ManoloFLTK
6aa6866d80
Wayland: move "struct seat" inside class Fl_Wayland_Screen_Driver
2023-03-27 11:31:26 +02:00
ManoloFLTK
dcb4c39956
Wayland: remove compilation warning ( #706 )
...
drivers/Wayland/Fl_Wayland_Window_Driver.cxx:1515:47: warning: declaration ‘struct wld_window::custom_cursor’ does not declare anything
2023-03-23 18:42:02 +01:00
ManoloFLTK
1a8d6662ce
osissues.dox: add "The Wayland/X11 hybrid library"
2023-03-21 10:43:53 +01:00
ManoloFLTK
8178d95eb6
Add documentation of 0S-specific fl_mac_gc()
2023-03-20 11:09:58 +01:00
Matthias Melcher
f37347dd6e
Fix and consolidate settings dialogs ( #346 , #703 )
2023-03-19 20:04:01 +01:00
ManoloFLTK
3edab90f38
Wayland.dox: document recent changes about custom cursors
2023-03-13 11:32:06 +01:00
ManoloFLTK
eeb9267e6e
Wayland: add support for multiple high or low DPI displays
2023-03-13 10:38:28 +01:00
Albrecht Schlosser
0f3b5ded8f
Fix dependencies, typos, trailing whitespace, and formatting
...
No code changes.
2023-03-09 18:28:37 +01:00
Albrecht Schlosser
5175192755
CMake: build shared libs with OPTION_CAIROEXT (issue #250 )
...
- remove separate libfltk_cairo to avoid cyclic dependencies, but
- keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility
- move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx
- add preliminary Cairo support for Visual Studio (MSVC)
Static linking is not affected by this change, but users building
with hand-made Makefiles will have to remove libfltk_cairo starting
with FLTK 1.4.0. The dummy library can be linked for backwards
compatibility but it will be removed later (in 1.4.x or 1.5.0).
The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo
if and only if FLTK is built with one of the Cairo options. This has
always been the case for OPTION_CAIROEXT but is now also true if only
OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo
enabled shared FLTK library will also be linked with libcairo. The same
is true for configure options --enable-cairo and --enable-cairoext,
respectively.
Preliminary Cairo support for MSVC now detects a Cairo installation
using the CMake variable FLTK_CAIRO_DIR which must be set by the user.
Note that this feature is temporary and may be changed in the future
for a better and more comfortable version.
2023-03-09 17:34:05 +01:00
ManoloFLTK
dd5dccb30f
Wayland.dox: more details about window positioning
2023-03-08 17:52:21 +01:00
ManoloFLTK
9d2d6f74ab
Fix typo in Wayland Doxygen doc
2023-03-07 18:35:46 +01:00
ManoloFLTK
f89a9f9efc
DnD of filenames: make Wayland behave as Windows and macOS
...
and also add more detailed documentation of platform-specific behaviors.
2023-03-06 11:08:04 +01:00
ManoloFLTK
a52811567e
Wayland: improve DnD of filenames to allow space-containing names
2023-03-05 11:54:55 +01:00
ManoloFLTK
b438d448fb
Remove unused variable declaration + fix in wayland.dox
2023-03-03 18:00:44 +01:00
ManoloFLTK
9d78df89f1
Miscellaneous minor additions to Wayland documentation
2023-03-03 15:26:00 +01:00