Commit graph

179 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bf3ac04498
Keep window::open impure (for now) 2025-08-27 10:59:45 +02:00
Héctor Ramón Jiménez
7c1f193542
Add visible_bounds helper to widget::selector 2025-08-27 10:54:53 +02:00
Héctor Ramón Jiménez
81d1eda7fe
Introduce selector flag and decouple iced_widget from iced_runtime 2025-08-23 05:15:57 +02:00
Héctor Ramón Jiménez
1deb87694d
Make window::open pure again 2025-07-08 00:31:04 +02:00
Héctor Ramón Jiménez
10bbe44c30
Draft experimental hotpatching support 🎉
Thanks to `subsecond` by the Dioxus folks!
2025-06-24 14:30:09 +02:00
Craig Watson
8efda5e688 use debug_struct instead of write! 2025-06-03 09:28:15 -07:00
Craig Watson
7eb371729b Remove unnecessary bound 2025-05-27 08:40:34 -07:00
Craig Watson
15230cbee3 implement Debug for Task 2025-05-23 12:16:29 -07:00
Héctor Ramón Jiménez
bb78f1f336
Fix overlay flickering when layout is invalidated 2025-05-15 17:21:58 +02:00
Héctor Ramón Jiménez
6155100767
Allow Overlay::overlay to borrow Layout 2025-05-15 16:32:49 +02:00
Héctor Ramón Jiménez
301aac794b
Decouple mouse::Interaction from UserInterface::draw 2025-05-02 23:11:47 +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
alex-ds13
a01beefa84 fix: allow overlay mouse interaction outside its bounds 2025-05-02 15:51:01 +01: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
e64c58d032
Implement overlay ordering for Image::float 2025-04-25 11:20:16 +02:00
Héctor Ramón Jiménez
a6bcf69ea0
Fix Task unit calculation in Task::batch 2025-04-08 22:12:47 +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
9f1beba583
Make sipper dependency optional 2025-04-02 11:10:25 +02:00
edwloef
baadcc150f
don't use futures-executor when it's not the default executor 2025-04-02 10:48:11 +02:00
Héctor Ramón Jiménez
121102e55b
Track and report Task::units to debug API 2025-03-13 02:07:06 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon 2025-03-11 22:25:06 +01:00
Ryan Andersen
b9ebf45a03 Relax perform from Fn to more general FnOnce 2025-03-04 22:39:38 -08: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
c12beecd38
Remove unnecessary Future imports 2025-02-21 01:41:56 +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
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 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
9f21eae152
Introduce Task::map_with 2025-02-11 02:34:10 +01:00
Héctor Ramón Jiménez
6154395be0
Use sipper::Core in Task::sip 2025-02-10 17:47:18 +01:00
Héctor Ramón Jiménez
7ba2e39133
Update sipper and relax Send requirements 2025-02-09 21:05:42 +01:00
Héctor Ramón Jiménez
c8981d0096
Implement sipper support through Task::sip 🎉 2025-02-09 11:14:02 +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
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
KENZ
7db5256b72
Draft input_method support 2025-02-02 17:44:13 +01:00
Héctor Ramón Jiménez
61d4423015
Use simple quote in runtime::window docs 2025-01-16 11:21:11 +00:00
tsuza
e3f149d932
feat: add a window drag resize task 2025-01-16 11:17:00 +00:00
Héctor Ramón Jiménez
5b70754809
Rename window::change_* tasks to set_* 2025-01-06 23:25:57 +01:00
Héctor Ramón Jiménez
82ac0e7bf9
Rename window::resizable to window::set_resizable 2025-01-06 23:24:01 +01:00
Héctor Ramón Jiménez
91fd6d395f
Remove window::change_title since it's redundant
Applications can change title declaratively.
2025-01-06 23:20:51 +01:00
JL710
00b60d819b
window task for setting resize increments 2025-01-06 23:20:51 +01:00
JL710
f5f075e5cd
window resizable task 2025-01-06 23:20:51 +01:00
JL710
8ebbfa9767
window tasks for setting min and max size 2025-01-06 23:20:51 +01:00
JL710
ca8aaf9b8d
add Task and Action for changing a window title 2025-01-06 23:20:51 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
6d50c62bc7
Honor clones of task::Handle with abort_on_drop 2024-11-22 01:51:00 +01:00
Héctor Ramón Jiménez
e5f1e31a5c
Rename Overlay::on_event to update 2024-11-06 00:02:46 +01:00
Héctor Ramón Jiménez
f02bfc3f68
Rename Widget::on_event to update 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
dcc184b01b
Replace event::Status in Widget::on_event with Shell::capture_event 2024-11-05 23:52:58 +01:00
Héctor Ramón Jiménez
89c6654810
Fix Task::chain when chained task is Task::none 2024-10-04 16:48:46 +02:00