Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Require `Clone` for `Message` early when needed | 2020-10-17 | 6 | -11/+21 | |
| | | | | | | | | | | | | | | | | | | | Prior to this change, the widgets that needed a `Clone` bound on `Message` to implement the `Widget` trait could be created with a non-cloneable `Message`. As a consequence, the compiler complained only when actually trying to use the `Widget` trait. Normally, this happens when trying to `push` the widget in a container or turn it into an `Element`. Furthermore, the compiler error in this case does not mention `Message` nor the `Clone` bound, but instead complains about a missing `From` implementation. Thus, it can easily cause confusion! This change introduces `Clone` bounds in the main implementation of the widgets that need it to properly implement the `Widget` trait. As a result, the compiler complains early when trying to create one of these widgets with a non-cloneable `Message` and explicitly mentions that the `Message` needs to implement `Clone`. | ||||
* | Merge pull request #563 from Limeth/master | 2020-10-14 | 2 | -1/+2 | |
|\ | | | | | Fix typo in `Row`'s and `Column`'s `hash_layout` | ||||
| * | Fix typo in Row's and Column's hash_layout | 2020-10-13 | 2 | -1/+2 | |
|/ | |||||
* | Merge pull request #558 from Azorlogh/master | 2020-10-08 | 2 | -0/+12 | |
|\ | | | | | Adds From<Point> and From<Size> for [f32; 2] | ||||
| * | add From<Point> and From<Size> for [f32; 2] | 2020-10-08 | 2 | -0/+12 | |
|/ | |||||
* | Merge pull request #542 from aentity/winit_023 | 2020-10-08 | 5 | -25/+32 | |
|\ | | | | | update to winit 0.23 api | ||||
| * | Keep `KeyCode` names synchronized with `winit` | 2020-10-08 | 2 | -23/+27 | |
| | | |||||
| * | update to winit 0.23 api | 2020-10-03 | 5 | -10/+13 | |
| | | |||||
* | | Merge pull request #543 from twitchyliquid64/master | 2020-09-30 | 2 | -2/+12 | |
|\ \ | |/ |/| | Fixes #539: Allow windows to be set always_on_top | ||||
| * | Fixes #539: Allow windows to be set always_on_top | 2020-09-28 | 2 | -2/+12 | |
|/ | |||||
* | Move `version` from `Grid` to `GameOfLife` struct | 2020-09-12 | 1 | -15/+20 | |
| | |||||
* | Merge pull request #514 from hecrj/feature/error-handling | 2020-09-08 | 40 | -58/+166 | |
|\ | | | | | Error propagation | ||||
| * | Make `Application` and `Sandbox` return a `Result` | 2020-09-08 | 40 | -58/+166 | |
|/ | |||||
* | Merge pull request #513 from hecrj/fix/custom-radio-size | 2020-09-06 | 1 | -10/+10 | |
|\ | | | | | Fix `Radio` border radius when using custom size | ||||
| * | Fix `Radio` border radius when using custom size | 2020-09-06 | 1 | -10/+10 | |
|/ | |||||
* | Merge pull request #500 from hecrj/update-wgpu | 2020-08-31 | 12 | -377/+505 | |
|\ | | | | | Update `wgpu` to `0.6` in `iced_wgpu` | ||||
| * | Add labels to `iced_wgpu` internals | 2020-08-31 | 6 | -38/+46 | |
| | | |||||
| * | Turn consecutive if-lets into pattern match | 2020-08-27 | 1 | -6/+6 | |
| | | |||||
| * | Set offsets in buffer slices in `iced_wgpu` | 2020-08-27 | 1 | -9/+12 | |
| | | |||||
| * | Use `wgpu::Color::TRANSPARENT` | 2020-08-27 | 1 | -6/+1 | |
| | | |||||
| * | Remove unnecessary `create_buffer_init` for uniforms | 2020-08-27 | 2 | -16/+12 | |
| | | |||||
| * | Remove redundant depth bias fields in `iced_wgpu` | 2020-08-27 | 5 | -15/+0 | |
| | | |||||
| * | Update `wgpu` in `integration` example | 2020-08-27 | 2 | -38/+56 | |
| | | |||||
| * | Fix `offset` calculation in `image::Atlas` | 2020-08-27 | 1 | -1/+1 | |
| | | |||||
| * | Fix `layers` initialization in `image::Atlas` | 2020-08-27 | 1 | -1/+1 | |
| | | |||||
| * | Update `image` pipeline in `iced_wgpu` | 2020-08-27 | 3 | -88/+147 | |
| | | |||||
| * | Update `wgpu` to `0.6` in `iced_wgpu` | 2020-08-27 | 8 | -213/+277 | |
|/ | |||||
* | Merge pull request #496 from hecrj/fix/cursor-position-on-leave | 2020-08-25 | 2 | -0/+11 | |
|\ | | | | | Fix cursor position after a `CursorLeft` event | ||||
| * | Fix cursor position after a `CursorLeft` event | 2020-08-25 | 2 | -0/+11 | |
| | | |||||
* | | Merge pull request #487 from Kaiden42/background | 2020-08-25 | 2 | -28/+25 | |
|\ \ | |/ |/| | Implement `From<Color>` for `Option<Background>` | ||||
| * | Update styling example | 2020-08-25 | 2 | -29/+20 | |
| | | | | | | | | Also run `cargo fmt` | ||||
| * | Implement From<Color> for Option<Background> | 2020-08-25 | 1 | -0/+6 | |
|/ | |||||
* | Merge branch 'feature/rule-widget' into master | 2020-08-22 | 12 | -8/+380 | |
|\ | |||||
| * | added FillMode::fill() | 2020-08-22 | 2 | -84/+52 | |
| | | |||||
| * | added FillMode enum style for the Rule widget | 2020-08-22 | 5 | -27/+108 | |
| | | |||||
| * | widget Rule added | 2020-08-22 | 12 | -8/+331 | |
| | | |||||
* | | Implement `hash_layout` for `pane_grid::TitleBar` | 2020-08-19 | 2 | -1/+15 | |
| | | |||||
* | | Merge pull request #484 from atsuzaki/window-transparent-setting | 2020-08-18 | 2 | -0/+10 | |
|\ \ | | | | | | | Add 'transparent' in window setting | ||||
| * | | Remove debug println & accidentally added whitespace | 2020-08-18 | 1 | -6/+5 | |
| | | | |||||
| * | | Add missing comment | 2020-08-18 | 1 | -0/+1 | |
| | | | |||||
| * | | Add 'transparent' in window setting | 2020-08-17 | 2 | -5/+15 | |
| |/ | |||||
* | | Merge pull request #482 from bitshifter/glam-0.9 | 2020-08-17 | 4 | -9/+6 | |
|\ \ | |/ |/| | Upgrade glam to 0.9 & use glam's Mat4 ortho rh gl. | ||||
| * | Invert Y axis in `Transformation::orthographic` | 2020-08-17 | 1 | -1/+5 | |
| | | |||||
| * | Upgrade glam to 0.9 & use glam's Mat4 ortho rh gl. | 2020-08-17 | 4 | -10/+3 | |
|/ | |||||
* | Add `Keyboard` variant to `canvas::Event` | 2020-08-10 | 4 | -0/+9 | |
| | |||||
* | Add `height` method to `Slider` | 2020-08-01 | 3 | -24/+29 | |
| | |||||
* | Merge pull request #463 from mobile-bungalow/titlebar_options | 2020-07-31 | 1 | -12/+29 | |
|\ | | | | | Added `always_show_controls` method to TitleBar | ||||
| * | Clarify `TitleBar::always_show_controls` docs a bit | 2020-07-31 | 1 | -3/+6 | |
| | | |||||
| * | Move `always_show_controls` after `padding` | 2020-07-31 | 1 | -1/+1 | |
| | | |||||
| * | Fix typo in `TitleBar::new` | 2020-07-31 | 1 | -1/+1 | |
| | |