summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Skip missing glyphs instead of panicking in `glyphon`Libravatar Héctor Ramón Jiménez2023-05-291-1/+1
|
* Merge pull request #1875 from clarkmoody/palette-0.7Libravatar Héctor Ramón2023-05-267-58/+65
|\ | | | | Upgrade `palette` dependency
| * Use approx for testing color operationsLibravatar Héctor Ramón Jiménez2023-05-262-11/+11
| |
| * Use `Srgb` and `Srgba` from `palette` directlyLibravatar Héctor Ramón Jiménez2023-05-261-15/+16
| |
| * Use `as_slice` instead of `as_ref` in `checkbox` exampleLibravatar Héctor Ramón Jiménez2023-05-251-1/+1
| |
| * Upgrade `palette` dependencyLibravatar Clark Moody2023-05-256-57/+63
|/
* Merge pull request #1738 from nicoburns/update-winit-0.28Libravatar Héctor Ramón2023-05-2511-45/+78
|\ | | | | Update to winit 0.28
| * Remove unnecessary newlineLibravatar Héctor Ramón Jiménez2023-05-251-1/+0
| |
| * Replace `change_always_on_top` action with `change_level`Libravatar Héctor Ramón Jiménez2023-05-253-28/+17
| |
| * Introduce `window::Level` enumLibravatar Héctor Ramón Jiménez2023-05-255-16/+46
| | | | | | | | ... and add `level` field to `window::Settings`
| * Update `window_clipboard` dependencyLibravatar Héctor Ramón Jiménez2023-05-251-1/+1
| |
| * Update `winit` dependencyLibravatar Héctor Ramón Jiménez2023-05-251-2/+2
| |
| * Bump winit revLibravatar Nico Burns2023-05-111-1/+1
| |
| * Allow unsafe codeLibravatar Nico Burns2023-05-112-2/+4
| |
| * Add unsafe blockLibravatar Nico Burns2023-05-111-1/+4
| |
| * Fixup optionLibravatar Nico Burns2023-05-111-5/+1
| |
| * Use raw-window-handle instead of HWNDLibravatar Nico Burns2023-05-112-1/+4
| |
| * Fix import pathLibravatar Nico Burns2023-05-111-1/+1
| |
| * Fix build on linuxLibravatar Nico Burns2023-05-111-1/+3
| |
| * Update to winit 0.28Libravatar Nico Burns2023-05-113-7/+16
| |
* | Merge pull request #1869 from casperstorm/extend-border-radiusLibravatar Héctor Ramón2023-05-2329-108/+108
|\ \ | | | | | | Extended border radius on relevant widgets
| * | clean up rebase mistakeLibravatar Casper Storm2023-05-231-19/+8
| | |
| * | 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
| | | |