Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clippy | 2023-05-23 | 11 | -16/+15 | |
| | |||||
* | Extend border radius on relevant widgets | 2023-05-23 | 19 | -99/+111 | |
| | |||||
* | Merge pull request #1844 from tarkah/fix/scrollbar-widths | 2023-05-23 | 1 | -10/+12 | |
|\ | | | | | Remove min width 1 from scrollbar & scroller | ||||
| * | Avoid drawing empty quads in `widget::scrollable` | 2023-05-23 | 1 | -6/+10 | |
| | | |||||
| * | Remove min width 1 from scrollbar & scroller | 2023-05-23 | 1 | -4/+2 | |
|/ | |||||
* | Merge pull request #1797 from bbb651/master | 2023-05-23 | 2 | -4/+2 | |
|\ | | | | | Make mouse::Button::Other take u16 instead of u8 | ||||
| * | Make mouse::Button::Other take u16 instead of u8 | 2023-05-23 | 2 | -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-pointers | 2023-05-23 | 2 | -31/+24 | |
|\ \ | | | | | | | Support conversion from Fn trait to custom theme | ||||
| * | | Support conversion from Fn trait to custom theme | 2023-05-21 | 2 | -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/glam | 2023-05-22 | 2 | -2/+2 | |
|\ \ \ | |/ / |/| | | Update `glam` to `0.24` | ||||
| * | | Update `glam` to `0.24` | 2023-05-22 | 2 | -2/+2 | |
|/ / | |||||
* | | Merge pull request #1856 from jhff/pane_grid_split_with_dragged_pane | 2023-05-19 | 5 | -18/+196 | |
|\ \ | | | | | | | [Feature] Enhance PaneGrid to split panes by drag & drop | ||||
| * | | Rename invert -> swap | 2023-05-19 | 1 | -2/+2 | |
| | | | |||||
| * | | Take pane state internally | 2023-05-19 | 2 | -22/+9 | |
| | | | |||||
| * | | Change name of hovered region style struct, reorder lines & export Appearance | 2023-05-19 | 3 | -19/+19 | |
| | | | |||||
| * | | Add pane_grid functionality to split a pane with another pane | 2023-05-16 | 5 | -7/+198 | |
| | | | |||||
* | | | Merge pull request #1846 from bungoboingo/feat/background-gradients | 2023-05-19 | 42 | -1442/+1557 | |
|\ \ \ | |/ / |/| | | [Feature] Gradients for Backgrounds | ||||
| * | | Remove redundant re-export in `widget::canvas` | 2023-05-19 | 1 | -1/+0 | |
| | | | |||||
| * | | Reduce `INITIAL_INSTANCES` in `wgpu::quad` to `2_000` | 2023-05-19 | 1 | -1/+1 | |
| | | | |||||
| * | | Fix needless borrow in `tiny_skia::backend` | 2023-05-19 | 1 | -1/+1 | |
| | | | |||||
| * | | Fix inconsistent `pub use` in `wgpu::layer` | 2023-05-19 | 1 | -1/+1 | |
| | | | |||||
| * | | Avoid redundant `buffer::Buffer` import | 2023-05-19 | 4 | -7/+8 | |
| | | | |||||
| * | | Keep `image` pipeline decoupled from `quad` in `iced_wgpu` | 2023-05-19 | 2 | -8/+40 | |
| | | | |||||
| * | | Inline `into_gradient` in `tiny_skia::backend` | 2023-05-19 | 1 | -43/+41 | |
| | | | | | | | | | | | | ... since it's not really reused anywhere else. | ||||
| * | | Fix imports of `geometry::style` in `iced_graphics` | 2023-05-19 | 1 | -2/+2 | |
| | | | |||||
| * | | Keep `tour` buttons solid | 2023-05-19 | 1 | -50/+5 | |
| | | | | | | | | | | | | The gradients feel a bit out of place currently. | ||||
| * | | Implement `custom` helper for `theme::Button` | 2023-05-19 | 2 | -8/+15 | |
| | | | |||||
| * | | Avoid packing gradient data for every vertex in `iced_wgpu` | 2023-05-19 | 1 | -5/+5 | |
| | | | |||||
| * | | Remove `Builder` abstractions for gradients | 2023-05-19 | 15 | -209/+163 | |
| | | | |||||
| * | | Added support for gradients as background variants + other optimizations. | 2023-05-11 | 41 | -1470/+1639 | |
| | | | |||||
* | | | Merge pull request #1854 from wash2/fix-clear-blend-mode | 2023-05-16 | 1 | -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 ↵ | 2023-05-15 | 1 | -0/+1 | |
|/ / / | | | | | | | | | | be Source only | ||||
* | | | Merge pull request #1847 from iced-rs/fix/image-atlas-race-condition | 2023-05-12 | 4 | -19/+27 | |
|\ \ \ | | | | | | | | | Fix race condition when growing an `image::Atlas` | ||||
| * | | | Remove `dbg!` leftovers in `image::atlas` | 2023-05-11 | 1 | -3/+0 | |
| | | | | |||||
| * | | | Fix race condition when growing an `image::Atlas` | 2023-05-11 | 4 | -19/+30 | |
|/ / / | |||||
* | | | Enable `doc_auto_cfg` when generating documentation | 2023-05-11 | 12 | -19/+7 | |
| | | | |||||
* | | | Fix `document` workflow for GitHub CI | 2023-05-11 | 1 | -4/+4 | |
|/ / | |||||
* | | Merge pull request #1830 from iced-rs/advanced-text | 2023-05-11 | 321 | -9513/+8696 | |
|\ \ | | | | | | | Advanced text | ||||
| * | | Remove OpenGL mentions in `README`s | 2023-05-11 | 3 | -38/+8 | |
| | | | |||||
| * | | Write missing documentation in `iced_widget` | 2023-05-11 | 5 | -1/+15 | |
| | | | |||||
| * | | Write missing documentation in `iced_wgpu` | 2023-05-11 | 6 | -18/+17 | |
| | | | |||||
| * | | Write missing documentation in `iced_graphics` | 2023-05-11 | 8 | -12/+34 | |
| | | | |||||
| * | | Bundle `tiny-skia` backend together with `iced_renderer` | 2023-05-10 | 7 | -84/+56 | |
| | | | |||||
| * | | Merge pull request #1841 from wash2/fix-svg-color-filter | 2023-05-10 | 1 | -8/+9 | |
| |\ \ | | | | | | | | | fix: tiny-skia svg premultiply final filtered color | ||||
| | * | | fix: tiny-skia svg premultiply final filtered color | 2023-05-09 | 1 | -8/+9 | |
| | | | | |||||
| * | | | Merge pull request #1842 from wash2/fix-typo | 2023-05-10 | 1 | -1/+1 | |
| |\ \ \ | | | | | | | | | | | fix: border radius typo | ||||
| | * | | | fix: border radius typo | 2023-05-09 | 1 | -1/+1 | |
| | |/ / | |||||
| * | | | Fix bounds of `PickList` text label | 2023-05-10 | 1 | -1/+3 | |
| | | | | |||||
| * | | | Increase default `LineHeight` to `Relative(1.3)` | 2023-05-10 | 1 | -1/+1 | |
| | | | | |||||
| * | | | Add `line_height` to `pick_list::Icon` | 2023-05-10 | 1 | -5/+16 | |
| |/ / |