summaryrefslogtreecommitdiffstats
path: root/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #595 from valbendan/masterLibravatar Héctor Ramón2020-11-253-3/+3
|\ | | | | upgrade tokio to latest version(v0.3)
| * Introduce `tokio_old` featureLibravatar Héctor Ramón Jiménez2020-11-252-2/+2
| | | | | | | | | | This feature allows users to rely on the `0.2` version of `tokio` while the async ecosystem upgrades to the latest version.
| * upgrade tokio to latest version(v0.3)Libravatar valbendan2020-11-051-1/+1
| |
* | Use `f32` for `border_width` and `border_radius`Libravatar Héctor Ramón Jiménez2020-11-239-58/+58
| |
* | Implement `qr_code` exampleLibravatar Héctor Ramón Jiménez2020-11-203-0/+108
| |
* | Introduce `event::Status` to `Subscription`Libravatar Héctor Ramón Jiménez2020-11-121-7/+13
| |
* | Implement event capturing for `Canvas`Libravatar Héctor Ramón Jiménez2020-11-122-61/+88
| |
* | Merge pull request #610 from hecrj/improvement/update-dependenciesLibravatar Héctor Ramón2020-11-114-4/+4
|\ \ | | | | | | Update dependencies
| * | Use `directories-next` in `todos` exampleLibravatar Héctor Ramón Jiménez2020-11-112-2/+2
| | |
| * | Update `directories` dependency in `todos` exampleLibravatar Héctor Ramón Jiménez2020-11-101-1/+1
| | |
| * | Update `env_logger` in `tour` and `integration` examplesLibravatar Héctor Ramón Jiménez2020-11-102-2/+2
| |/
* | Introduce `is_command_pressed` to `ModifiersState`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
| |
* | Restore hotkeys in `pane_grid` exampleLibravatar Héctor Ramón Jiménez2020-11-102-16/+39
| | | | | | | | | | | | - Implement `subscription::events_with` - Remove `pane_grid::KeyPressEvent` - Return closest sibling in `pane_grid::State::close`
* | Introduce `on_click` handler in `PaneGrid`Libravatar Héctor Ramón Jiménez2020-11-102-3/+16
| |
* | Remove focus concept from `pane_grid`Libravatar Héctor Ramón Jiménez2020-11-101-22/+24
|/
* Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-282-3/+5
| | | | | This should eventually allow us to only generate primitives that are visible.
* Update screenshot of `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-241-0/+0
|
* Reduce contrast of dark theme in `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-241-39/+37
|
* Improve minor details in `scrollable` exampleLibravatar Héctor Ramón Jiménez2020-10-242-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 programLibravatar Clark Moody2020-10-225-0/+390
|
* Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-172-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` structLibravatar Héctor Ramón Jiménez2020-09-121-15/+20
|
* Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-0819-20/+20
|
* Remove redundant depth bias fields in `iced_wgpu`Libravatar Héctor Ramón Jiménez2020-08-271-3/+0
|
* Update `wgpu` in `integration` exampleLibravatar Héctor Ramón Jiménez2020-08-272-38/+56
|
* Update styling exampleLibravatar Kaiden422020-08-251-28/+19
| | | | Also run `cargo fmt`
* added FillMode enum style for the Rule widgetLibravatar Billy Messenger2020-08-221-1/+1
|
* widget Rule addedLibravatar Billy Messenger2020-08-221-5/+30
|
* Add `Keyboard` variant to `canvas::Event`Libravatar Héctor Ramón Jiménez2020-08-102-0/+2
|
* Improve `Menu` API to facilitate external controlLibravatar Héctor Ramón Jiménez2020-07-232-2/+2
|
* Update `README` of examplesLibravatar Héctor Ramón Jiménez2020-07-162-6/+7
|
* Simplify `pick_list` exampleLibravatar Héctor Ramón Jiménez2020-07-101-12/+4
|
* Style `PickList` in `game_of_life` exampleLibravatar Héctor Ramón Jiménez2020-07-103-16/+75
|
* Add `Preset` selector to `game_of_life` exampleLibravatar Héctor Ramón Jiménez2020-07-102-12/+209
|
* Rename `ComboBox` to `PickList`Libravatar Héctor Ramón Jiménez2020-07-103-10/+8
|
* Remove unnecessary lifetime in `Widget` traitLibravatar Héctor Ramón Jiménez2020-07-102-2/+2
|
* Merge branch 'master' into feature/overlayLibravatar Héctor Ramón Jiménez2020-07-102-12/+35
|\
| * Update `pane_grid` GIFsLibravatar Héctor Ramón Jiménez2020-07-091-2/+2
| |
| * Simplify style of `pane_grid` exampleLibravatar Héctor Ramón Jiménez2020-07-091-7/+6
| |
| * Add a `TitleBar` to `pane_grid` exampleLibravatar Héctor Ramón Jiménez2020-07-091-11/+35
| |
| * Merge branch 'master' into feature/pane-grid-titlebarLibravatar Héctor Ramón Jiménez2020-07-085-73/+115
| |\
| * \ Merge branch 'intuitive-pane-grid-resize' into feature/pane-grid-titlebarLibravatar Héctor Ramón Jiménez2020-06-084-59/+44
| |\ \
| * | | Draft first-class `TitleBar` in `pane_grid`Libravatar Héctor Ramón Jiménez2020-06-041-1/+1
| | | |
* | | | Position `Menu` layer based on available spaceLibravatar Héctor Ramón Jiménez2020-07-081-4/+0
| | | |
* | | | Implement `Widget::overlay` for `Scrollable`Libravatar Héctor Ramón Jiménez2020-07-081-4/+10
| | | |
* | | | Draft `ComboBox` and `Menu` layerLibravatar Héctor Ramón Jiménez2020-07-081-120/+76
| | | |
* | | | Draft `combo_box` example to test overlay logicLibravatar Héctor Ramón Jiménez2020-07-083-0/+192
| | | |
* | | | Introduce `Widget::overlay` :tada:Libravatar Héctor Ramón Jiménez2020-07-083-4/+4
| |_|/ |/| |
* | | Decouple `cursor_position` from `Cache`Libravatar Héctor Ramón Jiménez2020-06-231-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` exampleLibravatar Héctor Ramón Jiménez2020-06-131-16/+22
| | |