Commit graph

799 commits

Author SHA1 Message Date
edwloef
c1ab626307
fix rectangle snapping 2025-05-30 00:02:56 +02:00
DKolter
d4a692d147 fix: Rectangle::is_within inconsistency 2025-05-29 13:26:38 +02:00
Héctor Ramón Jiménez
9d4e849a0e
Revert "Merge pull request #2962 from iced-rs/fix/blurry-quads"
This reverts commit 03326b955b, reversing
changes made to 7c5a4bc465.
2025-05-28 22:51:10 +02:00
Héctor Ramón Jiménez
f929a20d29
Change From<str> for Selector to Text in iced_test 2025-05-28 03:25:39 +02:00
Héctor Ramón Jiménez
15aa94c0f1
Try to align quad and image primitives in iced_wgpu 2025-05-26 23:59:15 +02:00
Héctor Ramón Jiménez
6155100767
Allow Overlay::overlay to borrow Layout 2025-05-15 16:32:49 +02:00
edwloef
d19be6dfc8
fix doc comment of Length::is_fill 2025-05-11 12:19:08 +02:00
dtzxporter
5dcab9bf3a Expose setting to disable vsync if requested.
- This improves rendering performance on windows 10x and doesn't result in noticeable tearing. The user can decide if they want it anyways.
2025-05-04 14:25:16 -04:00
Héctor Ramón Jiménez
6bf709e03e
Make anchoring explicit and improve reusability of text pipelines 2025-05-04 03:54:42 +02:00
Héctor Ramón Jiménez
d643bd5ba2
Add content method to plain::Paragraph 2025-05-04 00:38:51 +02:00
Héctor Ramón Jiménez
f031b99196
Return change flag in paragraph::Plain::update 2025-05-03 05:53:19 +02:00
Héctor Ramón Jiménez
9e934fe2a7
Remove now redundant Overlay::is_over
The `mouse_interaction` method can be properly used
now to encode hover status with the `None` and `Idle`
variants.
2025-05-02 21:23:17 +02:00
Héctor Ramón Jiménez
aa27ab50e5
Use Self in core::transformation 2025-05-01 01:13:10 +02:00
Héctor Ramón Jiménez
fae95d6095
Draft float widget and simplify image again 🎉 2025-04-29 22:34:09 +02:00
Héctor Ramón Jiménez
29a19fcde1
Purify Animation API and introduce application::timed 2025-04-29 03:03:32 +02:00
Héctor Ramón Jiménez
4334923add
Merge branch 'master' into feature/time-travel 2025-04-29 02:06:34 +02:00
Héctor Ramón Jiménez
ef16ea3b2a
Tweak and organize devtools crate 2025-04-28 22:41:09 +02:00
Héctor Ramón Jiménez
61b96caf21
Reduce nesting in Rectangle::offset 2025-04-26 04:50:59 +02:00
Héctor Ramón Jiménez
385cfcddb2
Remove push method for overlay::Group 2025-04-26 02:55:42 +02:00
Héctor Ramón Jiménez
6c51a9579d
Make Overlay aware of viewport
... and unify `Image::float` and `Image::translate`
2025-04-26 02:52:57 +02:00
Héctor Ramón Jiménez
a2a7c18c9d
Implement Image::translate for positioning floating images 2025-04-25 13:31:49 +02:00
Héctor Ramón Jiménez
e64c58d032
Implement overlay ordering for Image::float 2025-04-25 11:20:16 +02:00
Juniper
0b6e0667ae Indent and Unindent Text Editor Actions 2025-04-24 17:20:19 -04:00
Héctor Ramón Jiménez
f67785edb5
Simplify Widget::diff default implementation 2025-04-24 22:58:17 +02:00
Héctor Ramón Jiménez
6034a0cf60
Fix incorrect default implementation of Widget::diff 2025-04-24 22:55:31 +02:00
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon 2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
5f00aef426
Remove approx dependency and update Cargo.lock 2025-04-01 08:20:59 +02:00
edwloef
44e13db1ef
get rid of palette dependency 2025-04-01 02:57:46 +02:00
Héctor Ramón Jiménez
2b7d8eaaca
Test different Theme variants in styling example 2025-04-01 02:55:27 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon 2025-04-01 02:18:20 +02:00
Héctor Ramón Jiménez
5e5c7c85ad
Append renderer name to iced_test snapshots 2025-03-24 20:22:17 +01:00
Héctor Ramón Jiménez
576dd22733
Split local state from Engine in iced_wgpu 2025-03-24 20:22:15 +01:00
Héctor Ramón Jiménez
5f15522368
Report theme changes to debug API 2025-03-13 00:42:28 +01:00
Héctor Ramón Jiménez
68c4764494
Enable Settings::antialiasing by default 2025-03-12 02:14:58 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon 2025-03-11 22:25:06 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support 2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment 2025-03-11 00:43:51 +01:00
Héctor Ramón Jiménez
8bd5de72ea
Merge branch 'master' into beacon 2025-03-04 19:11:37 +01:00
Héctor Ramón Jiménez
beddf49c76
Improve contrast of light deviation in palette 2025-02-26 13:31:13 +01:00
Héctor
34314b3f57
Merge pull request #2812 from andymandias/text_input-is_focused
`operation::focusable::is_focused` & `text_input::is_focused`
2025-02-23 07:34:30 +01:00
Andrew Baldwin
7916a9c227 Nit fixes. 2025-02-21 20:39:59 -08:00
Andrew Baldwin
9cba92f57f Add is_focused function that produces an Operation to get the focused state of a focusable by ID.
Add `is_focused` function that produces a `Task` to get the focused state of a `text_input` by ID.
2025-02-21 18:56:41 -08:00
Héctor Ramón Jiménez
873311558f
Darken background of Dark theme 2025-02-22 02:29:57 +01:00
Héctor Ramón Jiménez
a216a0a04e
Improve readable fallback strategy in palette 2025-02-22 02:20:24 +01:00
Héctor Ramón Jiménez
412dfe0e60
Tweak colors of Light and Dark themes 2025-02-22 00:58:06 +01:00
Héctor Ramón Jiménez
954f49d4d7
Add weakest and strongest to Background palette
... and tweak background shade generation logic.
2025-02-22 00:34:55 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
67e489e382
Update to Rust 2024 and fix compiler errors 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
ffc412d6b7
Implement delay for pop widget 🎉 2025-02-19 07:23:50 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00