Commit graph

639 commits

Author SHA1 Message Date
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
Héctor
7c1123d6c9
Merge pull request #2790 from rhysd/adjust-preedit-size
Set correct text size for preedit window
2025-02-12 07:36:48 +01:00
Héctor
89a412695a
Merge pull request #2805 from iced-rs/feature/sipper-support
`sipper` support and some QoL
2025-02-12 01:51:20 +01:00
Héctor
d91e426dab
Add missing dot in unfocus operation docs 2025-02-11 20:48:00 +01:00
Héctor Ramón Jiménez
6f48671042
Fix broken link in Function documentation 2025-02-11 20:28:19 +01:00
Héctor Ramón Jiménez
7d99e4d07e
Use Function trait in Element::map example 2025-02-11 20:25:48 +01:00
edwloef
b80c23fd94
add unfocus operation 2025-02-11 15:47:08 +01:00
Héctor Ramón Jiménez
eab723866e
Replace with function with Function trait 2025-02-11 10:36:45 +01:00
Héctor Ramón Jiménez
080db34849
Make with take a Copy prefix
Use the `with!` macro otherwise!
2025-02-11 03:48:49 +01:00