Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Skip missing glyphs instead of panicking in `glyphon` | 2023-05-29 | 1 | -1/+1 | |
| | |||||
* | Merge pull request #1875 from clarkmoody/palette-0.7 | 2023-05-26 | 7 | -58/+65 | |
|\ | | | | | Upgrade `palette` dependency | ||||
| * | Use approx for testing color operations | 2023-05-26 | 2 | -11/+11 | |
| | | |||||
| * | Use `Srgb` and `Srgba` from `palette` directly | 2023-05-26 | 1 | -15/+16 | |
| | | |||||
| * | Use `as_slice` instead of `as_ref` in `checkbox` example | 2023-05-25 | 1 | -1/+1 | |
| | | |||||
| * | Upgrade `palette` dependency | 2023-05-25 | 6 | -57/+63 | |
|/ | |||||
* | Merge pull request #1738 from nicoburns/update-winit-0.28 | 2023-05-25 | 11 | -45/+78 | |
|\ | | | | | Update to winit 0.28 | ||||
| * | Remove unnecessary newline | 2023-05-25 | 1 | -1/+0 | |
| | | |||||
| * | Replace `change_always_on_top` action with `change_level` | 2023-05-25 | 3 | -28/+17 | |
| | | |||||
| * | Introduce `window::Level` enum | 2023-05-25 | 5 | -16/+46 | |
| | | | | | | | | ... and add `level` field to `window::Settings` | ||||
| * | Update `window_clipboard` dependency | 2023-05-25 | 1 | -1/+1 | |
| | | |||||
| * | Update `winit` dependency | 2023-05-25 | 1 | -2/+2 | |
| | | |||||
| * | Bump winit rev | 2023-05-11 | 1 | -1/+1 | |
| | | |||||
| * | Allow unsafe code | 2023-05-11 | 2 | -2/+4 | |
| | | |||||
| * | Add unsafe block | 2023-05-11 | 1 | -1/+4 | |
| | | |||||
| * | Fixup option | 2023-05-11 | 1 | -5/+1 | |
| | | |||||
| * | Use raw-window-handle instead of HWND | 2023-05-11 | 2 | -1/+4 | |
| | | |||||
| * | Fix import path | 2023-05-11 | 1 | -1/+1 | |
| | | |||||
| * | Fix build on linux | 2023-05-11 | 1 | -1/+3 | |
| | | |||||
| * | Update to winit 0.28 | 2023-05-11 | 3 | -7/+16 | |
| | | |||||
* | | Merge pull request #1869 from casperstorm/extend-border-radius | 2023-05-23 | 29 | -108/+108 | |
|\ \ | | | | | | | Extended border radius on relevant widgets | ||||
| * | | clean up rebase mistake | 2023-05-23 | 1 | -19/+8 | |
| | | | |||||
| * | | 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 | |
| | | | |