Commit graph

5832 commits

Author SHA1 Message Date
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
fe95b26d53
Fix missing inverse transformations in float widget 2025-05-04 00:36:56 +02:00
Héctor Ramón Jiménez
6a1f99e99d
Fix unaligned checkmark in checkbox 2025-05-03 22:29:14 +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
9b710a9aa8
Merge pull request #2922 from iced-rs/feature/smart-embedded-scrollbar
Smart Scrollbars
2025-05-03 04:36:10 +02:00
Héctor Ramón Jiménez
7e4c02b3f6
Set is_scrollbar_visible to true by default
This should optimize the worst layout case—when
scrollables with a lot of content are first shown.
2025-05-03 04:24:07 +02:00
Héctor Ramón Jiménez
f78a87c409
Show embedded scrollbars only when necessary in scrollable 2025-05-03 04:15:18 +02:00
Héctor Ramón Jiménez
7a81e638a3
Remove unnecessary redraw request in mouse_area 2025-05-03 00:51:18 +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
87afd5b79d
Fix mouse_interaction implementation for float 2025-05-02 22:41:22 +02:00
Héctor
89ba5f9ed8
Merge pull request #2921 from alex-ds13/overlay-interaction-outside-bounds
fix: allow overlay mouse interaction outside its bounds
2025-05-02 22:39:38 +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
a87fead83f
Fix naive string indexing in debug 2025-05-02 19:53:44 +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
aa2a50110d
Fix inconsistency in pane_grid 2025-05-01 17:12:14 +02:00
Héctor Ramón Jiménez
d2fa3d298c
Fix pane_grid split count not using local maximum 2025-05-01 16:59:36 +02:00
Héctor Ramón Jiménez
c4b7665a6c
Update comet revision in devtools (again!) 2025-05-01 04:35:58 +02:00
Héctor Ramón Jiménez
b542245753
Update comet revision in devtools 2025-05-01 04:23:27 +02:00
Héctor Ramón Jiménez
e82b10da77
Maintain application metadata in beacon connection 2025-05-01 04:19:44 +02:00
Héctor
dc69fdee46
Merge pull request #2916 from iced-rs/feature/float-widget
`float` widget and other cool stuff
2025-05-01 03:16:26 +02:00
Héctor Ramón Jiménez
acde7ea735
Implement Frame::stroke_text in canvas API 2025-05-01 03:00:31 +02:00
Héctor Ramón Jiménez
8f3bca299b
Write some docs for the new float widget 2025-05-01 01:33:43 +02:00
Héctor
420ac0b7d1
Merge pull request #2911 from iced-rs/feature/pane-grid-min-size
Add `min_size` method to `PaneGrid`
2025-05-01 01:14:25 +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
f8f2e55f19
Implement float widget interactivity 2025-04-30 23:35:31 +02:00
Héctor Ramón Jiménez
1445e068e0
Enforce minimum pane size by counting splits in each axis 2025-04-30 16:12:14 +02:00
Héctor Ramón Jiménez
97b4ed0d84
Support max_width and text::Alignment for canvas::Text 2025-04-30 04:19:15 +02:00
Héctor Ramón Jiménez
6ebf386249
Fix missing is_empty in image::Batch 2025-04-30 01:30:53 +02:00
Héctor Ramón Jiménez
5fd2ae070e
Update comet to display layers rendered 2025-04-29 23:03:14 +02:00
Héctor Ramón Jiménez
613c706a39
Report layers rendered to iced_beacon 2025-04-29 23:01:45 +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
8ba993adad
Merge pull request #2910 from iced-rs/feature/time-travel
Time Travel Debugging
2025-04-29 21:53:36 +02:00
Héctor Ramón Jiménez
2a43921c56
Add min_size method to PaneGrid 2025-04-29 17:15:35 +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
267583c2a9
Draft auto-update process for comet in devtools 2025-04-28 09:49:57 +02:00
Héctor
aa633f6832
Merge pull request #2905 from edwloef/fix_combo_box
fix combo-box panic after 6034a0c
2025-04-26 18:26:04 +02:00
edwloef
40ed7d8762
fix combo-box panic after 6034a0c 2025-04-26 18:16:24 +02:00
Héctor
afc562d336
Merge pull request #2903 from iced-rs/feature/image-float
Floating Images
2025-04-26 07:49:30 +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
00e4de88bf
Return early when drawing image::Overlay if not visible 2025-04-26 03:19:30 +02:00
Héctor Ramón Jiménez
c4e6e42759
Clip shadow bounds of floating images to the viewport 2025-04-26 03:17:01 +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
Héctor
7f1dcec391
Merge pull request #2901 from Ultrasquid9/master
Indent and Unindent Text Editor Actions
2025-04-25 04:17:50 +02:00