Commit graph

136 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
8811367e42
Rename ScaleFactorChanged event to Rescaled 2025-11-29 06:45:34 +01:00
csmoe
21cf7f98d7
feat: add window::Event::ScaleFactorChanged 2025-11-29 06:44:12 +01:00
bbb651
4108838713
Add repeat field to keyboard::Event::KeyPressed 2025-11-29 01:52:31 +01:00
edwloef
a266f62f77
Add some more variants to mouse::Interaction 2025-11-21 00:47:59 +01:00
Héctor
5195a59e20
Merge pull request #2735 from Exidex/closable-and-minimizable
Add ability to hide close and minimize title bar buttons
2025-11-20 01:23:50 +01:00
rhysd
8f346ac220
Add option to make the transparent window blurry 2025-11-20 01:10:46 +01:00
thorn132
3a6f29ce67
Add Hidden variant to mouse::Interaction 2025-11-18 23:44:14 +01:00
Héctor Ramón Jiménez
09c604c92d
Add theme and theme_changes functions to system 2025-09-08 14:32:24 +02:00
Héctor Ramón Jiménez
74425d5cb1
Set window theme to match color scheme of active theme 2025-09-08 10:12:04 +02:00
Héctor Ramón Jiménez
e92c87061d
Add linux-theme-detection feature through mundy 2025-09-08 09:49:11 +02:00
Héctor Ramón Jiménez
c1d7819c07
Track window theme in window::State 2025-09-08 06:01:36 +02:00
Héctor Ramón Jiménez
74b792b608
Use f32 for scale_factor 2025-09-02 23:29:22 +02:00
Héctor Ramón Jiménez
e14d3609ac
Fix unnecessary parentheses in winit::conversion 2025-08-05 10:07:10 +02:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
Héctor Ramón Jiménez
d5ee9c2795
Copy winit docs for input_method::Event 2025-02-02 17:55:16 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Exidex
0e24d89e26
Add ability to hide close and minimize title bar buttons 2025-01-19 17:48:07 +01:00
Héctor Ramón Jiménez
8a453903b9
Fix broken doc link in winit::conversion 2025-01-16 11:36:03 +00:00
tsuza
e3f149d932
feat: add a window drag resize task 2025-01-16 11:17:00 +00:00
Héctor
634365564e
Merge pull request #2627 from bbb651/more-window-settings
Add `maximized` and `fullscreen` to `window::Settings`
2025-01-06 23:05:32 +01:00
kosayoda
6ed88f7608 Prevent unintended keyboard input during focus. 2024-10-24 16:12:18 -04:00
bbb651
dd08f98f0e Add window::Settings::fullscreen
Corresponds to `winit:🪟:WindowAttributes::with_fullscreen`.

Currently only allows to set `Fullscreen::Borderless(None)` meaning
borderless on the current monitor, exclusive fullscreen does not
make sense for a GUI and iced does not expose monitors yet.
2024-10-04 21:20:43 +03:00
bbb651
13c649881e Add window::Settings::maximized
Corresponds to `winit:🪟:WindowAttributes::with_maximized`
2024-10-04 21:14:06 +03:00
Héctor Ramón Jiménez
32cdc99e92
Add modified_key to keyboard::Event::KeyReleased 2024-10-02 16:53:10 +02:00
ibaryshnikov
8b34f99b02 added physical_key to KeyReleased event 2024-09-26 17:13:32 +03:00
Héctor Ramón Jiménez
40ea3dabff
Bump version to 0.13.0 🎉 2024-09-18 02:38:49 +02:00
Héctor Ramón
e9e8e83cca
Merge pull request #2551 from airstrike/mouse-interactions
Expose additional mouse interaction cursors
2024-09-13 17:07:56 +02:00
Héctor Ramón Jiménez
d4b9b4720f
Add Copy and Help variants to mouse::Interaction 2024-09-13 16:58:44 +02:00
Héctor Ramón Jiménez
1cbedfaac7
Rename ResizingDiagonal* to ResizingDiagonally* 2024-09-13 16:55:40 +02:00
Héctor Ramón Jiménez
94c8b9639c
Add modified_key to keyboard::Event 2024-09-13 03:10:40 +02:00
Héctor Ramón Jiménez
cbe91d4a7c
Add physical_key to keyboard::Event
Co-authored-by: Exidex <16986685+Exidex@users.noreply.github.com>
2024-09-13 03:02:07 +02:00
Nadji Abidi
190774258c
Add override_redirect for X11 windows
This commit add the `override_redirect` boolean field to the `PlatformSpecific` struct for linux platform.
This is a X11-specific flag allow bypassing window manager mapping for precise positioning of windows.
2024-09-11 00:00:40 +02:00
Héctor Ramón Jiménez
14e686cd37
Fix winit::conversion on Windows 2024-09-05 11:30:25 +02:00
Night_Hunter
d1ceada119
add option for undecorated_shadow on windows (#2285)
* add option for undecorated_shadow on windows

* formated
2024-09-05 11:17:44 +02:00
Andy Terra
6dc71f6f3b Expose additional mouse interaction cursors 2024-08-16 10:44:58 -04:00
Héctor Ramón Jiménez
a108b2eebe
Add resize_events subscription to window module 2024-07-13 12:53:06 +02:00
Héctor Ramón Jiménez
b21e4567dc
Remove parent from PlatformSpecific window settings 2024-06-14 02:33:05 +02:00
Héctor Ramón Jiménez
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
Héctor Ramón Jiménez
b19e95fa18
Add SpecificWith variant to window::Position 2024-05-10 22:16:35 +02:00
Héctor Ramón Jiménez
2645524f88
Update winit to 0.30 2024-05-07 16:07:56 +02:00
Héctor Ramón Jiménez
4cd45643d7
Introduce opaque widget helper 2024-04-25 06:05:37 +02:00
Héctor Ramón Jiménez
0cb2763160
Use inclusive range for is_private_use function 2024-02-26 06:02:19 +01:00
Héctor Ramón Jiménez
a9733e9906
Ignore text in KeyPressed with private use chars
Apparently, macOS likes to use these for simple keys.
2024-02-26 05:57:10 +01:00
Ashley Wulber
9600954d8d
Decouple Key from modifiers and apply them to text 2024-02-20 16:30:36 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +01:00
MrAntix
9cfb0f4a09 feat(window): adds skip_taskbar for windows 2024-01-21 13:20:01 +00:00
Héctor Ramón Jiménez
03f5a351c3
Use SmolStr for text field in KeyPressed event 2024-01-16 13:31:02 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location 2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
36073de24e
Fix key_code conversion for character keys 2023-12-15 13:39:03 +01:00