summaryrefslogtreecommitdiffstats
path: root/examples/tour (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [ImgBot] Optimize imagesLibravatar ImgBotApp2022-02-071-0/+0
| | | | | | | | | | | | | | | | | | | | | *Total -- 967.49kb -> 703.99kb (27.24%) /docs/images/radio.png -- 5.29kb -> 1.58kb (70.18%) /docs/images/text_input.png -- 3.18kb -> 1.27kb (60.17%) /docs/images/checkbox.png -- 5.56kb -> 2.22kb (60.17%) /examples/color_palette/screenshot.png -- 102.74kb -> 43.75kb (57.42%) /examples/tour/images/ferris.png -- 32.29kb -> 15.91kb (50.73%) /docs/graphs/ecosystem.png -- 124.13kb -> 67.44kb (45.67%) /docs/graphs/iced.png -- 97.75kb -> 53.27kb (45.5%) /docs/graphs/native.png -- 57.90kb -> 33.67kb (41.85%) /docs/images/text.png -- 4.95kb -> 2.99kb (39.61%) /docs/graphs/foundations.png -- 18.19kb -> 11.19kb (38.46%) /examples/scrollable/screenshot.png -- 144.78kb -> 102.53kb (29.18%) /examples/svg/resources/tiger.svg -- 67.02kb -> 64.50kb (3.76%) /docs/logo.svg -- 1.37kb -> 1.35kb (1.57%) /docs/images/todos_desktop.jpg -- 302.36kb -> 302.33kb (0.01%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
* Point `iced_web` links to the new standalone repositoryLibravatar Héctor Ramón Jiménez2022-01-311-2/+2
|
* Add `index.html` for `todos` and `tour` exampleLibravatar Héctor Ramón Jiménez2022-01-291-0/+12
| | | | You can use `trunk serve` to easily compile them!
* 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
|
* Update `env_logger` in `tour` and `integration` examplesLibravatar Héctor Ramón Jiménez2020-11-101-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-212-26/+17
|
* 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-192-27/+44
|
* 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-062-16/+0
|
* Make `image` support optional in `iced_wgpu`Libravatar Héctor Ramón Jiménez2020-01-201-1/+1
| | | | | This reduces binary size when image rendering is not necessary a considerable amount.
* Add `README` for `tour` exampleLibravatar Héctor Ramón Jiménez2020-01-202-1/+29
|
* Package examples and remove `dev-dependencies`Libravatar Héctor Ramón Jiménez2020-01-203-0/+807
|
* Make `tour` a simple example instead of a crateLibravatar Héctor Ramón Jiménez2019-10-068-880/+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-0316-1545/+548
|/
* Merge branch 'master' into webLibravatar Héctor Ramón Jiménez2019-09-212-0/+3
|\
| * Remove `extern crate` and `log` dependencyLibravatar Héctor Ramón Jiménez2019-09-161-3/+2
| |
| * Add `log` and `env_logger`Libravatar tgotwig2019-09-141-0/+3
| | | | | | Relates #7
* | Add `wasm-pack` linkLibravatar Héctor Ramón Jiménez2019-09-211-1/+3
| |
* | Make example work on web and update READMEsLibravatar Héctor Ramón Jiménez2019-09-214-17/+49
| |
* | Create `iced_core` and `iced_native`Libravatar Héctor Ramón Jiménez2019-09-2012-137/+203
| |
* | 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-1921-69/+396
| |
* | Rethink workspace structureLibravatar Héctor Ramón Jiménez2019-09-141-1/+1
| |
* | Switch to workspace layoutLibravatar Héctor Ramón Jiménez2019-09-101-1/+1
|/
* Set cursor type only when necessary in `tour`Libravatar Héctor Ramón Jiménez2019-09-051-1/+5
|
* Apply `padding` to root in `tour` exampleLibravatar Héctor Ramón Jiménez2019-09-052-1/+1
|
* Add a bit of padding to the `tour` exampleLibravatar Héctor Ramón Jiménez2019-09-051-0/+1
|
* Allow tour window to be resizedLibravatar Héctor Ramón Jiménez2019-09-051-0/+1
|
* Fix tour `README` linksLibravatar Héctor Ramón Jiménez2019-09-051-4/+4
|
* Complete examples `README`Libravatar Héctor Ramón Jiménez2019-09-053-11/+46
|
* Move `ggez` example to `tour`Libravatar Héctor Ramón Jiménez2019-09-0511-0/+1395