Commit graph

4369 commits

Author SHA1 Message Date
Ian Douglas Scott
f93a6d740a
Add show_window_menu action
Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position,
like the menu normally triggered by right clicking the title bar. This
is important for implementing client side decorations with Iced widgets.
2024-02-13 04:45:07 +01:00
Héctor Ramón
7a1e105036
Merge pull request #2242 from dtzxporter/workaround-windows-issue-pt2
Implement win32 workaround for multi_window application as well. Also trigger AboutToWait for Moved as well.
2024-02-13 04:43:21 +01:00
dtzxporter
3a80fece32
Implement win32 workaround for multi_window application as well. Also trigger AboutToWait for Moved as well. 2024-02-13 04:35:00 +01:00
Héctor Ramón
dc2cba9264
Merge pull request #2240 from snaggen/primary
Add support for primary clipboard
2024-02-13 03:35:35 +01:00
Héctor Ramón Jiménez
3ac2902f68
Update CHANGELOG 2024-02-13 03:18:08 +01:00
Héctor Ramón Jiménez
508b3fe1f1
Introduce Kind in core::clipboard 2024-02-13 03:15:21 +01:00
Mattias Eriksson
4155edab8d
Add support for primary clipboard 2024-02-13 03:14:30 +01:00
Héctor Ramón
7615b2240c
Merge pull request #2239 from dtzxporter/scrollable-quad-fill
Introduce an appearance for a scrollable, ability to customize the scrollbar gap.
2024-02-12 19:36:45 +01:00
Héctor Ramón Jiménez
88e2e26ef4
Update CHANGELOG 2024-02-12 19:28:33 +01:00
Héctor Ramón Jiménez
0eaaeaa517
Simplify scrollable styling API 2024-02-12 19:24:09 +01:00
dtzxporter
0f920e0435
Introduce an appearance for a scrollable, ability to customize the scrollbar gap.
Update scrollable.rs
2024-02-12 19:03:32 +01:00
Héctor Ramón
891f29eea0
Merge pull request #2247 from iced-rs/fix/tiny-skia-text-clipping
Fix clipping of text in `iced_tiny_skia`
2024-02-11 04:19:01 +01:00
Héctor Ramón Jiménez
c6cf2bc521
Fix clipping of text in iced_tiny_skia 2024-02-11 04:03:01 +01:00
Héctor Ramón
52bd0d4138
Merge pull request #2233 from varbhat/vbt/catppuccin
add catppuccin, tokyo night, kanagawa, moonfly, nightfly and oxocarbon themes
2024-02-11 03:09:35 +01:00
Héctor Ramón Jiménez
9672471d5c
Update CHANGELOG 2024-02-11 02:58:17 +01:00
Héctor Ramón Jiménez
e43fafcae9
Hyperlink sources in style::theme::palette 2024-02-11 02:56:03 +01:00
Var Bhat
d5466c1861
Add Kanagawa, Moonfly, Nightfly, Oxocarbon themes 2024-02-11 02:50:38 +01:00
Var Bhat
4503e2ba7e
add tokyo night themes and palettes
Source: https://github.com/enkia/tokyo-night-vscode-theme
2024-02-11 02:50:38 +01:00
Var Bhat
3513a4ad56
add catppuccin themes 2024-02-11 02:50:35 +01:00
Héctor Ramón Jiménez
33066bca1a
Remove PreMultiplied alpha mode selection in wgpu:🪟:compositor 2024-02-10 03:49:41 +01:00
Héctor Ramón
756bb7aa88
Merge pull request #2232 from julianbraha/master
Fix dead documentation link in wgpu/README.md
2024-02-10 03:16:25 +01:00
julianbraha
63f4f4283f
Fix dead documentation link in wgpu/README.md 2024-02-10 03:08:43 +01:00
Héctor Ramón
c635290956
Merge pull request #2231 from Koranir/transparency-fix
Fix alpha mode misconfiguration in wgpu renderer
2024-02-10 00:50:49 +01:00
Héctor Ramón Jiménez
0bcdefeb00
Update CHANGELOG 2024-02-10 00:40:52 +01:00
Héctor Ramón Jiménez
6600f66cbd
Fix style in solar_system example 2024-02-10 00:39:31 +01:00
Héctor Ramón Jiménez
8a8c1ab2c8
Log available formats and alpha modes in wgpu:🪟:compositor 2024-02-10 00:38:25 +01:00
Héctor Ramón Jiménez
81bed94148
Use custom Application::style to enable transparency 2024-02-10 00:32:03 +01:00
Daniel Yoon
712c8e53f2
Fix alpha mode configuration in iced_wgpu 2024-02-10 00:24:41 +01:00
Héctor Ramón
7ee00e751a
Merge pull request #2229 from clarkmoody/custom-qr-style
QR Code Styling
2024-02-10 00:12:54 +01:00
Héctor Ramón Jiménez
564ad95806
Fix leftover mentions of State in QRCode docs 2024-02-10 00:02:17 +01:00
Héctor Ramón Jiménez
8b14f88f5f
Update CHANGELOG 2024-02-09 23:59:43 +01:00
Héctor Ramón Jiménez
b535f7ae38
Invalidate QRCode cache on Appearance change 2024-02-09 23:57:11 +01:00
Clark Moody
4c6ea3cfe2
Update qr_code example with theme selector 2024-02-09 23:47:09 +01:00
Clark Moody
c2d82833a0
Styling for QR Code using theme framework 2024-02-09 23:43:01 +01:00
Héctor Ramón Jiménez
99a3f25c5f
Update async-tungstenite dependency in websocket example 2024-02-09 23:42:36 +01:00
Héctor Ramón
7a20c8640f
Merge pull request #2228 from jhannyj/better-tooltips
Refactor tooltip function to accept a generic element as a tooltip
2024-02-09 02:24:53 +01:00
Héctor Ramón Jiménez
c53c3a71d3
Rename text_layout to tooltip_layout in Tooltip 2024-02-09 02:14:24 +01:00
Héctor Ramón Jiménez
61547e10ad
Update CHANGELOG 2024-02-09 02:12:56 +01:00
Héctor Ramón Jiménez
a82cc783d9
Improve tooltip docs 2024-02-09 02:12:22 +01:00
Héctor Ramón Jiménez
cb9000ea2a
Use simple method call syntax in Tooltip 2024-02-09 02:11:24 +01:00
jhannyj
6bafdc4b3c
Add support for a generic Element in Tooltip 2024-02-09 02:10:07 +01:00
Héctor Ramón
073466708e
Merge pull request #2227 from wyatt-herkamp/update_depends
Update Dependencies.
2024-02-09 02:06:31 +01:00
Héctor Ramón Jiménez
d3043161cf
Update CHANGELOG 2024-02-09 01:55:26 +01:00
Wyatt Herkamp
149e8b4103
Update some dependencies 2024-02-09 01:53:34 +01:00
Héctor Ramón
111c8bfa79
Merge pull request #2221 from Dworv/text-shrink
Text editor shrinking to content
2024-02-07 22:00:53 +01:00
Héctor Ramón Jiménez
4d7356e5e4
Update CHANGELOG 2024-02-07 21:50:09 +01:00
Héctor Ramón Jiménez
2ba73b0faf
Fix wrapped lines not being considered when measuring TextEditor 2024-02-07 21:48:28 +01:00
Dworv YT
8b492a9b44
feat: text-editor can shrink to content 2024-02-07 21:28:45 +01:00
Héctor Ramón
5630febf96
Merge pull request #2220 from DoomDuck/faster_image_bytes_handle
Use `core::ptr::eq` to speed up `PartialEq` on `image::Bytes`
2024-02-07 20:39:39 +01:00
Héctor Ramón
80081f0f1c
Merge pull request #2219 from GyulyVGC/toggler-border-width
Add border widths to `Toggler` `StyleSheet`
2024-02-07 20:38:47 +01:00