Commit graph

24 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text 2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
ae7e6b3d48
Implement subscription::channel and simplify unfold 2023-04-11 07:46:54 +02:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe 2023-03-05 04:15:10 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07: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
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
6b0cbdd45a
Remove unnecessary unreachable! in download_progress example 2022-03-15 22:36:31 +07:00
Héctor Ramón Jiménez
ddbbe7353b
Simplify run and unfold helpers to build a Subscription 2022-01-17 15:29:41 +07:00
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉 2022-01-16 15:50:19 +07:00
Héctor Ramón Jiménez
75348c5b8c
Use subscription::run for download_progress example 2022-01-15 11:45:19 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.

Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Folyd
9f5c2eb0c4
Improve download_progress example (#283)
* Add advanced download example

* Rename to task fields and variables

* Cargo fmt advanced_download/src/download.rs

* Add progress bar for advanced download example

* Merge two download examples to single one

* Apply great review suggestions

* Change to url::Url instead of plain String

* Simplify `download_progress` example

* Update `README` of `download_progress` example

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 22:00:52 +01:00
Héctor Ramón Jiménez
c1f79b40cf Make Application and Sandbox return a Result 2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
c4c5216e3b Allow passing external state to Application::new 2020-03-30 18:10:15 +02:00
Héctor Ramón Jiménez
fd7d9622e3 Fix Recipe::hash in download_progress example 2020-03-24 14:07:34 +01:00
Héctor Ramón Jiménez
8e0dcd212d Fix retry button on download_progress example 2020-03-23 21:08:03 +01:00
Héctor Ramón Jiménez
0d719bbdf3 Handle errors in download_progress example 2020-03-23 20:43:55 +01:00
Héctor Ramón Jiménez
b92e1f9574 Rename downloader module to download 2020-03-23 20:37:30 +01:00
Héctor Ramón Jiménez
30c7db3f25 Improve download_progress example
- Use `reqwest` with `Response::chunk` to notify progress.
- Turn example state into an enum
2020-03-23 20:34:16 +01:00
Songtronix
fff333f89b Add example for download with progress tracking 2020-03-23 17:53:57 +01:00