Commit graph

25 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
dc0ebdc525
Fix new clippy lint in pokedex example 2023-07-13 16:40:47 +02:00
Sebastian Dröge
d2996f3ed8
image: Allow any kind of data that implements AsRef<[u8]> for the image data
It's not required anywhere for it to be a plain slice or a `Vec` and
this makes it possible to use data allocated in a different way without
copying.
2023-02-17 14:23:13 +01:00
13r0ck
42b1bfe66d Fix: Clippy lint 'uninlined_format_args' 2023-01-27 14:02:48 -07:00
Héctor Ramón Jiménez
c512d50e19
Fix clippy lints 2022-07-27 06:59:54 +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
1dd1a2f97f
Introduce StyleSheet for Text widget 2022-06-29 10:51:01 +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
fa9fb65ace
Remove unused fields in pokedex example 2021-12-07 16:13:53 +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
Dispersia
983aa1b366 Run cargo fmt 2021-04-12 23:23:47 -07:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
0cdf8d56ee Use image::Viewer in pokedex example 2020-12-18 10:44:06 +01:00
Héctor Ramón Jiménez
f41eacc3dc Use f32 for border_width and border_radius 2020-11-23 00:31:50 +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
e79e832092
Merge pull request #246 from hecrj/feature/application-flags
Application flags
2020-03-31 17:49:56 +02:00
Héctor Ramón Jiménez
749a9588d7 Implement padding support for Container 2020-03-31 01:21:51 +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
f719ba3f4e Add font-family to Text style in iced_web 2020-02-06 05:03:11 +01:00
Héctor Ramón Jiménez
ad500441af Allow switching executor::Default with features 2020-02-06 03:56:21 +01:00
Héctor Ramón Jiménez
9df3fb13c7 Make pokedex example work on Wasm 2020-02-05 04:15:45 +01:00
Héctor Ramón Jiménez
8f52604987 Use reqwest and tokio in pokedex example 2020-02-05 01:40:27 +01:00
Héctor Ramón Jiménez
7cea737115 Package examples and remove dev-dependencies 2020-01-20 06:27:01 +01:00