Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #610 from hecrj/improvement/update-dependencies | 2020-11-11 | 4 | -4/+4 | |
|\ | | | | | Update dependencies | ||||
| * | Use `directories-next` in `todos` example | 2020-11-11 | 2 | -2/+2 | |
| | | |||||
| * | Update `directories` dependency in `todos` example | 2020-11-10 | 1 | -1/+1 | |
| | | |||||
| * | Update `env_logger` in `tour` and `integration` examples | 2020-11-10 | 2 | -2/+2 | |
| | | |||||
* | | Introduce `is_command_pressed` to `ModifiersState` | 2020-11-10 | 1 | -1/+1 | |
| | | |||||
* | | Restore hotkeys in `pane_grid` example | 2020-11-10 | 2 | -16/+39 | |
| | | | | | | | | | | | | - Implement `subscription::events_with` - Remove `pane_grid::KeyPressEvent` - Return closest sibling in `pane_grid::State::close` | ||||
* | | Introduce `on_click` handler in `PaneGrid` | 2020-11-10 | 2 | -3/+16 | |
| | | |||||
* | | Remove focus concept from `pane_grid` | 2020-11-10 | 1 | -22/+24 | |
|/ | |||||
* | Introduce `viewport` to `Widget::draw` | 2020-10-28 | 2 | -3/+5 | |
| | | | | | This should eventually allow us to only generate primitives that are visible. | ||||
* | Update screenshot of `scrollable` example | 2020-10-24 | 1 | -0/+0 | |
| | |||||
* | Reduce contrast of dark theme in `scrollable` example | 2020-10-24 | 1 | -39/+37 | |
| | |||||
* | Improve minor details in `scrollable` example | 2020-10-24 | 2 | -249/+260 | |
| | | | | | | | - Rename `Config` to `Variant` - Include `State` in `Variant` to avoid `zip` - Break long string literal - Split `style` module into its own file | ||||
* | Add scrollable example program | 2020-10-22 | 5 | -0/+390 | |
| | |||||
* | Require `Clone` for `Message` early when needed | 2020-10-17 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | 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`. | ||||
* | Move `version` from `Grid` to `GameOfLife` struct | 2020-09-12 | 1 | -15/+20 | |
| | |||||
* | Make `Application` and `Sandbox` return a `Result` | 2020-09-08 | 19 | -20/+20 | |
| | |||||
* | Remove redundant depth bias fields in `iced_wgpu` | 2020-08-27 | 1 | -3/+0 | |
| | |||||
* | Update `wgpu` in `integration` example | 2020-08-27 | 2 | -38/+56 | |
| | |||||
* | Update styling example | 2020-08-25 | 1 | -28/+19 | |
| | | | | Also run `cargo fmt` | ||||
* | added FillMode enum style for the Rule widget | 2020-08-22 | 1 | -1/+1 | |
| | |||||
* | widget Rule added | 2020-08-22 | 1 | -5/+30 | |
| | |||||
* | Add `Keyboard` variant to `canvas::Event` | 2020-08-10 | 2 | -0/+2 | |
| | |||||
* | Improve `Menu` API to facilitate external control | 2020-07-23 | 2 | -2/+2 | |
| | |||||
* | Update `README` of examples | 2020-07-16 | 2 | -6/+7 | |
| | |||||
* | Simplify `pick_list` example | 2020-07-10 | 1 | -12/+4 | |
| | |||||
* | Style `PickList` in `game_of_life` example | 2020-07-10 | 3 | -16/+75 | |
| | |||||
* | Add `Preset` selector to `game_of_life` example | 2020-07-10 | 2 | -12/+209 | |
| | |||||
* | Rename `ComboBox` to `PickList` | 2020-07-10 | 3 | -10/+8 | |
| | |||||
* | Remove unnecessary lifetime in `Widget` trait | 2020-07-10 | 2 | -2/+2 | |
| | |||||
* | Merge branch 'master' into feature/overlay | 2020-07-10 | 2 | -12/+35 | |
|\ | |||||
| * | Update `pane_grid` GIFs | 2020-07-09 | 1 | -2/+2 | |
| | | |||||
| * | Simplify style of `pane_grid` example | 2020-07-09 | 1 | -7/+6 | |
| | | |||||
| * | Add a `TitleBar` to `pane_grid` example | 2020-07-09 | 1 | -11/+35 | |
| | | |||||
| * | Merge branch 'master' into feature/pane-grid-titlebar | 2020-07-08 | 5 | -73/+115 | |
| |\ | |||||
| * \ | Merge branch 'intuitive-pane-grid-resize' into feature/pane-grid-titlebar | 2020-06-08 | 4 | -59/+44 | |
| |\ \ | |||||
| * | | | Draft first-class `TitleBar` in `pane_grid` | 2020-06-04 | 1 | -1/+1 | |
| | | | | |||||
* | | | | Position `Menu` layer based on available space | 2020-07-08 | 1 | -4/+0 | |
| | | | | |||||
* | | | | Implement `Widget::overlay` for `Scrollable` | 2020-07-08 | 1 | -4/+10 | |
| | | | | |||||
* | | | | Draft `ComboBox` and `Menu` layer | 2020-07-08 | 1 | -120/+76 | |
| | | | | |||||
* | | | | Draft `combo_box` example to test overlay logic | 2020-07-08 | 3 | -0/+192 | |
| | | | | |||||
* | | | | Introduce `Widget::overlay` :tada: | 2020-07-08 | 3 | -4/+4 | |
| |_|/ |/| | | |||||
* | | | Decouple `cursor_position` from `Cache` | 2020-06-23 | 1 | -3/+12 | |
| | | | | | | | | | | | | | | | | | | Instead, we ask explicitly for it in the different `update` and `draw` methods. This way, the runtime can derive the logical position of the cursor from the source of truth. | ||||
* | | | Increase precision in `color_palette` example | 2020-06-13 | 1 | -16/+22 | |
| | | | |||||
* | | | Reduce slider `step` in `progress_bar` example | 2020-06-13 | 1 | -6/+9 | |
| | | | |||||
* | | | Use generic `Slider` in `tour` example | 2020-06-13 | 1 | -40/+37 | |
| | | | |||||
* | | | Add `step` member to slider widgets | 2020-06-11 | 3 | -27/+51 | |
| | | | | | | | | | | | | | | | | | | Both the native and the web slider now have a member `step` to control the least possible change of the slider's value. It defaults to 1.0 for all sliders and can be adjusted with the step method. | ||||
* | | | Request a redraw only on relevant events | 2020-06-09 | 1 | -9/+12 | |
| |/ |/| | |||||
* | | Add `leeway` support to `PaneGrid::on_resize` | 2020-06-08 | 1 | -1/+1 | |
| | | |||||
* | | Add on_release message to Slider (#378) | 2020-06-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | * Add on_finish callback to Slider * Fix formatting * Rename Slider's on_finish to on_release, make the message simply an event without data * Satisfy Clone impl requirement on Message in integration test * Only call on_release after dragging a slider | ||||
* | | Removed empty bind group from integration example (#390) | 2020-06-08 | 1 | -24/+5 | |
| | |