Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1519 from iced-rs/customizable-theme | 2022-11-09 | 34 | -327/+583 | |
|\ | | | | | Built-in `Theme` customization | ||||
| * | Fix redundant references in `slider` | 2022-11-09 | 1 | -3/+3 | |
| | | |||||
| * | Use `derive(Default)` for `theme` types | 2022-11-09 | 1 | -50/+16 | |
| | | |||||
| * | Introduce `Custom` variants for every style in the built-in `Theme` | 2022-11-09 | 34 | -286/+576 | |
|/ | |||||
* | Merge pull request #1518 from bungoboingo/fix/old_gl | 2022-11-08 | 5 | -19/+22 | |
|\ | | | | | Fixed issues with old GL versions ( <= 2.1 ) | ||||
| * | Fixed issues with old GL versions ( <= 2.1 ) | 2022-11-08 | 5 | -19/+22 | |
|/ | |||||
* | Merge pull request #1504 from tarkah/feat/pane-grid-maximize | 2022-11-08 | 3 | -86/+213 | |
|\ | | | | | Add pane maximize / restore for `PaneGrid` | ||||
| * | Couple layout & content to avoid desync | 2022-11-08 | 2 | -68/+55 | |
| | | |||||
| * | Add pub method for getting maximized value | 2022-11-03 | 1 | -0/+7 | |
| | | |||||
| * | Remove maximized when split occurs | 2022-11-03 | 1 | -0/+1 | |
| | | |||||
| * | Fix doc links | 2022-11-02 | 1 | -2/+8 | |
| | | |||||
| * | Add state::Scoped & rename Elements as Contents | 2022-11-02 | 2 | -94/+100 | |
| | | |||||
| * | Fix tests & lints | 2022-11-02 | 1 | -5/+6 | |
| | | |||||
| * | Disable drag when maximized | 2022-11-02 | 1 | -2/+18 | |
| | | |||||
| * | Update pane_grid example w/ maximize / restore | 2022-11-02 | 1 | -5/+35 | |
| | | |||||
| * | Add maximize / restore to PaneGrid | 2022-11-02 | 2 | -55/+128 | |
| | | |||||
* | | Merge pull request #1494 from tarkah/fix/padding | 2022-11-08 | 5 | -14/+60 | |
|\ \ | | | | | | | Constrain padding to resolved inner / outer widget sizes | ||||
| * | | Remove redundant `std::convert` namespace in `padding` | 2022-11-08 | 1 | -3/+3 | |
| | | | |||||
| * | | Cast to `u16` first then divide by `2` in `Padding::fit` | 2022-11-08 | 1 | -4/+4 | |
| | | | |||||
| * | | Rearrange `layout` code to improve readability | 2022-11-08 | 3 | -8/+2 | |
| | | | |||||
| * | | Rename `Padding::constrain` to `fit` | 2022-11-08 | 4 | -5/+5 | |
| | | | |||||
| * | | Fix text input padding | 2022-10-27 | 1 | -3/+9 | |
| | | | |||||
| * | | Constrain padding to inner & outer sizes | 2022-10-27 | 4 | -7/+53 | |
| | | | |||||
* | | | Merge pull request #1505 from ids1024/weak-dep-feature | 2022-11-08 | 1 | -4/+1 | |
|\ \ \ | | | | | | | | | Combine `glow_default_system_font` and `default_system_font` features | ||||
| * | | | Combine `glow_default_system_font` and `default_system_font` features | 2022-11-03 | 1 | -4/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently "weak dependency features" have been stable since Rust 1.60.0, allowing a feature to enable a feature of a dependency only if that dependency is enabled elsewhere. So having a separate feature for this with glow is unnecessary now. Also remove the `resolver` setting which is redundant on edition 2021. | ||||
* | | | | Merge pull request #1507 from ids1024/rgba-svg | 2022-11-05 | 1 | -9/+2 | |
|\ \ \ \ | | | | | | | | | | | Don't convert svg to BGRA before passing to shader | ||||
| * | | | | Don't convert svg to BGRA before passing to shader | 2022-11-04 | 1 | -9/+2 | |
|/ / / / | | | | | | | | | | | | | | | | | Now that the shader is using RGBA, this incorrectly swaps the components. | ||||
* | | | | Merge pull request #1485 from ids1024/glow-image | 2022-11-05 | 29 | -267/+750 | |
|\ \ \ \ | | | | | | | | | | | Glow image rendering support; move image/svg code to iced_graphics | ||||
| * | | | | Update `image` dependency to `0.24` | 2022-11-05 | 2 | -2/+2 | |
| | | | | | |||||
| * | | | | Replace `texture_store` and `store` with `storage` | 2022-11-05 | 2 | -9/+9 | |
| | | | | | |||||
| * | | | | Remove redundant features in `iced_wgpu` and `iced_glow` | 2022-11-05 | 8 | -37/+35 | |
| | | | | | |||||
| * | | | | Remove unnecessary dependencies from `iced_glow` | 2022-11-05 | 1 | -2/+0 | |
| | | | | | |||||
| * | | | | Use RGBA texture for `image` and `svg` pipelines | 2022-11-05 | 4 | -9/+9 | |
| | | | | | |||||
| * | | | | Refactor some `image` traits a bit | 2022-11-05 | 20 | -127/+164 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use `Size<u32>` were applicable. - Rename `TextureStore` to `image::Storage`. - Rename `TextureStoreEntry` to `image::storage::Entry`. - Wire up `viewport_dimensions` to `iced_glow` for `Svg`. | ||||
| * | | | | Add image/svg support to `iced_glow` | 2022-11-05 | 8 | -8/+368 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/iced-rs/iced/issues/674 Uses image/svg support in `iced_graphics`. The is not currently using an atlas, and uses one texture/draw per image. This should be good enough for now; supporting images with glow is better than not supporting them, and if something else performs better, that improvement can be made without any change to the public API. | ||||
| * | | | | Move image/svg handling into `iced_graphics` | 2022-11-05 | 10 | -191/+281 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `TextureStore` trait is implemented by the atlas, and can also be implemented in the glow renderer or in a software renderer. The API here may be improved in the future, but API stability is presumably not a huge issue since these types will only be used by renderer backends. | ||||
* | | | | Merge pull request #1453 from ids1024/cow | 2022-11-05 | 2 | -8/+14 | |
|\ \ \ \ | | | | | | | | | | | Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]` | ||||
| * | | | | Unify methods by leveraging `Into<Cow>` in `image` and `svg` | 2022-11-05 | 2 | -32/+7 | |
| | | | | | |||||
| * | | | | Use `Cow<'static, [u8]>` in image/svg, add constructors taking &[u8]` | 2022-10-03 | 2 | -6/+37 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should resolve https://github.com/iced-rs/iced/issues/580 by providing a way to use an image included with `include_bytes!` without needing to copy it to a `Vec` to create an image handle. It would be nice if these methods could also be `const`, but that isn't possible due to the hashing being done. This is technically a breaking change since `Handle::data()` is public. But if that is used, it's most likely in used somewhere that only relies on the type derefing to `&[u8]`. | ||||
* | | | | | Merge pull request #1443 from traxys/div_canvas | 2022-11-05 | 5 | -7/+38 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | Allow to replace an element instead of append to body for web rendering | ||||
| * | | | | Allow providing a DOM identifier as a `target` for Wasm | 2022-11-05 | 5 | -8/+34 | |
| | | | | | |||||
| * | | | | Allow to replace an element instead of append to body | 2022-11-05 | 1 | -3/+8 | |
|/ / / / | |||||
* | | | | Merge pull request #1448 from bungoboingo/fear/linear-gradients | 2022-11-03 | 47 | -971/+2234 | |
|\ \ \ \ | | | | | | | | | | | Add linear gradient support to canvas widget | ||||
| * | | | | Refactor imports of `triangle` modules in `iced_glow` and `iced_wgpu` | 2022-11-03 | 2 | -14/+13 | |
| | | | | | |||||
| * | | | | Remove unnecessary `pub(crate)` in `widget::canvas::frame` | 2022-11-03 | 1 | -5/+2 | |
| | | | | | |||||
| * | | | | Refactor imports of `widget::canvas::frame` in `iced_graphics` | 2022-11-03 | 1 | -7/+7 | |
| | | | | | |||||
| * | | | | Move re-export in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -1/+1 | |
| | | | | | |||||
| * | | | | Fix documentation example of `Canvas` | 2022-11-03 | 1 | -5/+9 | |
| | | | | | | | | | | | | | | | | | | | | ... so it makes sense when seen from the `iced` crate. | ||||
| * | | | | Refactor imports in `widget::canvas` in `iced_graphics` | 2022-11-03 | 1 | -4/+3 | |
| | | | | | |||||
| * | | | | Move `mesh::Style` to `triangle` and reuse it in `fill` and `stroke` | 2022-11-03 | 10 | -98/+72 | |
| | | | | |