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
afef368d8a
Take Event by reference in Widget::update
2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
2b8b3fd413
Fix consistency of import ordering
2025-01-06 23:00:21 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency
2025-01-06 22:56:48 +01:00
Héctor Ramón Jiménez
602661372c
Fix new clippy lints
2024-12-02 19:56:27 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update
2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event
2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
752403d70c
Split Shell::request_redraw into two different methods
2024-11-05 23:52:58 +01:00
Tommy Volk
8028a0ddce
fix: circular progress no longer skips
2024-09-29 22:17:30 -05: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
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
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +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
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature
2024-03-22 05:27:31 +01: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
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
54f44754eb
Move Program to application module
2024-03-17 14:19:12 +01:00
Héctor Ramón Jiménez
846d76cd3f
Remove Sandbox trait 🎉
2024-03-17 13:46:52 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉
2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
bb71e8481e
Make sandbox helper take a title as well
2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API
2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
b1932989b0
Improve Radians ergonomics
2024-01-31 19:35:38 +01:00
kxie
c077e107f2
Use Radians in arc and ellipse types
2024-01-31 19:21:10 +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
370b2f6df7
Use Default implementation of renderer::Quad
2024-01-20 12:25:07 +01:00
Nick Senger
cc906c83cd
feat: quad shadows
2024-01-20 11:59:37 +01:00
Héctor Ramón Jiménez
534c7dd7b0
Merge branch 'master' into update-winit
2024-01-16 12:02:42 +01:00
Héctor Ramón Jiménez
d62bb8193c
Introduce useful helpers in layout module
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
d278bfd21d
Replace width and height with Widget::size
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies
2024-01-10 10:01:49 +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
50a7852cb8
Stop polling in event loop on RedrawRequest::NextFrame
2023-12-20 08:56:57 +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
b8e5693a30
Merge branch 'master' into explicit-text-caching
2023-09-10 00:34:21 +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
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
a026e917d3
Make widget::Tree mutable in Widget::layout
2023-08-30 06:36:24 +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
Bingus
d53ccc857d
refactored window storage;
...
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Cory Forsstrom
42c423b4a8
Add viewport to Widget::on_event
2023-07-15 10:04:25 -07:00
Héctor Ramón Jiménez
0ae1baa37b
Introduce custom backend-specific primitives
2023-06-29 07:18:20 +02:00
Héctor Ramón Jiménez
af62ec1c87
Fix loading_spinners example
2023-06-28 00:11:41 +02:00
Nick Senger
290b47f312
refactor: remove unnecessary canvas complexity
2023-06-09 11:03:52 -07:00
Nick Senger
9d69af10cc
comment: fix typo
2023-06-08 20:09:10 -07:00
Nick Senger
0148cfc82b
fix: RedrawRequest::NextFrame -> RedrawRequest::At()
2023-06-08 07:51:32 -07:00
Nick Senger
56eacdb358
comment: cleanup imports
2023-06-08 07:47:57 -07:00