Commit graph

22 commits

Author SHA1 Message Date
Ram.Type-0
0245f289b2 Remove unnecessary String allocation
Remove unnecessary String allocation by passing &format! or &x.to_string as impl Into<String>
2021-11-02 00:05:25 +09: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
72d5d9b4bd
Add newline to todos example
... just for readability
2021-07-22 20:37:12 +07:00
Aldo Fregoso
57247106b9 Added select_all method to TextInput. 2021-03-13 14:50:59 -06: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
31522e30aa Remove unnecessary SaveError variant in todos example 2021-01-04 23:38:07 +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
0400f6716b Use directories-next in todos example 2020-11-11 02:34:17 +01:00
Héctor Ramón Jiménez
17a4647fce Update directories dependency in todos example 2020-11-10 19:13:40 +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
c901f40fd6 Introduce Widget::overlay 🎉 2020-07-08 10:34:14 +02:00
Héctor Ramón Jiménez
e0e4ee73fe Implement iced_glutin 🎉 2020-05-21 00:44:35 +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
36e617ae70 Implement local storage for todos example in Wasm 2020-02-06 05:56:23 +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
e8316b2087 Allow todos example to compile to wasm32 2020-02-06 03:06:39 +01:00
Héctor Ramón Jiménez
7f4ca71125 Fix empty message alignment in todos example 2020-01-23 15:10:31 +01:00
Héctor Ramón Jiménez
92af1b1c12 Fix todos build workflow 2020-01-21 00:37:57 +01:00
Héctor Ramón Jiménez
fd36510807 Add README for todos example 2020-01-20 07:36:59 +01:00
Héctor Ramón Jiménez
7cea737115 Package examples and remove dev-dependencies 2020-01-20 06:27:01 +01:00