Héctor Ramón Jiménez
cb1aaf1bdd
Bump version in README
2022-05-02 22:18:22 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
7e111f273f
Enable pure feature in docs.rs
2022-05-02 21:10:55 +02:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure
2022-04-22 13:35:53 +02:00
Héctor Ramón Jiménez
6dd187ff08
Implement pure version of PaneGrid widget
2022-03-14 17:44:25 +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
9b23ea698e
Implement pure version of component example
2022-02-17 19:09:26 +07:00
Héctor Ramón Jiménez
2737b21d34
Implement pure version of pick_list example 🎉
2022-02-16 17:16:34 +07:00
Héctor Ramón Jiménez
cff891833b
Implement pure version of the tour example 🎉
2022-02-13 22:19:43 +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
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
897188317b
Rename iced_virtual to iced_pure
...
`virtual` is a reserved keyword in Rust 😬
2022-02-11 17:50:12 +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
8f0839e786
Draft iced_virtual subcrate
...
The idea here is to expose a set of "virtual widgets" that can be used with a
`Virtual` widget and its `virtual::State`.
A virtual widget is a widget that does not contain any state, but instead is a
"virtual" representation of the "real" widget. The real widgets are stored in
the `virtual::State`.
Every time a new virtual widget tree is created during `view`, it is compared to
the previous one and "real" widgets are added / removed to the `virtual::State`.
Effectively, this removes the need to keep track of local widget state in the
application state and allows `view` to take an immutable reference to `self`.
To summarize, using this crate should allow users to remove `State` structs
in their application state.
Eventually, the strategy used here may be adopted generally and, as a result,
all of the widgets in `iced_native` would be replaced!
2022-02-09 19:42:15 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +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
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉
2022-01-16 15:50:19 +07:00
Héctor Ramón Jiménez
67f878b890
Remove support for old tokio crate
2022-01-12 20:03:18 +07:00
Héctor Ramón
7ab584ce96
Merge pull request #1175 from EkardNT/sandbox-exit
...
Allow Sandbox applications to exit.
2022-01-03 16:23:01 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files
2022-01-03 11:36:13 +07:00
Drake Tetreault
8a70d10401
Allow Sandbox applications to exit.
2021-12-29 09:34:37 -08:00
Héctor Ramón Jiménez
010b62b9ee
Draft component example 🎉
2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
bffa7203df
Create iced_lazy and draft Component trait
2021-11-29 15:04:12 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Poly
18753b77fc
wgpu: Update to 0.10
2021-08-19 03:06:38 +02:00
Héctor Ramón Jiménez
6da71f9007
Sort example list in Cargo.toml
2021-08-13 21:01:33 +07:00
Héctor Ramón Jiménez
77a0b68aa1
Rename integration examples
2021-08-13 20:12:07 +07:00
Tamás Szelei
a646b11109
Add integration_gl example
2021-08-13 20:10:39 +07:00
Héctor Ramón Jiménez
82db3c78b6
Update winit and glutin dependencies
...
... and remove crates.io patch
2021-07-20 21:34:44 +07:00
Héctor Ramón Jiménez
c4552a72d4
Update winit dependency in iced-rs
2021-07-12 21:21:22 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
Richard
612585109f
Use winit and glutin forks in iced-rs org
2021-06-25 14:15:11 +02:00
Richard
96a462d2f2
Use new enum variant and new winit repo
2021-06-25 14:14:03 +02:00
Richard
9ae22b58d8
Added events for url handling and create example
2021-06-25 14:14:03 +02:00
Taiki Endo
8473d8e984
Enable qr_code feature on docs.rs
2021-04-06 02:46:44 +09:00
Héctor Ramón Jiménez
0864e63bde
Bump versions 🎉
2021-03-31 20:07:17 +02:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget
2021-02-15 19:37:46 +03:00
Jayce Fayne
b2415eee61
Add smol async runtime
2021-01-14 12:28:02 +01:00
Héctor Ramón Jiménez
f78108a514
Bump versions 🎉
2020-11-26 16:47:41 +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
3296be845c
Implement QRCode widget
2020-11-20 10:29:33 +01:00
Clark Moody
e43a46952a
Add scrollable example program
2020-10-22 16:24:54 -05: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
73b8ae8e5e
Rename ComboBox to PickList
2020-07-10 02:52:00 +02:00
Héctor Ramón Jiménez
b1afadf1a2
Draft combo_box example to test overlay logic
2020-07-08 10:41:18 +02:00
Azriel Hoh
ae9521e500
Feature gate font-kit behind "default_system_font" feature.
2020-05-31 11:00:17 +12:00
Héctor Ramón Jiménez
22ced3485e
Introduce feature flags to enable iced_glow
...
Also keep `iced_wgpu` as the default renderer for the time being.
2020-05-27 05:05:13 +02:00