summaryrefslogtreecommitdiffstats
path: root/examples/tour/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix path to ferris.pngLibravatar Nathan Henrie2021-12-111-1/+1
| | | | Fixes https://github.com/iced-rs/iced/issues/1156
* Fix formatting with `cargo fmt`Libravatar Héctor Ramón Jiménez2021-11-101-3/+1
|
* Remove unnecessary String allocationLibravatar Ram.Type-02021-11-021-5/+5
| | | | Remove unnecessary String allocation by passing &format! or &x.to_string as impl Into<String>
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-201-11/+11
|
* Add some horizontal padding to `toggler` section in `tour` exampleLibravatar Héctor Ramón2021-06-031-5/+8
|
* Add `Toggler` to tour exampleLibravatar Kaiden422021-06-031-1/+28
|
* Use `f32` for `border_width` and `border_radius`Libravatar Héctor Ramón Jiménez2020-11-231-1/+1
|
* Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-171-1/+1
| | | | | | | | | | | | | | | | | | | 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`.
* Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez2020-09-081-1/+1
|
* Use generic `Slider` in `tour` exampleLibravatar Héctor Ramón Jiménez2020-06-131-40/+37
|
* Add `step` member to slider widgetsLibravatar Sebastian Zivota2020-06-111-9/+18
| | | | | | 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.
* Revert "Target physical pixels for quads in `iced_glow`"Libravatar Héctor Ramón Jiménez2020-05-281-2/+2
| | | | This reverts commit 45511a442f707e93fe6e568d2100756b63af7362.
* Use `Sandbox` in `tour` exampleLibravatar Héctor Ramón Jiménez2020-05-281-22/+14
|
* Target physical pixels for quads in `iced_glow`Libravatar Héctor Ramón Jiménez2020-05-271-2/+2
|
* Implement `iced_glutin` :tada:Libravatar Héctor Ramón Jiménez2020-05-211-24/+16
|
* Rename `window::Backend` to `Compositor`Libravatar Héctor Ramón Jiménez2020-05-191-1/+1
|
* Draft first working version of `iced_glow` :tada:Libravatar Héctor Ramón Jiménez2020-05-191-26/+42
|
* Simplify `Language` conversion in `tour`Libravatar Héctor Ramón Jiménez2020-04-061-6/+5
|
* Radiobutton label is now `impl Into<String>`Libravatar Dmitry Kashitsyn2020-04-051-1/+2
|
* Remove `wasm_bindgen(start)` from `tour` exampleLibravatar Héctor Ramón Jiménez2020-02-061-13/+0
|
* Package examples and remove `dev-dependencies`Libravatar Héctor Ramón Jiménez2020-01-201-0/+794
|
* Make `tour` a simple example instead of a crateLibravatar Héctor Ramón Jiménez2019-10-061-587/+0
|
* Center `tour` exampleLibravatar Héctor Ramón Jiménez2019-10-051-3/+12
|
* Merge branch 'master' into basic-rendererLibravatar Héctor Ramón Jiménez2019-10-051-3/+7
|\
| * Update welcome step of `tour` exampleLibravatar Héctor Ramón Jiménez2019-10-051-4/+8
| |
* | Add some padding to the `tour` exampleLibravatar Héctor Ramón Jiménez2019-10-051-0/+1
| |
* | Start `iced_winit` and `iced_wgpu`Libravatar Héctor Ramón Jiménez2019-10-0315-1523/+547
|/
* Merge branch 'master' into webLibravatar Héctor Ramón Jiménez2019-09-211-0/+2
|
* Make example work on web and update READMEsLibravatar Héctor Ramón Jiménez2019-09-212-1/+1
|
* Create `iced_core` and `iced_native`Libravatar Héctor Ramón Jiménez2019-09-2011-136/+202
|
* Remove generic `Color` in widgetsLibravatar Héctor Ramón Jiménez2019-09-193-7/+4
|
* Unify `web` and `ggez` tour examples :tada:Libravatar Héctor Ramón Jiménez2019-09-1915-0/+1484