summaryrefslogtreecommitdiffstats
path: root/examples/tour/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2025-02-211-1/+1
|
* Implement `From<u32>` instead of `u16` for `Length` and `Pixels`Libravatar Héctor Ramón Jiménez2025-02-091-7/+7
|
* Add helper functions for alignment to `widget` moduleLibravatar Héctor Ramón Jiménez2025-01-241-13/+9
|
* Add `label` method to `Toggler`Libravatar Héctor Ramón Jiménez2024-09-111-1/+2
|
* Add disabled state and `on_toggle` handler to `Toggler`Libravatar Héctor Ramón Jiménez2024-09-111-5/+4
| | | | Co-authored-by: Your Name here only <krishnsundaram@gmail.com>
* Add `text::Wrapping` supportLibravatar Héctor Ramón Jiménez2024-09-041-1/+1
| | | | Co-authored-by: Neeraj Jaiswal <neerajj85@gmail.com>
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-13/+13
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-23/+7
|
* Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez2024-06-191-1/+1
|
* Rename `Step` to `Screen` in `tour` exampleLibravatar Héctor Ramón Jiménez2024-06-161-51/+51
|
* Flatten state in `tour` exampleLibravatar Héctor Ramón Jiménez2024-06-161-339/+261
|
* Merge branch 'master' into feat/text-macroLibravatar Héctor Ramón Jiménez2024-05-231-8/+6
|\
| * Ask for explicit `Length` in `center_*` methodsLibravatar Héctor Ramón Jiménez2024-05-131-3/+3
| |
| * Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-3/+1
| | | | | | | | | | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
| * Specialize `widget::text` helper with custom `IntoContent` traitLibravatar Héctor Ramón Jiménez2024-04-011-3/+3
| |
* | refactor: replace `text(format!(` with `text` macroLibravatar Richard Custodio2024-03-181-4/+4
|/
* Introduce `Program::run_with` to control the initial stateLibravatar Héctor Ramón Jiménez2024-03-171-13/+7
|
* Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez2024-03-171-1/+1
|
* Remove `sandbox` by making `application` more generic :tada:Libravatar Héctor Ramón Jiménez2024-03-161-1/+1
|
* Make `sandbox` helper take a `title` as wellLibravatar Héctor Ramón Jiménez2024-03-161-2/+1
|
* Introduce `Program` APILibravatar Héctor Ramón Jiménez2024-03-161-7/+14
|
* Simplify theming for `Button` widgetLibravatar Héctor Ramón Jiménez2024-03-041-16/+14
|
* Simplify theming for `Text` widgetLibravatar Héctor Ramón Jiménez2024-03-041-1/+1
|
* Enable layout debugger for Wasm builds in `tour` exampleLibravatar Héctor Ramón Jiménez2024-02-221-10/+3
|
* Add `push_maybe` to `Column` and `Row`Libravatar Héctor Ramón Jiménez2024-02-151-13/+9
|
* Make `horizontal_space` and `vertical_space` fill by defaultLibravatar Héctor Ramón Jiménez2024-02-151-3/+3
|
* Rename `password` method in `TextInput` to `secure`Libravatar Héctor Ramón Jiménez2024-02-151-5/+1
|
* Introduce support for disabling a `checkbox`Libravatar Alexander van Saase2024-02-011-16/+17
|
* Convert `Renderer::Theme` to generic `Widget` typeLibravatar Héctor Ramón Jiménez2024-01-211-2/+2
|
* Introduce `Widget::size_hint` and fix further layout inconsistenciesLibravatar Héctor Ramón Jiménez2024-01-101-1/+0
|
* Make `Shrink` have priority over `Fill` in layoutLibravatar Héctor Ramón Jiménez2024-01-041-5/+1
|
* Refactor texture image filteringLibravatar Héctor Ramón Jiménez2023-11-111-7/+37
| | | | | | - Support only `Linear` or `Nearest` - Simplify `Layer` groups - Move `FilterMethod` to `Image` and `image::Viewer`
* Fix `clippy::semicolon_if_nothing_returned`Libravatar Héctor Ramón Jiménez2023-09-201-1/+1
|
* Chore: Apply some minor clippy fixesLibravatar Yuri Astrakhan2023-09-191-1/+1
| | | | | | * Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared
* Merge branch 'master' into explicit-text-cachingLibravatar Héctor Ramón Jiménez2023-09-101-1/+8
|\
| * Change init_with_level to init in examplesLibravatar Thomas2023-09-091-1/+1
| |
| * Add logging for web in tour exampleLibravatar Thomas2023-09-091-0/+7
| |
| * Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez2023-09-041-1/+1
| | | | | | | | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
* | Implement explicit text caching in the widget state treeLibravatar Héctor Ramón Jiménez2023-08-301-2/+2
|/
* Keep `tour` buttons solidLibravatar Héctor Ramón Jiménez2023-05-191-50/+5
| | | | The gradients feel a bit out of place currently.
* Implement `custom` helper for `theme::Button`Libravatar Héctor Ramón Jiménez2023-05-191-8/+6
|
* Remove `Builder` abstractions for gradientsLibravatar Héctor Ramón Jiménez2023-05-191-14/+16
|
* Added support for gradients as background variants + other optimizations.Libravatar Bingus2023-05-111-8/+50
|
* Merge branch 'master' into advanced-textLibravatar Héctor Ramón Jiménez2023-04-171-19/+65
|\
| * Rename `on_change` to `on_input` for `TextInput`Libravatar Héctor Ramón Jiménez2023-04-121-1/+1
| |
| * Introduce disabled state for `TextInput`Libravatar Dan Mishin2023-04-121-7/+4
| |
| * Fix `current` step in `tour`Libravatar Héctor Ramón Jiménez2023-04-111-1/+1
| |
| * Move `ICON_FONT` constant in `tour` to `text_input` helperLibravatar Héctor Ramón Jiménez2023-04-111-5/+5
| |
| * Collapse `Font` import in `tour` exampleLibravatar Héctor Ramón Jiménez2023-04-111-2/+1
| |
| * Rename `IconPosition` to `Side` in `text_input`Libravatar Héctor Ramón Jiménez2023-04-111-1/+1
| |