Héctor Ramón Jiménez
182fb9446c
Implement Container widget in iced_pure
2022-02-12 14:07:04 +07:00
Héctor Ramón Jiménez
ecb3df8e01
Expose reusable Button logic
...
... and reuse it in `iced_pure`!
2022-02-11 23:17:07 +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
1a737b8e20
Replace Zulip links with Discord
2022-01-31 21:18:39 +07:00
Héctor Ramón Jiménez
90afd1db8d
Use MaybeSend in perform and map for Command
2022-01-28 21:51: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
5dab5a327e
Introduce MaybeSend trait in iced_futures
...
It allows to clean up all the `trait_aliases` modules!
2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
83c649b574
Move time module from iced_native to iced_core
2022-01-28 21:37:16 +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
Kai Mast
9f47ac8d31
Use instant instead of std::instant
2022-01-28 21:37:15 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
...
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Héctor Ramón Jiménez
876aa93788
Fix previous overlay affecting cursor_position during draw in UserInterface
2022-01-22 13:44:30 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
...
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
Héctor Ramón Jiménez
5ce8653fb5
Add worker example to docs of subscription::unfold
2022-01-17 15:48:37 +07:00
Héctor Ramón Jiménez
ddbbe7353b
Simplify run and unfold helpers to build a Subscription
2022-01-17 15:29:41 +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
35e4f30759
Implement subscription::worker 🎉
2022-01-14 19:55:50 +07:00
Héctor Ramón Jiménez
2a3271dc10
Implement subscription::unfold 🎉
2022-01-14 19:55:27 +07:00
Héctor Ramón Jiménez
7442d0b66f
Implement subscription::run 🎉
2022-01-14 19:43:54 +07:00
Héctor Ramón Jiménez
810b445f8d
Rewrite events and events_with with a new Runner abstraction
2022-01-14 19:43:06 +07:00
Héctor Ramón Jiménez
7ef0259a2c
Write missing docs for user_interface module
2022-01-12 11:22:57 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget
2022-01-12 11:15:05 +07:00
Héctor Ramón Jiménez
2e255b7b91
Implement Widget::mouse_interaction for Responsive
2022-01-11 14:21:38 +07:00
Héctor Ramón Jiménez
810e086728
Introduce Renderer argument to mouse_interaction and on_event
2022-01-11 14:12:28 +07:00
Héctor Ramón Jiménez
6ab4611a6e
Invalidate widget tree from Responsive widget
...
... by introducing a new `invalidate_widgets` method to `Shell`
2022-01-11 13:47:43 +07:00
Héctor Ramón Jiménez
90c20ac46b
Draft Responsive widget
2022-01-11 10:47:56 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files
2022-01-03 11:36:13 +07:00
Héctor Ramón
d19858bce8
Merge pull request #1154 from nicksenger/overlay-components
...
Implement `overlay` for `Component`
2021-12-19 11:41:18 +07:00
Héctor Ramón Jiménez
48b2264bc6
Simplify component implementation in iced_lazy
2021-12-13 17:46:39 +07:00
Olivier Pinon
d06e6bfb51
Lower text::Renderer's Font bound from Copy to Clone
2021-12-10 23:34:02 +01:00
Olivier Pinon
a7bcd65bb8
Decouple the image Handle type from the iced_native implementation
2021-12-10 23:33:58 +01:00
nlevy
b479ba4821
Make TextInput emit a Submit message when the key NumpadEnter is pressed
2021-12-09 10:58:50 +01: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
aed5a0d5f9
Remove unused field in scrollable::Scrollbar
2021-12-07 16:11:55 +07:00
Imbris
f86d96be0f
Include alignment in the container layout hash
2021-12-06 14:27:24 -05:00
Héctor Ramón Jiménez
bbd9355450
Introduce Shell type in iced_native
...
Widgets now can invalidate the current layout of the application on demand.
2021-11-29 16:22:01 +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
96c7f9765c
Merge pull request #1118 from TannerRogalsky/native-web-fixes
...
Native web fixes.
2021-11-29 14:51:35 +07:00
Héctor Ramón
aeec0375f0
Merge pull request #1125 from iced-rs/fix/overlay-layer-clip-bounds
...
Fix overflow of graphics primitives in overlays
2021-11-23 17:44:57 +07:00
Héctor Ramón Jiménez
92b3b169c6
Fix overflow of graphics primitives in overlays
...
... by using `overlay_bounds` instead of `viewport` as clip bounds for overlay layer in `UserInterface::draw`
2021-11-21 15:09:53 +07:00
Héctor Ramón Jiménez
77aa05afd3
Fix implementation of Widget::mouse_interaction for PaneGrid
2021-11-21 15:06:01 +07:00
Héctor Ramón
d165b789df
Merge pull request #1114 from tarkah/fix/slider-optimization
...
Don't rebroadcast redundant slider messages
2021-11-16 16:00:31 +07:00
Héctor Ramón
27bc2b9086
Merge pull request #1116 from gonsor/checkbox_text_color
...
Add checkbox text_color styling
2021-11-15 15:35:27 +07:00
Héctor Ramón Jiménez
1ce02e8c7a
Derive Eq for slider::State again
2021-11-15 15:33:02 +07:00
Héctor Ramón Jiménez
94d62bca9a
Use value in Slider to store the previous value
2021-11-15 15:30:53 +07:00
Tanner Rogalsky
24d7d4740f
Use iced_futures utilities to make native work under wasm32 target.
2021-11-14 11:04:20 -05:00
Tanner Rogalsky
4cb3820a4e
Disable default features in twox-hash dependency.
...
We don't use twox-hash's random seeding features. Removing them makes
this crate leaner and also more portable (specifically for web).
2021-11-14 10:53:43 -05:00
Daniel May
1a6c912332
Add checkbox text_color styling
2021-11-14 11:35:12 +01:00
Cory Forsstrom
9a254a211b
Don't rebroadcast redundant slider messages
2021-11-11 10:32:37 -08:00