Commit graph

119 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
a30553ddbb Forbid unsafe code and Rust 2018 idioms 2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
7cea737115 Package examples and remove dev-dependencies 2020-01-20 06:27:01 +01:00
Héctor Ramón Jiménez
04086a90c9 Implement WasmBindgen executor and reorganize 2020-01-20 05:43:09 +01:00
Héctor Ramón Jiménez
90690702e1 Add Application::Executor associated type 2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
c96492b956 Expose window::Mode in iced
Although the Fullscreen API in the Web platform has some limitations, it
is still useful to be able to support fullscreen on the native side.
2020-01-16 05:54:22 +01:00
Héctor Ramón Jiménez
0cbd666875 Remove Message: Clone bound in Sandbox 2020-01-13 07:03:52 +01:00
Elliott Mahler
7f9e5765d2 Remove Clone bound on Application::Message 2020-01-12 19:21:38 -08:00
Héctor Ramón Jiménez
7b278755fc Write missing docs and reenable deny statements 2020-01-09 18:31:07 +01:00
Héctor Ramón Jiménez
ed30b487d6 Implement styling for Checkbox 2020-01-07 02:54:54 +01:00
Héctor Ramón Jiménez
387fc0be26 Implement styling for Radio 2020-01-07 02:26:39 +01:00
Héctor Ramón Jiménez
48b3b78a38 Implement styling for ProgressBar 2020-01-07 01:53:26 +01:00
Héctor Ramón Jiménez
b329003c8f Implement styling for Slider 2020-01-07 00:28:08 +01:00
Héctor Ramón Jiménez
d0dc7cebf9 Implement styling for Scrollable 2020-01-06 21:01:09 +01:00
Héctor Ramón Jiménez
bbc8f837d7 Merge branch 'master' into feature/custom-styling 2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
1a0effa961 Add border and shadow styling to Button 2020-01-05 19:29:12 +01:00
Héctor Ramón Jiménez
8d6f86b317 Remove background from Settings 2020-01-05 18:11:54 +01:00
Héctor Ramón Jiménez
43de28ae15 Expose ProgressBar in iced crate 2020-01-04 14:14:28 +01:00
Héctor Ramón Jiménez
5af4159848 Draft basic styling for TextInput 2020-01-01 18:26:49 +01:00
Héctor Ramón Jiménez
d96ced8e2d Allow configuration of default font 2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
e1062a02d1 Move styling to a brand new iced_style crate 2020-01-01 14:16:10 +01:00
Héctor Ramón Jiménez
e98471d5b6 Merge branch 'master' into feature/custom-styling 2019-12-31 11:37:41 +01:00
Héctor Ramón Jiménez
3a327e08e9 Rename Empty widget to Space 2019-12-30 21:33:27 +01:00
Héctor Ramón Jiménez
8426bf953c Implement Empty widget
It can be useful if you want to fill some space with nothing.
2019-12-30 19:20:59 +01:00
Héctor Ramón Jiménez
89a6b8a9a1 Rename Settings::background_color to background 2019-12-29 12:31:47 +01:00
Héctor Ramón Jiménez
f74ab463d4 Add background_color to Settings 2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
c7b170da6d Draft Style and StyleSheet for Button 2019-12-29 10:57:01 +01:00
Héctor Ramón Jiménez
9ca65c9f18 Fix missing Subscription type in iced_web 2019-12-18 23:57:02 +01:00
Héctor Ramón
0f2e20f5e5
Merge pull request #122 from hecrj/feature/event-subscriptions
Event subscriptions
2019-12-16 21:38:56 +01:00
Héctor Ramón Jiménez
6ba2461445 Update Svg documentation 2019-12-15 06:28:44 +01:00
Héctor Ramón Jiménez
d6c3da21f7 Write docs for subscriptions and reorganize a bit 2019-12-14 05:56:46 +01:00
Malte Veerman
27717bc70c Renamed Icon widget to Svg and gave it separate width and height.
The aspect ratio is now preserved like in the `Image` widget.
2019-12-12 01:25:18 +01:00
Malte Veerman
5696afcadd Ran cargo_fmt over changed files. 2019-12-11 22:13:29 +01:00
Malte Veerman
a88aae5e04 Added an Icon widget to native. 2019-12-11 21:34:40 +01:00
Héctor Ramón Jiménez
98160406f7 Allow listening to runtime events in subscriptions 2019-12-08 08:21:26 +01:00
Héctor Ramón Jiménez
d575f45411 Draft first version of event subscriptions 🎉 2019-12-05 06:10:13 +01:00
Gabriel Konat
5a974fe72d Use cfg and path attribute instead of cfg_attr for IntelliJ Rust support 2019-12-04 14:39:20 +01:00
Héctor Ramón Jiménez
561c3641c6 Merge branch 'master' into feature/image-from-bytes 2019-12-04 04:01:12 +01:00
Héctor Ramón Jiménez
369ed9bc2e Add decorations to settings::Window 2019-12-03 07:08:12 +01:00
hatoo
97f1f3dcf4 Modify src/settings.rs to keep original API 2019-12-02 21:57:07 +09:00
hatoo
a33f49ff4b Remove platform-specific logic from iced
Make Window.platform_specific use iced_winit::settings::PlatformSpecific
2019-12-01 14:55:05 +09:00
hatoo
5077f1dc6a Add platform specific settings 2019-11-30 21:48:33 +09:00
hatoo
f0a857ddde Add decorations to Setting 2019-11-30 21:03:50 +09:00
Héctor Ramón Jiménez
cdd34e1e4b Implement image viewer example 2019-11-30 02:14:56 +01:00
Héctor Ramón
84874ac5dc
Merge pull request #68 from hecrj/feature/application-settings
Allow `Application` configuration with `Settings`
2019-11-25 15:00:53 +01:00
Héctor Ramón Jiménez
1344ea84fc Update debug view GIF in README 2019-11-25 14:40:18 +01:00
Héctor Ramón Jiménez
d70021fa68 Allow Application configuration with Settings 2019-11-25 14:17:13 +01:00
Héctor Ramón
bbcd16c335
Merge pull request #66 from hecrj/feature/new-web-tour
Make `tour` work with `iced_web` again
2019-11-24 19:15:28 +01:00
Héctor Ramón Jiménez
9f3abe9202 Spawn Command futures in iced_web 2019-11-24 11:26:28 +01:00
Héctor Ramón Jiménez
d0f79d2779 Make tour work with iced_web again 🎉
- Implements `TextInput`, `Scrollable`, and `Container`
- Adds basic style generation
2019-11-23 20:23:38 +01:00
Héctor Ramón Jiménez
f92f5c3eca Fix examples link in documentation 2019-11-23 13:58:02 +01:00