Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉
2022-05-02 22:07:53 +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
Cory Forsstrom
d562c27e8c
Restrict text width & height to prevent overflow
2022-04-27 09:24:04 -07:00
Cory Forsstrom
bc8b4bb182
Manually center top aligned text
2022-04-27 08:56:43 -07:00
Cory Forsstrom
4329f0480b
Use top alignment instead of new layer
2022-04-27 08:49:55 -07:00
Cory Forsstrom
6e70d9ad83
Clip bounds to prevent text overflow
2022-04-25 09:01:04 -07:00
Cory Forsstrom
83171f05d0
Don't wrap picklist label text
2022-04-25 08:52:10 -07:00
Héctor Ramón Jiménez
e33f43af31
Reuse Tooltip draw logic in iced_pure
2022-04-24 20:45:43 +07:00
Casper Rogild Storm
5d67f9988c
Implemented Tooltip as Pure
2022-04-22 13:35:53 +02:00
MG_REX
c0e10f2e9d
Fix slider's handle position calculation
2022-03-29 18:49:08 +07:00
Héctor Ramón
13a2997deb
Merge pull request #1294 from marienz/pure-overlay
...
Forward overlay() calls in iced_pure::element::Map
2022-03-29 18:41:02 +07:00
Héctor Ramón Jiménez
d9d6dff550
Loose lifetime bounds in pure::Widget implementations
2022-03-29 18:24:17 +07:00
Héctor Ramón Jiménez
f6700000a2
Fix KeyPressed event being always Captured by TextInput
2022-03-28 19:20:40 +07:00
Héctor Ramón Jiménez
497a3ca8ab
Restore TextInput::draw helper
...
This helper should be unnecessary in the future.
2022-03-18 22:22:19 +07: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
0fbd1d98b5
Implement pure version of Rule widget
2022-03-10 16:58: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
fbbb864aaa
Merge branch 'master' into virtual-widgets
2022-03-07 15:36:09 +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
f85b421ae7
Fix overlay flickering after Application::update
2022-03-01 14:02:46 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait
2022-02-23 21:31:54 +07:00
Héctor Ramón Jiménez
15b4bbd49d
Hash content_fit in hash_layout of Image and Svg
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8d94cd4c5c
Remove redundant layout.bounds() calls in Image and Svg
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
83c0e0f7a8
Add ContentFit support to Svg widget
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
6822d1d9f2
Center Image inside available bounds when possible
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
0aff444941
Rename Image::fit to content_fit
...
... just for consistency!
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8b5c9dfa71
Make documentation of Image::fit consistent
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
395eacfc10
Use a new clipping layer only when necessary in Image::draw
2022-02-16 18:19:36 +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
019af8ddbf
Add overlay support in iced_pure and port PickList 🎉
2022-02-16 17:07:25 +07:00
Héctor Ramón Jiménez
53f3820432
Implement Radio in iced_pure
2022-02-13 22:13:47 +07:00
Héctor Ramón Jiménez
98750782f3
Introduce lifetime to on_change handler for Toggler
2022-02-13 19:23:15 +07:00
Héctor Ramón Jiménez
3f1a45ca47
Implement Slider in iced_pure
2022-02-13 17:20:10 +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
e3108494e5
Implement TextInput in iced_pure
2022-02-12 16:11:37 +07:00
Héctor Ramón Jiménez
b2670e8752
Implement Scrollable in iced_pure
2022-02-12 15:18:31 +07:00
Héctor Ramón Jiménez
178914ec23
Implement Checkbox in iced_pure
2022-02-12 14:26:17 +07:00
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