Commit graph

22 commits

Author SHA1 Message Date
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
87c9df294c
Merge pull request #595 from valbendan/master
upgrade tokio to latest version(v0.3)
2020-11-25 04:24:44 +01:00
Héctor Ramón Jiménez
782dd2f522 Introduce tokio_old feature
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +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
29219500b7 Update reqwest in pokedex example 2020-03-06 03:58:38 +01: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
bc611cf51c Make image support optional in iced_wgpu
This reduces binary size when image rendering is not necessary a
considerable amount.
2020-01-20 11:19:42 +01:00
Héctor Ramón Jiménez
6e784e29de Add README for pokedex example 2020-01-20 07:21:56 +01:00
Héctor Ramón Jiménez
7cea737115 Package examples and remove dev-dependencies 2020-01-20 06:27:01 +01:00