Commit graph

279 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
835877fc63
Implement theme styling for Checkbox 2022-06-04 03:26:53 +02:00
Héctor Ramón Jiménez
3e2b6247f7
Implement theme styling for Toggler
... and wire up theming to the `styling` example.
2022-06-01 01:46:04 +02:00
Héctor Ramón Jiménez
28d09bfff1
Implement theme styling for Radio 2022-05-27 01:29:36 +02:00
Héctor Ramón Jiménez
cf0230072c
Rename Variant to Style and Style to Appearance 2022-05-26 23:07:34 +02:00
Héctor Ramón Jiménez
7f3b7075db
Rename theme::Definition to application::StyleSheet 2022-05-26 19:02:15 +02:00
Héctor Ramón Jiménez
03eda9b162
Let a Theme control the background color of an application
... and remove `Application::background_color`
2022-05-25 05:01:18 +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
27fdc70756
Merge branch 'master' into dev/system-information 2022-05-04 17:19:28 +02:00
Héctor Ramón Jiménez
f3d6d3bbce
Expose Padding in iced root crate 2022-05-03 19:37:48 +02:00
Héctor Ramón Jiménez
84c28a73e2
Indicate feature-flagged modules in documentation 2022-05-02 21:01:25 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs 2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
e7d595c7de
Write documentation for iced_pure 2022-05-02 20:16:00 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation 2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
93bfe2c75e
Expose system module through feature flag 2022-04-30 13:37:57 +02:00
Richard
18ecec2bbd Change ContextCreationFailed to GraphicsCreationFailed 2022-04-27 15:42:55 -03:00
Richard
c8ed318e17 Export new system module 2022-04-26 18:55:52 -03:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure 2022-04-22 13:35:53 +02:00
Richard
1e62fdf069 Introduce Error::ContextCreationFailed 2022-04-20 19:57:59 -03:00
Héctor Ramón Jiménez
ef4c79ea23
Implement pure version of Svg widget 2022-03-22 23:40:08 +07:00
Héctor Ramón Jiménez
989c562920
Implement pure version of QRCode widget 2022-03-21 17:22:46 +07:00
Héctor Ramón Jiménez
d7100fd259
Export widget modules in iced_pure
... and fix collisions with the new `helpers`
2022-03-16 17:37:19 +07:00
Héctor Ramón Jiménez
7d7064a44d
Implement pure version of game_of_life example 🎉 2022-03-09 19:14:57 +07:00
Héctor Ramón Jiménez
0cddb3c1b5
Implement pure version of Canvas widget 2022-03-09 19:14:55 +07:00
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
Héctor Ramón Jiménez
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
820d332736
Fix subscription for iced::pure::Application 2022-02-20 13:09:47 +07:00
Héctor Ramón Jiménez
c910e23919
Expose ContentFit in root 2022-02-16 18:19:37 +07:00
Emi Simpson
ca1fcdaf14
Add support for ContentFit for Image 2022-02-16 18:19:33 +07:00
Héctor Ramón Jiménez
e50e639b0e
Expose additional helpers in iced::pure 2022-02-13 19:23:51 +07:00
Héctor Ramón Jiménez
45455be450
Implement Image in iced_pure 2022-02-13 16:51:31 +07:00
Héctor Ramón Jiménez
bd22cc0bc0
Implement pure version of todos example 🎉
The `Widget` trait in `iced_pure` needed to change a bit to make the
implementation of `Element::map` possible.

Specifically, the `children` method has been split into `diff` and
`children_state`.
2022-02-12 17:21:28 +07:00
Héctor Ramón Jiménez
01c5004959
Allow pure widgets to borrow from Application data 🎉 2022-02-11 22:07:21 +07:00
Héctor Ramón Jiménez
66d69b5c9a
Expose iced_pure through a pure feature in iced
Besides exposing the `iced_pure` crate, enabling the `pure` feature also
provides pure versions of both the `Application` and `Sandbox` traits!
🎉
2022-02-11 17:51:33 +07:00
Héctor Ramón Jiménez
5225e0e304
Draft virtual Button, Column, and Text
... as well as a very naive diffing strategy!
2022-02-10 21:54:13 +07:00
Héctor Ramón Jiménez
e730d97f61
Implement time module for wasm-bindgen backend in iced_futures 2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
167be45a7d
Split iced_futures into different backend implementations 2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
87b3e03d18
Enable instant only for wasm32 targets
... and hide the dependency under a `time` module in `iced_native`
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
825c7749ff
Replace iced_web with WebGL support in wgpu 🎉 2022-01-28 21:37:16 +07:00
Richard
230db88fb2 Add setting to try OpenGL ES first 2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
67f878b890
Remove support for old tokio crate 2022-01-12 20:03:18 +07:00
Drake Tetreault
8a70d10401 Allow Sandbox applications to exit. 2021-12-29 09:34:37 -08:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón Jiménez
2f50d11461
Improve documentation of Application::run 2021-11-29 14:44:19 +07:00
Andreas Hofstadler
08c771fa70
Allow Application::run to return on native platforms 2021-11-29 14:41:05 +07:00
Imbris
b89d3bed5c Fix a few doc links 2021-11-17 12:08:52 -05:00
Héctor Ramón Jiménez
9a3c81f336
Introduce first-class svg module in iced_native 2021-10-31 16:24:31 +07:00
Héctor Ramón Jiménez
c4186a71b7
Introduce first-class image module in iced_native 2021-10-31 16:20:50 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native 2021-10-31 16:14:34 +07:00