Héctor Ramón Jiménez
780af771fa
Fix clippy lints
2024-05-14 20:13:55 +02:00
Héctor Ramón Jiménez
b8adfc9ffe
Track commands spawned and subscriptions alive in beacon
2024-05-13 13:21:10 +02:00
Héctor Ramón Jiménez
b7c65c877d
Toggle the Comet when pressing F12
2024-05-11 14:17:14 +02:00
Héctor Ramón Jiménez
57033dc4d0
Rename iced_sentinel to iced_beacon and refactor its API
2024-05-10 20:08:09 +02:00
Héctor Ramón Jiménez
aaf396256e
Merge branch 'master' into beacon
2024-05-09 12:32:25 +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
7e7285d60f
Plug new_events handler to event loop
2024-05-07 17:00:55 +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
b6b51375cf
Implement backpressure mechanism in iced_winit::Proxy
2024-04-16 21:50:28 +02:00
Héctor Ramón Jiménez
6ad5bb3597
Port iced_tiny_skia to new layering architecture
2024-04-09 22:25:16 +02:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application
2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback
2024-03-21 22:27:17 +01:00
Héctor Ramón Jiménez
eb67aa5d71
Revert "Remove 'static' bound for P::State in Program::run_with"
...
This reverts commit cab9dec626 .
Wasm needs the `'static'` bound since the runtime
will run in a background task.
2024-03-17 19:53:02 +01:00
Héctor Ramón Jiménez
cab9dec626
Remove 'static' bound for P::State in Program::run_with
2024-03-17 19:42:43 +01:00
Héctor Ramón
edf7d7ca75
Merge pull request #2312 from iced-rs/theming-reloaded
...
Theming reloaded
2024-03-08 14:00:28 +01:00
Héctor Ramón Jiménez
ecf42b97df
Fix block_on in iced_wgpu hanging Wasm builds
2024-03-07 23:25:24 +01:00
Héctor Ramón Jiménez
833538ee7f
Leverage DefaultStyle traits instead of Default
2024-03-07 20:11:32 +01:00
Héctor Ramón Jiménez
905f2160e6
Move Theme type to iced_core
2024-03-07 00:14:41 +01:00
Héctor Ramón Jiménez
7c4bf70023
Simplify theming for Application
2024-03-06 21:27:03 +01:00
Héctor Ramón Jiménez
30e6605650
Run UserInterface::update only when events are present
2024-02-28 19:37:26 +01:00
Héctor Ramón Jiménez
8591e5a148
Introduce window::Id to timing::Stage in iced_sentinel
2024-02-28 15:27:22 +01:00
Héctor Ramón Jiménez
dd36893f7a
Introduce iced_sentinel and iced_debug crates
2024-02-26 07:00:51 +01:00
Héctor Ramón Jiménez
f693aa4bc4
Use crate::core::Point instead of prefixing
2024-02-22 09:21:19 +01: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
0c7f4eaab5
Make Canvas fill the parent container on Wasm
2024-02-20 02:51:47 +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
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 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 Jiménez
a631f4d745
Remove allow(unused_mut) in winit::application
2024-02-07 19:42:55 +01:00
dtzxporter
66823e9a65
Emulate AboutToWait event on Windows while resizing
...
More details: https://github.com/rust-windowing/winit/issues/3272
2024-02-07 19:33:01 +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
Héctor Ramón Jiménez
2656906903
Rename PlateformSpecific variant in Action to Custom
2024-02-03 15:10:45 +01:00
ShootingStarDragons
6e97595d95
feat: somewhere to place extra actions by platform
...
I have view iced-sckt forked iced, and add the extra actions. and there
do are some extra actions, like set margin for layer-shell, set lock for
ext-session-shell. I think add an any will be of help maybe
2024-02-03 14:54:59 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type
2024-01-21 17:56:01 +01:00
Héctor Ramón Jiménez
74a6e58cbc
Remove comment in iced_winit::application
2024-01-18 10:58:12 +01:00
Héctor Ramón Jiménez
5fc49edc55
Make compatible_window mandatory in Compositor
2024-01-18 10:06:30 +01:00
Héctor Ramón Jiménez
8bf2386972
Remove Compositor window generic
...
And update `glyphon` and `window_clipboard`
2024-01-18 09:55:27 +01:00
Ian Douglas Scott
7289b6091b
WIP raw-window-handle 0.6
2024-01-16 21:34:38 -08: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
534c7dd7b0
Merge branch 'master' into update-winit
2024-01-16 12:02:42 +01:00
Calastrophe
2aa2b1712d
Implemented fetch_maximized and fetch_minimized
2024-01-09 02:43:25 -06:00
Héctor Ramón Jiménez
031784e274
Batch events for processing in iced_winit event loop
2023-12-20 10:03:35 +01:00
Héctor Ramón Jiménez
50a7852cb8
Stop polling in event loop on RedrawRequest::NextFrame
2023-12-20 08:56:57 +01:00
Héctor Ramón Jiménez
e772e5a9e9
Avoid duplicated UserInterface::draw calls in RedrawRequested
2023-12-19 14:54:27 +01:00
Héctor Ramón Jiménez
af917a08d8
Fix request redraw event handling for multi-window apps
2023-12-19 12:44:08 +01:00
Héctor Ramón Jiménez
48cebbb22c
Fix redraw request handling in new event loop logic
2023-12-19 12:37:04 +01:00