Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
...
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
020fb3c377
Fix iced_wgpu device selection on Wasm
2023-09-03 01:04:23 +02:00
Héctor Ramón
3bea1f703c
Merge pull request #2041 from lufte/issue-2040
...
Make the style attribute available on Font
2023-08-20 14:22:46 +02:00
lufte
e86363837d
Make the style attribute available on Font
2023-08-18 18:46:22 -03:00
Andrew Wheeler(Genusis)
f5b9562900
Bounds Contains update. ( #2017 )
...
* changed the way contains works to exclude <= for point.y and point.x on width and height check to avoid multiple selects
* update changelog
* Update `CHANGELOG`
---------
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2023-08-15 07:47:53 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +02:00
Héctor Ramón Jiménez
e2ba7ece83
Introduce visible_bounds operation for Container
2023-07-27 01:04:18 +02:00
Cory Forsstrom
42c423b4a8
Add viewport to Widget::on_event
2023-07-15 10:04:25 -07:00
Héctor Ramón Jiménez
cdce03cf7f
Revert "Remove layout method from core::Renderer trait"
...
This reverts commit 2128472c2a .
2023-06-29 18:17:18 +02:00
Héctor Ramón Jiménez
2128472c2a
Remove layout method from core::Renderer trait
2023-06-29 07:18:24 +02:00
Héctor Ramón Jiménez
78ad365db2
Reuse entries in text::Cache in iced_wgpu
2023-06-28 00:35:37 +02:00
Cory Forsstrom
0a56ffb5d6
Add nested overlay method to group & map
2023-06-14 09:25:57 +02:00
Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface
2023-06-14 09:25:30 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level
2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API
2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability
2023-06-08 20:11:59 +02:00
Héctor Ramón Jiménez
cf2c8f2037
Use approx for testing color operations
2023-05-26 00:04:10 +02:00
Héctor Ramón Jiménez
b741893013
Use Srgb and Srgba from palette directly
2023-05-26 00:03:34 +02:00
Clark Moody
2d21d0900e
Upgrade palette dependency
2023-05-25 23:44:31 +02:00
Héctor Ramón
c61a4cc21c
Merge pull request #1738 from nicoburns/update-winit-0.28
...
Update to winit 0.28
2023-05-25 23:37:14 +02:00
Héctor Ramón Jiménez
a7fa7e4005
Introduce window::Level enum
...
... and add `level` field to `window::Settings`
2023-05-25 23:14:07 +02:00
Casper Storm
1c86defab5
Extend border radius on relevant widgets
2023-05-23 14:50:29 +02:00
Héctor Ramón
e31582e59e
Merge pull request #1797 from bbb651/master
...
Make mouse::Button::Other take u16 instead of u8
2023-05-23 02:52:14 +02:00
bbb651
5802c95797
Make mouse::Button::Other take u16 instead of u8
...
On wayland keys correspond to <input-event-codes.h>,
and they are past the limit of u8, causing the
back and forward buttons to be 20 and 19 which definitely isn't right
(they should all be around 0x110..=0x117).
2023-05-23 02:35:38 +02:00
Héctor Ramón Jiménez
4c1a082f04
Remove Builder abstractions for gradients
2023-05-19 03:32:21 +02:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations.
2023-05-11 11:13:44 -07:00
Héctor Ramón Jiménez
f75b8bd9ec
Increase default LineHeight to Relative(1.3)
2023-05-10 00:13:51 +02:00
Héctor Ramón Jiménez
16bf8fc762
Export Shaping and LineHeight in widget::text
2023-05-08 15:37:29 +02:00
Héctor Ramón Jiménez
9499a8f9e6
Support configurable LineHeight in text widgets
2023-05-04 18:39:31 +02:00
Héctor Ramón Jiménez
8e8808f0e1
Merge branch 'master' into advanced-text
2023-05-02 06:40:48 +02:00
Héctor Ramón Jiménez
4bd290afe7
Introduce text::Shaping enum and replace magic boolean
2023-05-02 01:02:32 +02:00
Héctor Ramón Jiménez
33b5a90019
Make basic text shaping the default shaping strategy
2023-05-02 01:02:13 +02:00
Ian Douglas Scott
47016a37df
Do not require Copy for text StyleSheet::Style
...
For most widgets, `Style` only requires `Default`. A few require
`Clone`. Only this one requires `Copy`.
Some of the types in the default theme has a custom variant requiring
`Box<dyn Trait>`, or `Rc<dyn Trait>` to provide `Clone`, but this isn't
possible if `Copy` is required.
It would be good to also address the inconsistency of requiring `Clone`
in some places and not others.
This removes `style/src/text.rs` which is unused in this branch and thus
confusing. If there's a reason to keep it, that can be removed from the
change.
2023-04-28 10:14:15 -07:00
Héctor Ramón Jiménez
619ba9294d
Merge branch 'advanced-text' into incremental-rendering
2023-04-17 23:46:18 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
c79cc2d2b3
Bump versions 🎉
2023-04-13 08:41:09 +02:00
Héctor Ramón Jiménez
7e7e66586d
Show NotAllowed as mouse icon when hovering a disabled TextInput
2023-04-12 04:37:39 +02:00
Héctor Ramón Jiménez
4cae262d22
Implement PartialEq and Eq for image::Bytes
2023-04-05 05:47:29 +02:00
Héctor Ramón Jiménez
f8cd1faa28
Group damage regions by area increase
2023-04-05 05:40:44 +02:00
Héctor Ramón Jiménez
0f7abffc0e
Draft (very) basic incremental rendering for iced_tiny_skia
2023-04-04 02:08:02 +02:00
Héctor Ramón Jiménez
0b459c8e24
Introduce font::Stretch
2023-03-30 02:01:20 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes
2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
d1dc62ebcd
Merge branch 'master' into advanced-text
2023-03-17 20:17:23 +01:00
Héctor Ramón Jiménez
1816c985fa
Fix clippy lints for Rust 1.68
2023-03-14 11:11:17 +01:00
Héctor Ramón Jiménez
aa4b5bb6b9
Merge branch 'master' into feature/software-renderer
2023-03-07 07:24:34 +01:00
Héctor Ramón Jiménez
5b3977daf6
Implement vector pipeline in iced_tiny_skia
2023-03-07 06:09:51 +01:00
Héctor Ramón Jiménez
8af69be47e
Converge Command types from iced_futures and iced_native
2023-03-05 06:23:40 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase
2023-03-04 05:37:11 +01:00
Héctor Ramón Jiménez
5fd5d1cdf8
Implement Canvas support for iced_tiny_skia
2023-03-01 21:34:26 +01:00
Héctor Ramón Jiménez
9e815cb749
Remove Fill variant for Alignment
...
Implementing this generically in our `flex` logic has an exponential
cost. Let's explore other options!
2023-02-27 16:54:28 +01:00