Commit graph

42 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
eab723866e
Replace with function with Function trait 2025-02-11 10:36:45 +01:00
Héctor Ramón Jiménez
f8337b8da7
Add helper functions for alignment to widget module 2025-01-24 15:55:24 +01:00
Héctor Ramón Jiménez
5c33ce18ed
Draft reactive-rendering feature for button 2024-11-05 23:52:56 +01:00
Héctor Ramón Jiménez
1448c5bfa5
Implement some From traits for text_input::Id 2024-09-18 20:30:14 +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
76737351ea
Re-export variants of Length and alignment types 2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets 2024-07-12 15:14:43 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant 2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes 2024-06-19 01:53:40 +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
7f13fab058
Use all themes in multi_window example 2024-06-14 03:15:14 +02:00
Héctor Ramón Jiménez
20945e3f90
Simplify WindowOpened message handler in multi_window example 2024-06-14 03:11:07 +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
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
05f69f495e
Ask for explicit Length in center_* methods 2024-05-13 17:56:02 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.

This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02: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
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
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
Bingus
bd58d5fe25
Cargo fix 2023-02-20 13:35:55 -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
64e0e817c2
Widget operations for multi-window. 2023-02-15 14:31:16 -08:00
Bingus
0a643287de
Added window::Id to multi_window application's scale_factor 2023-01-18 17:04:11 -08:00
bungoboingo
3e5d34f25f Formatting 2023-01-09 11:28:07 -08:00
bungoboingo
ec41918ec4 Implemented window title update functionality for multiwindow. 2023-01-09 11:28:07 -08:00
bungoboingo
f43419d475 Fixed issue with window ID on winit 2023-01-09 11:28:07 -08:00
bungoboingo
942f1c91af merged in iced master 2023-01-09 11:28:07 -08:00
Richard
5e4e410b18 remove windows method (use commands instead) 2023-01-09 11:28:07 -08:00
Richard
064407635a implement multi_window for iced_glutin 2023-01-09 11:27:04 -08:00
Richard
dc86bd0373 Introduce close_requested for multi-window 2023-01-09 11:27:04 -08:00
Richard
35331d0a41 Allow closing the window from user code 2023-01-09 11:27:04 -08:00
Richard
3d901d5f1f create multi-windowed pane_grid example 2023-01-09 11:27:04 -08:00
Richard
01bad4f896 duplicate pane_grid example to multi_window 2023-01-09 11:27:04 -08:00
Richard
64e21535c7 Fix multi_window example 2023-01-09 11:27:04 -08:00