Commit graph

109 commits

Author SHA1 Message Date
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
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
3d893ae01b
Add Duration helpers to time module 2025-01-24 18:47:34 +01:00
Héctor Ramón Jiménez
920596ed6f
Implement reactive-rendering for canvas 2024-11-05 23:52:58 +01: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
341c9a3c12
Introduce daemon API and unify shell runtimes 2024-06-19 01:53:40 +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
d8ba6b0673
Merge branch 'master' into feat/text-macro 2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
53a183fe0d
Restore canvas::Frame API 2024-03-22 01:35:14 +01:00
Héctor Ramón Jiménez
b972ebca8f
Restore canvas::Program API 2024-03-21 23:30:36 +01:00
Héctor Ramón Jiménez
3645d34d6a
Implement composable, type-safe renderer fallback 2024-03-21 22:27:17 +01:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro 2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
c4be7efce5
Use Program API in game_of_life example 2024-03-17 18:06:37 +01:00
Héctor Ramón Jiménez
76627bb481
Group preset list and clear button in game_of_life example 2024-03-08 00:38:02 +01:00
Héctor Ramón Jiménez
44f002f64a
Rename positive and destructive to success and danger in button 2024-03-07 15:21:42 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget 2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
8792fc0bb7
Fix unused import in game_of_life example 2024-02-05 00:26:47 +01:00
Héctor Ramón Jiménez
854e967a26
Fix unused Instant in game_of_life example 2024-02-05 00:25:40 +01:00
Alexander van Saase
b5f1ca1695
Introduce support for disabling a checkbox 2024-02-01 13:16:28 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout 2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
7dd32f3be4
Update itertools dependency for game_of_life example 2023-11-15 10:27:26 +01:00
Héctor Ramón Jiménez
f8f1a86344
Fix clippy::manual_let_else 2023-09-20 05:30:08 +02:00
Héctor Ramón Jiménez
caed50b277
Fix clippy::match-wildcard-for-single-variants 2023-09-20 05:03:25 +02:00
Héctor Ramón
e8b01eb543
Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
2023-09-19 13:30:51 +02:00
Yuri Astrakhan
efd0ff6ded Chore: Apply some minor clippy fixes
* Use `.elapsed()` for duration
* Use direct iteration without calling `.iter()` and the like
* order fields in the `Text` struct creation as declared
2023-09-19 01:52:25 -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
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +02:00
Héctor Ramón
b5e7fb240c
Merge pull request #2070 from ripytide/master
Added a Frame::scale_nonuniform method
2023-09-07 06:03:41 +02:00
Héctor Ramón Jiménez
09965b686e
Make scale methods in Frame generic over f32 and Vector 2023-09-07 05:51:39 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
RIP Gfycat
2023-09-07 05:05:43 +02:00
Héctor Ramón Jiménez
d315e27451
Update example dependencies 2023-09-07 03:15:02 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
ed3454301e
Implement explicit text caching in the widget state tree 2023-08-30 04:31:21 +02:00
Héctor Ramón Jiménez
0ae136b573
Update vulnerable env_logger dependency in examples 2023-08-23 21:01:15 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API 2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability 2023-06-08 20:11:59 +02:00
Héctor Ramón Jiménez
6cc48b5c62
Move Canvas and QRCode to iced crate
Rename `canvas` modules to `geometry` in graphics subcrates
2023-03-03 04:57:55 +01:00
Héctor Ramón Jiménez
5c0427edbb
Fix Clip primitive translation in iced_tiny_skia 2023-03-01 21:41:32 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia 2023-03-01 21:34:26 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07:00
Héctor Ramón
8acf7c41fc
Fix #[default] in preset for game_of_life example 2023-01-19 20:20:13 +01:00
Jedsek
e80c7dff8d
Update preset.rs 2023-01-19 19:09:45 +08:00
Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66 2022-12-20 11:31:25 +01:00
Héctor Ramón Jiménez
8c74464b0d
Fix clippy lints 2022-10-04 11:53:03 +02:00
Artur Sapek
fe17641d46
Working multitouch example 2022-10-04 11:23:03 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
fc13bb3d65
Implement theme styling for Canvas 2022-06-07 05:24:43 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu 2022-06-07 04:51:44 +02:00