summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use an opaque `Id` type for `image::Handle`Libravatar Héctor Ramón Jiménez2024-05-016-36/+59
| | | | Hashing pointers is a terrible idea.
* Fix `clippy` lint in `runtime::window::screenshot`Libravatar Héctor Ramón Jiménez2024-05-011-3/+3
|
* Use `Bytes` as the `Container` of `ImageBuffer`Libravatar Héctor Ramón Jiménez2024-05-015-77/+73
| | | | | Since we don't need to mutate images once loaded, we avoid unnecessary extra allocations.
* Utilize bytes::Bytes iced_runtime::window::ScreenshotLibravatar Thomas Sieverding2024-05-012-5/+12
|
* Utilize bytes::Bytes for imagesLibravatar Bajix2024-05-013-56/+8
|
* Merge pull request #2415 from iced-rs/feature/canvas-cache-groupsLibravatar Héctor Ramón2024-05-0115-148/+398
|\ | | | | `canvas::Cache` Grouping
| * Enable logging in `clock` exampleLibravatar Héctor Ramón Jiménez2024-04-302-0/+3
| |
| * Keep text atlases alive during temporary empty uploadsLibravatar Héctor Ramón Jiménez2024-04-301-32/+44
| |
| * Fix cache trimming loop in `iced_wgpu::text`Libravatar Héctor Ramón Jiménez2024-04-302-9/+52
| |
| * Invalidate text uploads after atlas trimmingLibravatar Héctor Ramón Jiménez2024-04-304-12/+29
| |
| * Fix `clippy` lint in `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-301-6/+1
| |
| * Use shared `Cache` group in `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-301-15/+17
| |
| * Introduce `canvas::Cache` groupingLibravatar Héctor Ramón Jiménez2024-04-3010-101/+279
|/ | | | | Caches with the same `Group` will share their text atlas!
* Fix `text` and `triangle` uploads being dropped on `canvas` cache clearsLibravatar Héctor Ramón Jiménez2024-04-302-0/+2
|
* Merge pull request #2409 from iced-rs/rc-cache-evictionLibravatar Héctor Ramón2024-04-284-14/+140
|\ | | | | Retain caches in `iced_wgpu` as long as `Rc` values are alive
| * Create `the_matrix` exampleLibravatar Héctor Ramón Jiménez2024-04-272-0/+128
| |
| * Retain caches in `iced_wgpu` as long as `Rc` values are aliveLibravatar Héctor Ramón Jiménez2024-04-272-14/+12
|/ | | | | This allows reusing a `canvas::Cache` at no cost even if it is not presented every frame.
* Merge pull request #2408 from iced-rs/feature/hover-widgetLibravatar Héctor Ramón2024-04-272-12/+259
|\ | | | | `hover` widget
| * Propagate mouse movement and button releases unconditionally in `hover`Libravatar Héctor Ramón Jiménez2024-04-271-1/+8
| |
| * Fix top layer clipping in `hover` widgetLibravatar Héctor Ramón Jiménez2024-04-271-21/+24
| |
| * Fix ambiguous link in documentation of `hover` helperLibravatar Héctor Ramón Jiménez2024-04-271-0/+2
| |
| * Fix `overlay` behavior in `hover` widgetLibravatar Héctor Ramón Jiménez2024-04-271-11/+14
| |
| * Use `hover` widget in `bezier_tool` exampleLibravatar Héctor Ramón Jiménez2024-04-271-11/+15
| |
| * Introduce `hover` widgetLibravatar Héctor Ramón Jiménez2024-04-271-1/+229
| |
* | Set proper size boundaries for `limits` in `Stack::layout`Libravatar Héctor Ramón Jiménez2024-04-271-1/+2
| |
* | Respect `width` and `height` properties when `Stack` is emptyLibravatar Héctor Ramón Jiménez2024-04-271-1/+5
|/
* Merge pull request #2407 from iced-rs/fix/text-editor-quirksLibravatar Héctor Ramón2024-04-262-17/+25
|\ | | | | Fix some `text_editor` quirks
| * Fix out of bounds caret in `TextEditor` in some circumstancesLibravatar Héctor Ramón Jiménez2024-04-261-13/+17
| |
| * Fix panic when scrolling a `TextEditor` inside a `scrollable`Libravatar Héctor Ramón Jiménez2024-04-261-4/+8
|/
* Merge pull request #2406 from iced-rs/fix/scrollbar-priorityLibravatar Héctor Ramón2024-04-261-143/+145
|\ | | | | Capture scrollbar events in a `scrollable` before content events
| * Fix `Shift` scrolling for `scrollable` on macOSLibravatar Héctor Ramón Jiménez2024-04-261-1/+3
| | | | | | | | | | Apparently, macOS inverts the scrolling axes automatically now. Was this a thing before, or did an update just break user space?
| * Capture scrollbar events in a `scrollable` before content eventsLibravatar Héctor Ramón Jiménez2024-04-261-142/+142
|/
* Merge pull request #2405 from iced-rs/feature/stack-widgetLibravatar Héctor Ramón2024-04-2517-359/+609
|\ | | | | `Stack` widget
| * Simplify `modal` example :tada:Libravatar Héctor Ramón Jiménez2024-04-251-328/+35
| |
| * Introduce `opaque` widget helperLibravatar Héctor Ramón Jiménez2024-04-2513-12/+182
| |
| * Use `Limits::resolve` in `Stack` widgetLibravatar Héctor Ramón Jiménez2024-04-251-2/+3
| |
| * Fix documentation of `stack` moduleLibravatar Héctor Ramón Jiménez2024-04-251-1/+1
| |
| * Showcase new `Stack` widget in `bezier_tool` exampleLibravatar Héctor Ramón Jiménez2024-04-251-18/+35
| |
| * Implement `Stack` widgetLibravatar Héctor Ramón Jiménez2024-04-254-2/+357
|/ | | | It can be used to stack elements on top of each other!
* Merge pull request #2403 from iced-rs/improve-image-cache-evictionLibravatar Héctor Ramón2024-04-246-5/+41
|\ | | | | Make image `Cache` eviction strategy less aggressive in `iced_wgpu`
| * Make image `Cache` eviction strategy less aggressive in `iced_wgpu`Libravatar Héctor Ramón Jiménez2024-04-246-5/+41
|/ | | | | | | | | | | Instead of trimming unconditionally at the end of a frame, we now trim the cache only when there is a cache miss. This way, images that are not visible but still a part of the layout will stay cached. Eviction will only happen when the images are not a part of the UI for two consectuive frames.
* Don't consume unused scroll events (#2397)Libravatar Daniel2024-04-231-39/+45
| | | | | | | | | | | * Initial Commit * Update scrollable.rs * Use `let _ = ` instead of `_ =` for consistency --------- Co-authored-by: Héctor Ramón Jiménez <hector@hecrj.dev>
* Fix clip bounds with nested `scrollable` widgetsLibravatar Héctor Ramón Jiménez2024-04-231-4/+8
|
* Merge pull request #2393 from saihaze/masterLibravatar Héctor Ramón2024-04-211-1/+1
|\ | | | | Fix typo in icon.rs
| * Fix typoLibravatar saihaze2024-04-191-1/+1
|/
* Fix `SelectNextSome` poll after termination panic in `iced_winit::Proxy`Libravatar Héctor Ramón Jiménez2024-04-171-22/+15
|
* Merge pull request #2386 from mtkennerly/feature/check-text-editor-focusLibravatar Héctor Ramón2024-04-171-1/+10
|\ | | | | Allow checking whether a `TextEditor` is focused
| * Allow checking whether a TextEditor is focusedLibravatar mtkennerly2024-04-151-1/+10
| |
* | Merge pull request #2389 from iced-rs/fix/async-memory-usageLibravatar Héctor Ramón2024-04-174-118/+160
|\ \ | |/ |/| Implement backpressure mechanism for `iced_winit::Proxy`
| * Implement backpressure mechanism in `iced_winit::Proxy`Libravatar Héctor Ramón Jiménez2024-04-163-112/+152
| |