summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add touch support for toggler. (#1935)Libravatar Austin M. Reppert2023-06-291-1/+3
| | | | | | | | | | | | * Add touch support for toggler. * Fix formatting. * Fix consistency of imports in `iced_widget::toggler` --------- Co-authored-by: Austin M. Reppert <austinmreppert@protonmail.com> Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
* Merge pull request #1932 from iced-rs/generic-graphics-primitiveLibravatar Héctor Ramón2023-06-2935-480/+867
|\ | | | | Backend-specific primitives
| * Write missing docs in `iced_graphics` and `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-298-5/+17
| |
| * Decouple `Mesh` primitives from main `Primitive` typeLibravatar Héctor Ramón Jiménez2023-06-2915-205/+248
| |
| * Remove `layout` method from `core::Renderer` traitLibravatar Héctor Ramón Jiménez2023-06-293-32/+9
| |
| * Introduce custom backend-specific primitivesLibravatar Héctor Ramón Jiménez2023-06-2928-263/+618
|/
* Merge pull request #1934 from iced-rs/reuse-text-cache-entriesLibravatar Héctor Ramón2023-06-2810-83/+142
|\ | | | | Reuse entries in `text::Cache`
| * Retain text measurements as long as original entriesLibravatar Héctor Ramón Jiménez2023-06-282-33/+36
| |
| * Retain measurements for text entries even if not directly usedLibravatar Héctor Ramón Jiménez2023-06-282-4/+8
| |
| * Fix needless borrow in `iced_wgpu` and `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-282-2/+2
| |
| * Reuse entries in `text::Cache` in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-282-45/+74
| |
| * Reuse entries in `text::Cache` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-2810-46/+69
|/
* Fix `loading_spinners` exampleLibravatar Héctor Ramón Jiménez2023-06-282-8/+10
|
* Merge pull request #1878 from AustinMReppert/masterLibravatar Héctor Ramón2023-06-272-76/+114
|\ | | | | Minor Scrollable Improvements
| * Use `Option::filter` instead of `and_then` in `scrollable`Libravatar Héctor Ramón Jiménez2023-06-271-14/+6
| |
| * Require a `Direction` when computing `State::offset` in `scrollable`Libravatar Héctor Ramón Jiménez2023-06-271-18/+23
| |
| * Rename `ScrollbarProperties` to `Direction` in `scrollable`Libravatar Héctor Ramón Jiménez2023-06-272-70/+61
| |
| * Make vertical scroll properties optionalLibravatar Austin M. Reppert2023-06-272-49/+99
| | | | | | | | Co-Authored-By: Austin M. Reppert <austinmreppert@gmail.com>
* | Merge pull request #1902 from nicksenger/loading-spinnersLibravatar Héctor Ramón2023-06-276-0/+1019
|\ \ | |/ |/| Example loading spinners
| * refactor: remove unnecessary canvas complexityLibravatar Nick Senger2023-06-091-120/+67
| |
| * comment: fix typoLibravatar Nick Senger2023-06-081-4/+4
| |
| * fix: RedrawRequest::NextFrame -> RedrawRequest::At()Libravatar Nick Senger2023-06-082-2/+10
| |
| * comment: cleanup importsLibravatar Nick Senger2023-06-084-65/+58
| |
| * fix: rotation in terms of durationLibravatar Nick Senger2023-06-071-29/+54
| |
| * feat: use lyon for easingLibravatar Nick Senger2023-06-077-116/+214
| |
| * feat: add progress indicators exampleLibravatar Nick Senger2023-06-076-0/+948
| |
* | Merge pull request #1843 from wash2/fix-tiny-skia-quadLibravatar Héctor Ramón2023-06-271-18/+126
|\ \ | | | | | | fix: quad rendering including border only inside of the bounds
| * | Fix import consistency in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-271-5/+3
| | |
| * | Draw border path for `quad` only if it has a border in `iced_tiny_skia`Libravatar Héctor Ramón Jiménez2023-06-271-105/+109
| | |
| * | fix: tiny-skia quad handle case where border_radius < border_width / 2.0Libravatar Ashley Wulber2023-05-111-7/+83
| | |
| * | fix: don't offset fill of quadLibravatar Ashley Wulber2023-05-111-12/+4
| | |
| * | fix: quad rendering including border only inside of the boundsLibravatar Ashley Wulber2023-05-101-4/+42
| | |
* | | Merge pull request #1885 from bungoboingo/gradient-packing-optimizationLibravatar Héctor Ramón2023-06-276-179/+188
|\ \ \ | | | | | | | | Small gradient optimization
| * | | Switched to packing using f16s to maintain acceptable precision.Libravatar Bingus2023-06-077-151/+163
| | | |
| * | | Updated color packing into u32 to consider incorrect web-colors.Libravatar Bingus2023-06-064-49/+61
| | | |
| * | | Implement explicit `Color::into_u32` instead of `Into` traitLibravatar Héctor Ramón Jiménez2023-06-061-13/+12
| | | |
| * | | Optimized gradient data packing.Libravatar Bingus2023-06-066-158/+144
| | |/ | |/|
* | | Merge pull request #1845 from bungoboingo/feat/offscreen-renderingLibravatar Héctor Ramón2023-06-2715-24/+921
|\ \ \ | | | | | | | | Feat: Offscreen Rendering & Screenshots
| * | | Simplify `offscreen` API as `color` module in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-06-275-236/+180
| | | |
| * | | Move `Screenshot` inside `window` moduleLibravatar Héctor Ramón Jiménez2023-06-277-10/+13
| | | |
| * | | Fixed documentationLibravatar Bingus2023-06-141-1/+1
| | | |
| * | | Replaced offscreen_blit.wgsl with existing blit.wgsl.Libravatar Bingus2023-06-142-130/+60
| | | |
| * | | Added in check for web-colors.Libravatar Bingus2023-06-081-7/+16
| | | |
| * | | Adjusted offscreen pass to be a render pass vs compute for compat with ↵Libravatar Bingus2023-06-084-58/+166
| | | | | | | | | | | | | | | | web-colors flag.
| * | | Fix width of crop labels in `screenshot` example (again)Libravatar Héctor Ramón Jiménez2023-06-061-4/+4
| | | |
| * | | Rearrange controls of the `screenshot` exampleLibravatar Héctor Ramón Jiménez2023-06-061-32/+52
| | | |
| * | | Introduce `on_press_maybe` helper for `Button`Libravatar Héctor Ramón Jiménez2023-06-062-4/+14
| | | |
| * | | Wrap `Screenshot::bytes` in an `Arc` and implement `AsRef<[u8]>`Libravatar Héctor Ramón Jiménez2023-06-062-5/+16
| | | |
| * | | Avoid `iced_image` import in `screenshot` exampleLibravatar Héctor Ramón Jiménez2023-06-061-5/+4
| | | |
| * | | Fix punctuation in `screenshot` exampleLibravatar Héctor Ramón Jiménez2023-06-061-2/+2
| | | |