summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clippyLibravatar Casper Storm2023-05-2311-16/+15
|
* Extend border radius on relevant widgetsLibravatar Casper Storm2023-05-2319-99/+111
|
* Merge pull request #1844 from tarkah/fix/scrollbar-widthsLibravatar Héctor Ramón2023-05-231-10/+12
|\ | | | | Remove min width 1 from scrollbar & scroller
| * Avoid drawing empty quads in `widget::scrollable`Libravatar Héctor Ramón Jiménez2023-05-231-6/+10
| |
| * Remove min width 1 from scrollbar & scrollerLibravatar Cory Forsstrom2023-05-231-4/+2
|/
* Merge pull request #1797 from bbb651/masterLibravatar Héctor Ramón2023-05-232-4/+2
|\ | | | | Make mouse::Button::Other take u16 instead of u8
| * Make mouse::Button::Other take u16 instead of u8Libravatar bbb6512023-05-232-4/+2
| | | | | | | | | | | | | | On wayland keys correspond to <input-event-codes.h>, and they are past the limit of u8, causing the back and forward buttons to be 20 and 19 which definitely isn't right (they should all be around 0x110..=0x117).
* | Merge pull request #1861 from marienz/from-pointersLibravatar Héctor Ramón2023-05-232-31/+24
|\ \ | | | | | | Support conversion from Fn trait to custom theme
| * | Support conversion from Fn trait to custom themeLibravatar Marien Zwart2023-05-212-31/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...instead of just from function pointers. I'm making this change not because I actually want to pass a closure, but to make passing a single fixed function work. This commit also simplifies the scrollable example slightly, and without the other half of this change that simplified example fails to compile with: ``` error[E0277]: the trait bound `iced::theme::ProgressBar: From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not satisfied --> examples/scrollable/src/main.rs:292:28 | 292 | .style(progress_bar_custom_style) | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}>` is not implemented for `iced::theme::ProgressBar` | | | required by a bound introduced by this call | = help: the trait `From<for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance>` is implemented for `iced::theme::ProgressBar` = note: required for `for<'a> fn(&'a Theme) -> iced::widget::progress_bar::Appearance {progress_bar_custom_style}` to implement `Into<iced::theme::ProgressBar>` note: required by a bound in `iced::widget::ProgressBar::<Renderer>::style` --> /home/marienz/src/iced/widget/src/progress_bar.rs:77:21 | 77 | style: impl Into<<Renderer::Theme as StyleSheet>::Style>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ProgressBar::<Renderer>::style` ``` This happens because `progress_bar_custom_style` by itself is a function item, which is typically coerced to a function pointer when one is needed, but not in this case. It is possible to work around this on the caller's side, but especially since the compiler diagnostic for this is a bit rough (see https://github.com/rust-lang/rust/issues/100116) let's try to make it work out of the box.
* | | Merge pull request #1840 from a1phyr/glamLibravatar Héctor Ramón2023-05-222-2/+2
|\ \ \ | |/ / |/| | Update `glam` to `0.24`
| * | Update `glam` to `0.24`Libravatar Benoît du Garreau2023-05-222-2/+2
|/ /
* | Merge pull request #1856 from jhff/pane_grid_split_with_dragged_paneLibravatar Héctor Ramón2023-05-195-18/+196
|\ \ | | | | | | [Feature] Enhance PaneGrid to split panes by drag & drop
| * | Rename invert -> swapLibravatar Joao Freitas2023-05-191-2/+2
| | |
| * | Take pane state internallyLibravatar Joao Freitas2023-05-192-22/+9
| | |
| * | Change name of hovered region style struct, reorder lines & export AppearanceLibravatar Joao Freitas2023-05-193-19/+19
| | |
| * | Add pane_grid functionality to split a pane with another paneLibravatar Joao Freitas2023-05-165-7/+198
| | |
* | | Merge pull request #1846 from bungoboingo/feat/background-gradientsLibravatar Héctor Ramón2023-05-1942-1442/+1557
|\ \ \ | |/ / |/| | [Feature] Gradients for Backgrounds
| * | Remove redundant re-export in `widget::canvas`Libravatar Héctor Ramón Jiménez2023-05-191-1/+0
| | |
| * | Reduce `INITIAL_INSTANCES` in `wgpu::quad` to `2_000`Libravatar Héctor Ramón Jiménez2023-05-191-1/+1
| | |
| * | Fix needless borrow in `tiny_skia::backend`Libravatar Héctor Ramón Jiménez2023-05-191-1/+1
| | |
| * | Fix inconsistent `pub use` in `wgpu::layer`Libravatar Héctor Ramón Jiménez2023-05-191-1/+1
| | |
| * | Avoid redundant `buffer::Buffer` importLibravatar Héctor Ramón Jiménez2023-05-194-7/+8
| | |
| * | Keep `image` pipeline decoupled from `quad` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-05-192-8/+40
| | |
| * | Inline `into_gradient` in `tiny_skia::backend`Libravatar Héctor Ramón Jiménez2023-05-191-43/+41
| | | | | | | | | | | | ... since it's not really reused anywhere else.
| * | Fix imports of `geometry::style` in `iced_graphics`Libravatar Héctor Ramón Jiménez2023-05-191-2/+2
| | |
| * | Keep `tour` buttons solidLibravatar Héctor Ramón Jiménez2023-05-191-50/+5
| | | | | | | | | | | | The gradients feel a bit out of place currently.
| * | Implement `custom` helper for `theme::Button`Libravatar Héctor Ramón Jiménez2023-05-192-8/+15
| | |
| * | Avoid packing gradient data for every vertex in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-05-191-5/+5
| | |
| * | Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez2023-05-1915-209/+163
| | |
| * | Added support for gradients as background variants + other optimizations.Libravatar Bingus2023-05-1141-1470/+1639
| | |
* | | Merge pull request #1854 from wash2/fix-clear-blend-modeLibravatar Héctor Ramón2023-05-161-0/+1
|\ \ \ | | | | | | | | fix: when clearing damaged surface with background color blend mode should be Source only
| * | | fix: when clearing damaged surface with background color blend mode should ↵Libravatar Ashley Wulber2023-05-151-0/+1
|/ / / | | | | | | | | | be Source only
* | | Merge pull request #1847 from iced-rs/fix/image-atlas-race-conditionLibravatar Héctor Ramón2023-05-124-19/+27
|\ \ \ | | | | | | | | Fix race condition when growing an `image::Atlas`
| * | | Remove `dbg!` leftovers in `image::atlas`Libravatar Héctor Ramón Jiménez2023-05-111-3/+0
| | | |
| * | | Fix race condition when growing an `image::Atlas`Libravatar Héctor Ramón Jiménez2023-05-114-19/+30
|/ / /
* | | Enable `doc_auto_cfg` when generating documentationLibravatar Héctor Ramón Jiménez2023-05-1112-19/+7
| | |
* | | Fix `document` workflow for GitHub CILibravatar Héctor Ramón Jiménez2023-05-111-4/+4
|/ /
* | Merge pull request #1830 from iced-rs/advanced-textLibravatar Héctor Ramón2023-05-11321-9513/+8696
|\ \ | | | | | | Advanced text
| * | Remove OpenGL mentions in `README`sLibravatar Héctor Ramón Jiménez2023-05-113-38/+8
| | |
| * | Write missing documentation in `iced_widget`Libravatar Héctor Ramón Jiménez2023-05-115-1/+15
| | |
| * | Write missing documentation in `iced_wgpu`Libravatar Héctor Ramón Jiménez2023-05-116-18/+17
| | |
| * | Write missing documentation in `iced_graphics`Libravatar Héctor Ramón Jiménez2023-05-118-12/+34
| | |
| * | Bundle `tiny-skia` backend together with `iced_renderer`Libravatar Héctor Ramón Jiménez2023-05-107-84/+56
| | |
| * | Merge pull request #1841 from wash2/fix-svg-color-filterLibravatar Héctor Ramón2023-05-101-8/+9
| |\ \ | | | | | | | | fix: tiny-skia svg premultiply final filtered color
| | * | fix: tiny-skia svg premultiply final filtered colorLibravatar Ashley Wulber2023-05-091-8/+9
| | | |
| * | | Merge pull request #1842 from wash2/fix-typoLibravatar Héctor Ramón2023-05-101-1/+1
| |\ \ \ | | | | | | | | | | fix: border radius typo
| | * | | fix: border radius typoLibravatar Ashley Wulber2023-05-091-1/+1
| | |/ /
| * | | Fix bounds of `PickList` text labelLibravatar Héctor Ramón Jiménez2023-05-101-1/+3
| | | |
| * | | Increase default `LineHeight` to `Relative(1.3)`Libravatar Héctor Ramón Jiménez2023-05-101-1/+1
| | | |
| * | | Add `line_height` to `pick_list::Icon`Libravatar Héctor Ramón Jiménez2023-05-101-5/+16
| |/ /