ManoloFLTK
a638d90e00
Add missing closing parenthesis.
2022-05-10 16:56:25 +02:00
ManoloFLTK
b6e0122926
Fix for issue #441 : Some minor regressions with borderless+fullscreen (Wayland).
2022-05-10 16:52:46 +02:00
ManoloFLTK
ad27da578a
Avoid glpuzzle crash when resizing while puzzle is spinning - cont'd.
2022-05-09 19:56:17 +02:00
ManoloFLTK
48ca0e3b50
Avoid glpuzzle crash when resizing while puzzle is spinning.
2022-05-09 14:07:02 +02:00
ManoloFLTK
20c50312fc
Cleaner declaration of public function fl_wl_cairo().
2022-05-09 09:41:50 +02:00
ManoloFLTK
c02fba6bb9
Slight simplification of Fl_Wayland_Graphics_Driver::create_shm_buffer().
2022-05-07 18:08:07 +02:00
ManoloFLTK
1d64b78554
Change protection levels in classes Fl_XXX_Gl_Window_Driver
2022-05-07 15:16:29 +02:00
ManoloFLTK
d4472e5e53
Remove useless typedef declaration.
2022-05-06 09:52:52 +02:00
ManoloFLTK
217120c281
Move struct shape_data_type inside Fl_XXX_Window_Driver.
2022-05-05 18:57:07 +02:00
ManoloFLTK
170a9d8e1f
Approximate result of pango_font_metrics_get_height() for Pango < 1.44
2022-05-05 12:20:24 +02:00
ManoloFLTK
af91083a7f
Fl_Cairo_Graphics_Driver: simpler code with early calls to cairo_surface_destroy().
...
Add also replacement for pango_font_metrics_get_height() which requires Pango 1.44
2022-05-05 11:34:10 +02:00
ManoloFLTK
7d5d2af547
Cairo: reduce vertical offset for text position needed by Fl_Text_Display.
2022-05-04 08:28:12 +02:00
ManoloFLTK
a6e2940792
Remove one-pixel top and left borders of shaped windows.
2022-05-03 11:49:38 +02:00
ManoloFLTK
9082c44cd0
Issue #438 : Wayland: Text drawing different from Xft version - cont'd.
2022-05-02 19:40:43 +02:00
ManoloFLTK
049cef17f7
Set line height as computed by Pango.
2022-05-02 12:41:20 +02:00
ManoloFLTK
85cf597765
Keep the PangoLayout member private in class Fl_Cairo_Graphics_Driver.
2022-05-02 11:05:23 +02:00
ManoloFLTK
71dedbc886
Issue #438 : Wayland: Text drawing different from Xft version - cont'd.
2022-05-01 09:44:20 +02:00
ManoloFLTK
cf1c8b1125
Fix for issue #438 : Wayland: Text drawing different from Xft version - cont'd.
2022-04-30 16:37:28 +02:00
ManoloFLTK
5341f0e45e
Add explanatory comments about text size and vertical position.
2022-04-29 16:34:47 +02:00
ManoloFLTK
1b513d3f00
Fix for issue #438 : Wayland: Textdrawing different from Xft version.
2022-04-29 13:10:40 +02:00
ManoloFLTK
4618fa9053
Create member function Fl_Cairo_Graphics_Driver::set_cairo()- cont'd.
2022-04-25 10:29:57 +02:00
ManoloFLTK
8808d11578
Create member function Fl_Cairo_Graphics_Driver::set_cairo().
2022-04-25 10:22:23 +02:00
ManoloFLTK
285e8e843a
Create Fl_Cairo_Graphics_Driver::handle_dummy_cairo(cairo_t *cr).
2022-04-23 16:15:05 +02:00
ManoloFLTK
9367bb5108
Avoid code duplication using os_create_anonymous_file() from libdecor.
2022-04-21 07:38:51 +02:00
ManoloFLTK
24885b3810
Minor improvement of get_prog_name().
2022-04-21 07:06:18 +02:00
ManoloFLTK
827f91110b
Remove unimplemented window icon-related member functions and variables.
...
Wayland uses .desktop files to set window icons.
2022-04-15 08:31:32 +02:00
ManoloFLTK
fad867a5d3
Modify test/cairo_test.cxx to show roles of OPTION_CAIRO and OPTION_CAIROEXT.
...
Also make clear that these options require, for now, Fl_Double_Window to work cross-platform.
2022-04-12 09:20:34 +02:00
Albrecht Schlosser
385f0d5b4d
Rename remaining FLTK_USE_CAIRO to FLTK_HAVE_CAIROEXT
...
Thanks to Manolo for finding this.
2022-04-07 15:14:30 +02:00
Albrecht Schlosser
dacf243889
Fix build w/o Xft
2022-04-07 03:40:43 +02:00
ManoloFLTK
d1bffee04a
Remove useless instructions.
2022-04-06 13:25:54 +02:00
ManoloFLTK
f6a93eb060
Remove warnings: comparison of integer expressions of different signedness [-Wsign-compare]
2022-04-06 13:25:17 +02:00
ManoloFLTK
2ee27e39db
Catch also Fl_Posix_System_Driver after rename stat -> flstat in Fl_System_Driver
2022-04-04 08:30:43 +02:00
Albrecht Schlosser
9a7af11108
Silence compiler warnings [-Wunused-but-set-variable]
2022-04-03 22:30:59 +02:00
Albrecht Schlosser
717a7d266b
Remove '#include <sys/stat.h>' from FL/platform_types.h
...
- Add this include statement only where needed.
- Rename Fl_System_Driver::stat() to flstat().
This fixes an issue when using some (!) MinGW 64-bit build systems
that obviously '#define stat _stat64' or similar. This would
result in compiler problems if 'stat()' is a member function of
Fl_System_Driver.
2022-04-03 22:01:41 +02:00
ManoloFLTK
9aba7c9db0
Fl_Wayland_Window_Driver::scroll() when GUI scaling >= 2.
2022-04-01 14:52:47 +02:00
ManoloFLTK
d992a12403
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-04-01 14:36:41 +02:00
ManoloFLTK
a53efd73d7
Fix regression introduced with d9a6ec8 visible in test/scroll.
2022-04-01 14:36:33 +02:00
Albrecht Schlosser
e91d65cd2f
Fix whitespace errors (no code changes)
2022-03-31 16:00:11 +02:00
ManoloFLTK
d9a6ec88e4
Add support of Fl_Region to the Cairo graphics driver
...
and remove it from the Wayland graphics driver.
2022-03-31 10:36:01 +02:00
ManoloFLTK
dc8c4b5676
Wayland: replace public fl_event_time by static wld_event_time.
2022-03-27 09:20:30 +02:00
ManoloFLTK
427e4dbc7a
Remove platform-dependent type Fl_Bitmask (not in documented public API).
2022-03-24 10:00:01 +01:00
ManoloFLTK
70f61a63f4
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-03-24 06:30:33 +01:00
ManoloFLTK
194164054b
Remove useless virtual member function overrides.
2022-03-24 06:30:27 +01:00
ian.macarthur
29c6d6c679
Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.
2022-03-23 19:46:35 +01:00
ManoloFLTK
54ecae9bda
Create struct wld_window *Fl_Wayland_Window_Driver::wld_window to replace eventually fl_window.
2022-03-23 14:11:49 +01:00
ManoloFLTK
2d71a95b5d
Wayland: replace global fl_display by function struct wl_display *fl_wl_display().
2022-03-23 11:37:25 +01:00
ManoloFLTK
26a78c4992
Fix for issue #419 : Wayland: scale/resize issue.
2022-03-23 07:57:17 +01:00
Albrecht Schlosser
fa84b58cd5
Fix silly MSVC 2010 parser warnings
...
Code like "void copy(const char */*stuff*/, ...)" would issue the
warning "'*/' seen outside comment" which is formally true but ...
These warnings don't appear with newer MS compilers, but I fixed them
anyway.
2022-03-21 17:03:13 +01:00
ManoloFLTK
ff4cf80891
Avoid using same name (p) for distinct members of derived classes - cont'd.
2022-03-21 16:10:34 +01:00
ManoloFLTK
d87b62ea69
Avoid using same name (p) for distinct members of derived classes.
2022-03-21 15:56:50 +01:00