summaryrefslogtreecommitdiffstats
path: root/examples/stopwatch (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-21Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2-2/+2
2025-01-24Add `Duration` helpers to `time` moduleLibravatar Héctor Ramón Jiménez1-4/+2
2024-07-12Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez1-3/+3
2024-07-12Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez1-12/+4
2024-06-19Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez1-1/+1
2024-05-03Introduce `center` widget helperLibravatar Héctor Ramón Jiménez1-8/+3
... 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.
2024-03-18refactor: replace `text(format!(` with `text` macroLibravatar Richard Custodio1-2/+2
2024-03-17Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez1-1/+1
2024-03-16Remove `sandbox` by making `application` more generic :tada:Libravatar Héctor Ramón Jiménez1-1/+1
2024-03-16Make `sandbox` helper take a `title` as wellLibravatar Héctor Ramón Jiménez1-2/+1
2024-03-16Introduce `Program` APILibravatar Héctor Ramón Jiménez1-30/+14
2024-03-07Rename `positive` and `destructive` to `success` and `danger` in `button`Libravatar Héctor Ramón Jiménez1-1/+1
2024-03-04Simplify theming for `Button` widgetLibravatar Héctor Ramón Jiménez1-2/+2
2024-01-16Refactor `KeyCode` into `Key` and `Location`Libravatar Héctor Ramón Jiménez1-4/+8
2023-09-07Host GIFs and video examples in `iced.rs`Libravatar Héctor Ramón Jiménez1-3/+1
RIP Gfycat
2023-09-07Add hotkey support for `stopwatch` exampleLibravatar Héctor Ramón Jiménez1-1/+15
2023-09-04Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez1-1/+2
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.
2023-08-23Use `Dark` theme in `stopwatch` exampleLibravatar Héctor Ramón Jiménez1-0/+4
2023-02-17Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez1-1/+1
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-25/+13
2022-07-09Fix `clippy` lints for all crates and featuresLibravatar Héctor Ramón Jiménez1-4/+3
... and check those in CI as well!
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-38/+18
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-02-11Expose reusable `Button` logicLibravatar Héctor Ramón Jiménez1-1/+1
... and reuse it in `iced_pure`!
2022-02-09Update Rust edition to 2021 :tada:Libravatar Héctor Ramón Jiménez1-1/+1
2021-10-31Reintroduce `Box` for `style_sheet` in `Button`Libravatar Héctor Ramón Jiménez1-3/+3
2021-10-18Wire up styling to `Button` in `iced_native`Libravatar Héctor Ramón Jiménez1-3/+3
2021-09-20Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez1-5/+4
2021-09-20Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez1-3/+3
2021-09-02Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez1-7/+3
This allows us to introduce a platform-specific `Action` to both `iced_native` and `iced_web` and remove the `Clipboard` from `Application::update` to maintain purity. Additionally, this should let us implement further actions to let users query and modify the shell environment (e.g. window, clipboard, and more!)
2021-03-11Add `clipboard` argument to `Application::update`Libravatar Héctor Ramón Jiménez1-3/+7
2021-01-15Fix `time::Every` implementation for `smol` runtimeLibravatar Héctor Ramón Jiménez1-1/+1
2020-11-23Use `f32` for `border_width` and `border_radius`Libravatar Héctor Ramón Jiménez1-1/+1
2020-09-08Make `Application` and `Sandbox` return a `Result`Libravatar Héctor Ramón Jiménez1-1/+1
2020-04-30Implement `time::every` in `iced_futures`Libravatar Héctor Ramón Jiménez2-44/+5
2020-03-30Allow passing external state to `Application::new`Libravatar Héctor Ramón Jiménez1-1/+2
2020-03-14Remove `pane_grid` example for nowLibravatar Héctor Ramón Jiménez2-206/+202
It's too contrived. I will work on something simpler.
2020-03-04Draft `Panes` widget and `panes` exampleLibravatar Héctor Ramón Jiménez2-202/+206
2020-02-21Create `README` files for all the examplesLibravatar Héctor Ramón Jiménez1-0/+18
2020-01-20Package examples and remove `dev-dependencies`Libravatar Héctor Ramón Jiménez2-0/+218