Commit graph

640 commits

Author SHA1 Message Date
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
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +01:00
Héctor Ramón
a1114cada3
Merge pull request #2211 from MrAntix/windows_PlatformSpecific_skip_taskbar
feat(window): adds skip_taskbar for windows
2024-01-22 19:02:43 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +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
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
985acb2b15
Fine-tune event loop of multi-window applications 2024-01-17 08:05:19 +01: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
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
Héctor Ramón Jiménez
36073de24e
Fix key_code conversion for character keys 2023-12-15 13:39:03 +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
31cccd8f7b
Remove unnecessary re-exports in iced_winit 2023-12-02 20:56:55 +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
9b34b2ac19
Run cargo fmt 2023-11-29 22:33:41 +01:00
Héctor Ramón Jiménez
6dca076c8b
Use workspace dependency for raw-window-handle 2023-11-29 22:32:41 +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
3b7d479534
Implement Command::run for executing a Stream to completion 2023-11-29 00:12:48 +01:00
Héctor Ramón
751ea77c29
Merge pull request #2124 from iced-rs/disable-maximize-button
Disable maximize window button if `Settings::resizable` is `false`
2023-10-27 17:38:14 +02:00
Héctor Ramón Jiménez
c07315b84e
Disable maximize window button if Settings::resizable is false 2023-10-27 06:01:04 +02:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor 2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml 2023-09-20 16:40:03 +02:00
Héctor Ramón Jiménez
b277625546
Revert "Chore: Apply clippy map transformations"
This reverts commit c997aad85d.
2023-09-20 16:26:43 +02:00
Héctor Ramón Jiménez
1e4bade53a
Fix clippy::redundant-closure-for-method-calls 2023-09-20 05:07:34 +02:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón
582da10ae2
Merge pull request #2090 from nyurik/mapping
Chore: Apply clippy map transformations
2023-09-19 13:22:21 +02:00
Yuri Astrakhan
c997aad85d Chore: Apply clippy map transformations
Convert `.map().unwrap_or()` to `.map_or()` and similar transformations.
2023-09-19 01:46:46 -04:00
Yuri Astrakhan
3d6b9637c3 Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
e7326f0af6
Flesh out the editor example a bit more 2023-09-18 19:07:41 +02:00
Héctor Ramón Jiménez
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI 2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2 Fix majority of unresolved documentation links 2023-09-09 18:59:17 +02:00