Commit graph

607 commits

Author SHA1 Message Date
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
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
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
Héctor Ramón Jiménez
d2d93d0916
Fix typo in with! documentation 2025-02-11 03:42:44 +01:00
Héctor Ramón Jiménez
0c528be2ea
Introduce with helper and use sipper in gallery example 2025-02-11 03:41:29 +01:00
Héctor Ramón Jiménez
ec4d007a4c
Simplify gallery example a bit 2025-02-09 08:02:05 +01:00
Héctor Ramón Jiménez
f3ae4266e9
Implement From<u32> instead of u16 for Length and Pixels 2025-02-09 06:38:48 +01:00
rhysd
cf851e133a Do not pass text size to Preedit::new 2025-02-06 09:57:01 +09:00
rhysd
fcdf53afde Set correct text size for text in preedit window 2025-02-06 02:01:52 +09:00
Héctor Ramón Jiménez
e8020f3eaf
Add Copy action to code blocks in markdown example 2025-02-04 20:58:06 +01:00
Héctor Ramón Jiménez
24cf355e96
Fix documentation of markdown and rich_text 2025-02-04 19:07:24 +01:00
Héctor Ramón Jiménez
5655998761
Draft Viewer trait for markdown 2025-02-04 07:53:56 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
50eaef2844
Merge branch 'master' into explore-input-method2 2025-02-03 17:24:05 +01:00
Héctor Ramón Jiménez
141290c740
Fix InputMethod conflicts with multiple scrollables 2025-02-03 17:12:08 +01:00
Héctor Ramón Jiménez
0c0651de5b
Introduce Levitating variant for mouse::Cursor 2025-02-03 05:45:51 +01:00
Héctor Ramón Jiménez
3029481b72
Ignore redraws of invisible content in hover widget 2025-02-03 04:34:13 +01:00
Héctor Ramón Jiménez
76c25d2fb2
Fix typo in core::Event documentation 2025-02-03 03:36:18 +01:00
Héctor Ramón Jiménez
ba755c69d6
Fulfill InputMethod requests only during RedrawRequested 2025-02-03 03:34:41 +01:00
Héctor Ramón Jiménez
c9abe25d31
Use text::Span::new in window_manager 2025-02-03 02:38:20 +01:00
Héctor Ramón Jiménez
c83809adb9
Implement basic IME selection in Preedit overlay 2025-02-03 02:33:40 +01:00
Héctor Ramón Jiménez
db990b77e4
Add neutral None variant to InputMethod 2025-02-02 21:06:50 +01:00
Héctor Ramón Jiménez
ae10adda74
Refactor and simplify input_method API 2025-02-02 20:45:29 +01:00
Héctor Ramón Jiménez
d5ee9c2795
Copy winit docs for input_method::Event 2025-02-02 17:55:16 +01:00
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
a56c2f3d81
Enable animation module for Wasm target 2025-01-29 04:55:51 +01:00
Héctor
9b959d3e80
Merge pull request #2758 from airstrike/mouse-transformation
Implement `Mul<Transformation>` for `mouse::Cursor` and `mouse::Click`
2025-01-28 18:47:28 +01:00
Andy Terra
6576184bae Move cursor Transformation to mouse::cursor module 2025-01-28 11:34:36 -05:00
Héctor Ramón Jiménez
87165ccd29
Introduce LineEnding to editor and fix inconsistencies 2025-01-28 06:23:38 +01:00