JL710
8ebbfa9767
window tasks for setting min and max size
2025-01-06 23:20:51 +01:00
JL710
ca8aaf9b8d
add Task and Action for changing a window title
2025-01-06 23:20:51 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test
2024-12-10 04:51:08 +01:00
bbb651
7a86900a45
Fix various typos
...
Using https://github.com/crate-ci/typos
2024-09-29 16:37:35 +03:00
Tommy Volk
e9aa276a93
Fix documentation for open_events()
2024-09-20 15:57:09 -05:00
Héctor Ramón Jiménez
64ec099a9b
Add mouse passthrough tasks to window module
...
Co-authored-by: Jose Quesada <jquesada2016@fau.edu>
2024-09-05 11:13:37 +02:00
Héctor Ramón Jiménez
0dcec519be
Add get_scale_factor task to window module
2024-08-30 13:02:49 +02:00
Héctor Ramón Jiménez
8b45d620d0
Revert window::close producing a window::Id
...
Instead, subscribing to `window::close_events` is
preferable; since most use cases will want to react
to the user closing a window as well.
2024-08-12 05:50:22 +02:00
Héctor Ramón Jiménez
01aa84e41a
Make window::close return and introduce Task::discard
2024-08-12 05:12:42 +02:00
Héctor Ramón Jiménez
fd593f8fb0
Return window::Id in window::open
2024-07-30 22:26:55 +02: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
88611d7653
Hide internal Task constructors
2024-07-05 01:13:28 +02:00
Héctor Ramón Jiménez
2ac80f8e9c
Fix window::open_events subscribing to closed events
...
Fixes #2481 .
2024-06-28 23:24:29 +02:00
Héctor Ramón Jiménez
92e08c8f07
Add get_latest and get_oldest tasks in window
2024-06-20 01:13:09 +02:00
Héctor Ramón Jiménez
b5c5a016c4
Rename window::closings to window::close_events
2024-06-16 20:15:55 +02:00
Héctor Ramón Jiménez
88b9384402
Use Task chaining to simplify multi_window example
2024-06-14 03:05:58 +02:00
Héctor Ramón Jiménez
b328da2c71
Fix Send requirements for Wasm targets
2024-06-14 01:52:30 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support
2024-06-14 01:47:39 +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
718fe5b7de
Pass WindowHandle by value to window::run_with_handle
2024-05-08 23:14:37 +02:00
Héctor Ramón Jiménez
d6454b5d0c
Rename fetch_location to fetch_position
2024-02-22 09:19:51 +01:00
Night_Hunter
59885e9a36
Add fetch_location command to window module
2024-02-22 09:16:05 +01:00
Héctor Ramón Jiménez
f1c5186e79
Rename show_window_menu to show_system_menu
2024-02-13 04:52:13 +01:00
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 Jiménez
f18a81451f
Rename fetch_native_handle to run_with_handle in window
2024-02-07 09:47:15 +01:00
dtzxporter
7105992228
Re-implement against latest iced master. Rename FetchNativeHandle.
2024-02-07 09:35:13 +01:00
Calastrophe
2aa2b1712d
Implemented fetch_maximized and fetch_minimized
2024-01-09 02:43:25 -06:00
Héctor Ramón Jiménez
ea42af766f
Use AtomicU64 for window::Id
2023-12-02 20:41:58 +01:00
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates
2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support
2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
...
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Héctor Ramón
7f805bc5dd
Merge pull request #1927 from thunderstorm010/master
...
Add command to retrieve window size
2023-07-06 07:00:15 +02:00
Héctor Ramón Jiménez
f350a2f812
Add fetch_size helper to runtime::window
2023-07-06 06:44:09 +02:00
Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions
2023-07-06 06:41:28 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module
2023-06-27 19:41:03 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command.
2023-06-06 15:37:30 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level
2023-05-25 23:18:50 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +01:00