Commit graph

24 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example 2021-12-07 16:12:34 +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
Sebastian
5f27ed4720 Update: rand 2021-03-03 01:23:18 +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
e2076612cb Implement time::every in iced_futures 2020-04-30 05:37:44 +02:00
Héctor Ramón Jiménez
dc51080328 Introduce Cursor type in canvas 2020-04-29 04:25:49 +02:00
Héctor Ramón Jiménez
2539042b71 Remove Drawable and rename State to Program 2020-04-28 06:24:12 +02:00
Héctor Ramón Jiménez
e4eb0553de Allow canvas::State to produce messages 2020-04-28 03:52:12 +02:00
Héctor Ramón Jiménez
dc97d6f33e Remove interaction from solar_system example 2020-04-28 01:10:59 +02:00
Héctor Ramón Jiménez
592cc68506 Remove Layer trait and simplify Canvas 2020-04-19 21:55:23 +02:00
Héctor Ramón Jiménez
bb424e54c5 Add interactivity to solar_system example 2020-04-19 18:48:30 +02:00
Héctor Ramón Jiménez
0b5028b1ab Draft Program interactivity for Canvas 2020-04-19 14:39:30 +02:00
Héctor Ramón Jiménez
46cd0891d2 Implement canvas::Path::circle helper method 2020-04-14 06:54:12 +02:00
Héctor Ramón Jiménez
c545af3577 Implement canvas::Path::rectangle helper method 2020-04-14 06:49:15 +02:00
Héctor Ramón Jiménez
81096ef454 Implement From<Color> for canvas::Fill 2020-04-14 06:38:06 +02:00
Rob Ede
6e7769b65d
impl default for canvas cache 2020-04-08 23:07:42 +01: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
b0cf47cc2b Create README files for all the examples 2020-02-21 15:20:05 +01:00
Héctor Ramón Jiménez
6f7247ca13 Rename Settings::use_antialiasing to antialiasing 2020-02-18 09:54:24 +01:00
Héctor Ramón Jiménez
9c067562fa Write documentation for new canvas module 2020-02-18 08:48:54 +01:00
Héctor Ramón Jiménez
570f769744 Rename Settings::antialiasing to use_antialiasing 2020-02-15 10:50:07 +01:00
Héctor Ramón Jiménez
dadae12253 Implement MSAA for triangle pipeline in iced_wgpu 2020-02-15 10:08:27 +01:00
Héctor Ramón Jiménez
ad3a0a184f Add solar_system example 2020-02-14 05:33:58 +01:00