Commit graph

209 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
7b8b01f560
Use f32 in Length::Units and rename it to Fixed 2023-02-17 15:40:17 +01:00
Héctor Ramón Jiménez
a50cc32d09
Fix layout translation in overlay::Group
This bug produced improper positioning of overlays of elements inside a
`Scrollable`.
2023-01-30 05:11:59 +01:00
Héctor Ramón Jiménez
35c0fa3b00
Bump versions in READMEs 2023-01-14 01:14:02 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Héctor Ramón Jiménez
c6d0046102
Use instant instead of wasm-timer in iced_core 2023-01-12 06:25:59 +01:00
Héctor Ramón Jiménez
f64e95e246
Remove PartialOrd implementation for Rectangle
A `PartialOrd` implementation is unclear for this type, since it has
a position besides its dimensions.
2023-01-08 20:19:36 +01:00
Héctor Ramón Jiménez
624a4ada79
Introduce RelativeOffset type in scrollable 2023-01-08 20:07:11 +01:00
bungoboingo
9f85e0c721 Reworked Scrollable to account for lack of widget order guarantees.
Fixed thumb "snapping" bug on scrollable when cursor is out of bounds.
2022-12-29 18:29:15 -08:00
Bingus
d91f4f6aa7 Add multidirectional scrolling capabilities to the existing Scrollable. 2022-12-29 10:21:23 -08:00
Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66 2022-12-20 11:31:25 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
Héctor Ramón Jiménez
2d58a2c033
Remove unnecessary clippy directives in Color 2022-12-06 04:40:50 +01:00
Héctor Ramón Jiménez
c0ca1807d4
Fix macro hygiene of color! 2022-12-06 04:34:42 +01:00
Michael Aaron Murphy
0249640213
feat: Add Color::into_rgb8 2022-12-06 03:59:53 +01:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉 2022-11-10 18:15:10 +01:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation 2022-11-10 18:14:40 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉 2022-11-10 01:20:11 +01:00
Héctor Ramón Jiménez
04087b2a86
Remove redundant std::convert namespace in padding 2022-11-08 04:11:45 +01:00
Héctor Ramón Jiménez
24d031b51c
Cast to u16 first then divide by 2 in Padding::fit 2022-11-08 04:11:06 +01:00
Héctor Ramón Jiménez
7476663069
Rename Padding::constrain to fit 2022-11-08 03:56:05 +01:00
Cory Forsstrom
2c103f8654 Constrain padding to inner & outer sizes 2022-10-27 11:50:12 -07:00
Héctor Ramón Jiménez
be5964db83
Write documentation for color! macro 2022-09-23 20:11:43 +02:00
Joshua
82cf8d2d12
Macro for easy colour generation 2022-09-23 20:09:03 +02:00
Héctor Ramón Jiménez
b0705d2f4c
Fix latest clippy lints 2022-08-17 16:09:25 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +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
6fe6daa64f
Add html_logo_url to iced_core and iced_lazy 2022-05-02 20:33:10 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs 2022-05-02 20:26:59 +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
Héctor Ramón
7ed0dbbcc5
Merge pull request #1288 from tarkah/update-palette-0.6
update palette to 0.6
2022-03-17 15:51:39 +07:00
Cory Forsstrom
f2b0e02c25 update palette to 0.6 2022-03-16 16:14:08 -07:00
Héctor Ramón Jiménez
c6486978de
Rename image module to content_fit in iced_core
Since we are just exposing the `ContentFit` type and not the module `image` at all.
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
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
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
83c649b574
Move time module from iced_native to iced_core 2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
8f97619785
Simplify version of the palette dependency 2022-01-12 20:05:05 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +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
343f9b7e2e
Merge iced_core::text with iced_native::text 2021-11-04 18:28:06 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module 2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row 2021-09-20 15:12:43 +07:00
Cory Forsstrom
be51cac3d7
Add Align::Fill variant 2021-09-20 15:11:06 +07:00
Héctor Ramón
099981cfc2
Merge pull request #1047 from iced-rs/revert-menus
Revert system menus support
2021-09-15 15:50:25 +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
Héctor Ramón Jiménez
643500bbdf
Use Option to encode empty text case in hit test methods 2021-09-15 14:49:13 +07:00
Héctor Ramón Jiménez
7614127d36
Rename HitTestResult to Hit
... and also move it to a new `text` module in `iced_core`
2021-08-26 14:41:33 +07:00
Tom
aa63841e2c Implement textual hit testing 2021-08-21 10:31:26 -07:00