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
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
d4743183d4
Draft first working version of iced_glow 🎉
2020-05-19 14:23:28 +02:00
Héctor Ramón Jiménez
67b2ccb4d5
Merge branch 'master' into feature/canvas-interaction
2020-05-04 23:35:09 +02:00
Héctor Ramón Jiménez
70f86f998b
Add game_of_life example
...
RIP John Conway
2020-04-29 08:25:42 +02:00
Clark Moody
6b18e78e53
Use canvas to draw color palette for example
2020-04-24 15:13:22 -05:00
Clark Moody
664a63a4b8
Add example program: color palette
...
Sliders for many color spaces update as any other sliders are moved
around. Color is space is clamped to sRGB, so Lab and Lch color spaces
cannot be fully expressed.
TODO:
- Real-time manipulation of base color to create a color scheme.
- Show slider value under each slider
- Show output values in text boxes for each color space
2020-04-24 15:13:22 -05:00
Clark Moody
7b15e4b0e2
Feature name colors -> palette
2020-04-24 15:13:22 -05:00
Clark Moody
63933e26d2
Add palette dependency behind "colors" feature flag
2020-04-24 15:13:22 -05:00