Commit graph

71 commits

Author SHA1 Message Date
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
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
7c4bf70023
Simplify theming for Application 2024-03-06 21:27:03 +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
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
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
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
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
Héctor Ramón Jiménez
985acb2b15
Fine-tune event loop of multi-window applications 2024-01-17 08:05:19 +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
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
af917a08d8
Fix request redraw event handling for multi-window apps 2023-12-19 12:44:08 +01:00
Héctor Ramón Jiménez
e819c2390b
Update winit to 0.29.4 2023-12-15 13:39:00 +01:00
Héctor Ramón Jiménez
5c5e7653be
Refactor Windows abstraction into WindowManager 2023-12-02 22:28:59 +01:00
Héctor Ramón Jiménez
b152ecda63
Separate Compositor::new from Compositor::create_renderer 2023-12-02 20:49:47 +01: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
9f29aec128
Move Event and Control types after multi_window::run 2023-11-30 00:01:32 +01:00
Héctor Ramón Jiménez
d34bc4e4a2
Refactor event loop <-> instance communication in multi_window 2023-11-29 23:55:17 +01:00
Héctor Ramón Jiménez
ac12d2d099
Remove unnecessary unsafe Send marker in iced_winit 2023-11-29 22:50:35 +01:00
Héctor Ramón Jiménez
6740c2c5d6
Fix broken intra-doc links 2023-11-29 22:46:47 +01:00
Héctor Ramón Jiménez
7def3ee38a
Fix clippy lints 2023-11-29 22:37:54 +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
Bingus
83c7870c56
Moved exit_on_close_request to window settings. This now controls whether each INDIVIDUAL window should close on CloseRequested events. 2023-07-24 14:32:59 -07:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Bingus
41836dd80d
Added per-window theme support. 2023-03-15 18:20:38 -07:00
Bingus
ce4b2c93d9
Added simpler MW example 2023-03-14 11:05:41 -07:00
Bingus
8ba1843080
Code cleanup, clearer comments + removed some unnecessary dupe;
Removed `Frames` struct return for `window::frames()` since we are just redrawing every window anyways;
Interface dropping;
2023-03-13 14:16:45 -07:00
bungoboingo
e36daa6f93 Removed glutin MW support and reverted glutin changes back to Iced master since it's being axed as we speak. 2023-02-28 13:44:36 -08:00
Bingus
50b9c778b1
Fixed state syncing issue with MW. 2023-02-22 10:05:52 -08:00
Bingus
bd58d5fe25
Cargo fix 2023-02-20 13:35:55 -08:00
Bingus
3aaf5d8873
Fixed widget operations 2023-02-17 13:26:31 -08:00
Bingus
2d427455ce
Iced master merge (again) 2023-02-17 13:01:40 -08:00
Bingus
8da098330b
Fixed widget animations implementation 2023-02-17 11:42:49 -08:00
Bingus
3c095aa3f0
Merged in iced master 2023-02-15 14:56:15 -08:00
Bingus
64e0e817c2
Widget operations for multi-window. 2023-02-15 14:31:16 -08:00
Bingus
367fea5dc8
Redraw request events for multiwindow. 2023-02-15 11:28:36 -08:00