summaryrefslogtreecommitdiffstats
path: root/native/src/widget/slider.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-473/+0
|
* Merge pull request #1721 from casperstorm/feat/no-bleed-sliderLibravatar Héctor Ramón2023-02-201-2/+2
|\ | | | | Sliders no longer bleed over rail
| * Sliders no longer bleed over railLibravatar Casper Storm2023-02-201-2/+2
| |
* | Use `Pixels` for `Slider::height` and `VerticalSlider::width`Libravatar Héctor Ramón Jiménez2023-02-171-4/+4
| |
* | Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-8/+6
|/
* Merge branch 'master' into non-uniform-border-radius-for-quadsLibravatar Héctor Ramón Jiménez2022-12-021-2/+2
|\
| * Fix redundant references in `slider`Libravatar Héctor Ramón Jiménez2022-11-091-3/+3
| |
| * Introduce `Custom` variants for every style in the built-in `Theme`Libravatar Héctor Ramón Jiménez2022-11-091-5/+5
| |
* | non uniform border radius for quadsLibravatar Robert Krahn2022-11-031-3/+3
|/
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-112/+120
|
* Fix further `clippy` lintsLibravatar Héctor Ramón Jiménez2022-07-091-2/+2
| | | | ... and explicitly annotate crates as well.
* Address Clippy lintsLibravatar Poly2022-07-091-2/+2
|
* Fix examples and doc-testsLibravatar Héctor Ramón Jiménez2022-05-261-1/+3
|
* Rename `Variant` to `Style` and `Style` to `Appearance`Libravatar Héctor Ramón Jiménez2022-05-261-11/+11
|
* Implement theme styling for `Slider`Libravatar Héctor Ramón Jiménez2022-05-261-16/+30
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-0/+1
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Fix slider's handle position calculationLibravatar MG_REX2022-03-291-4/+4
|
* Merge branch 'master' into virtual-widgetsLibravatar Héctor Ramón Jiménez2022-03-071-15/+2
|\
| * Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez2022-02-231-10/+2
| |
* | Implement `Slider` in `iced_pure`Libravatar Héctor Ramón Jiménez2022-02-131-165/+232
|/
* Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez2022-01-111-0/+1
|
* Introduce `Shell` type in `iced_native`Libravatar Héctor Ramón Jiménez2021-11-291-4/+4
| | | | Widgets now can invalidate the current layout of the application on demand.
* Derive `Eq` for `slider::State` againLibravatar Héctor Ramón Jiménez2021-11-151-1/+1
|
* Use `value` in `Slider` to store the `previous` valueLibravatar Héctor Ramón Jiménez2021-11-151-8/+3
|
* Don't rebroadcast redundant slider messagesLibravatar Cory Forsstrom2021-11-111-7/+22
|
* Rename `fill_rectangle` to `fill_quad` in `Renderer`Libravatar Héctor Ramón Jiménez2021-11-041-34/+41
|
* Move `viewport` argument to last position in `mouse_interaction` methodsLibravatar Héctor Ramón Jiménez2021-11-021-1/+1
| | | | This keeps the order of the arguments consistent with `draw`.
* Reintroduce `Box` for `style_sheet` in `Slider`Libravatar Héctor Ramón Jiménez2021-10-311-3/+6
|
* Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-1/+1
|
* Implement `Widget::mouse_interaction` for `Slider`Libravatar Héctor Ramón Jiménez2021-10-201-0/+18
|
* Implement `Widget::draw` for `Slider`Libravatar Héctor Ramón Jiménez2021-10-201-14/+81
|
* Wire up styling to `Slider` in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-201-31/+17
|
* Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-2/+4
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-30/+13
|
* Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez2021-03-101-2/+2
|
* Turn `Touch` into a `touch::Event` enumLibravatar Héctor Ramón Jiménez2020-12-151-13/+5
|
* Merge branch 'ios-support-wip' into feature/touch-supportLibravatar Héctor Ramón Jiménez2020-12-151-24/+34
|\
| * Turn `Touch` into a struct and add finger idLibravatar Héctor Ramón Jiménez2020-03-191-4/+13
| |
| * Added initial touch events to support iOSLibravatar Sebastian Imlay2020-03-181-13/+17
| |
* | Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-30/+1
| | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* | Implement event capturing for `Slider`Libravatar Héctor Ramón Jiménez2020-11-121-0/+6
| |
* | Make `Widget::on_event` return an `event::Status`Libravatar Héctor Ramón Jiménez2020-11-121-3/+7
| |
* | Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-281-0/+1
| | | | | | | | | | This should eventually allow us to only generate primitives that are visible.
* | Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-171-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | Add `height` method to `Slider`Libravatar Héctor Ramón Jiménez2020-08-011-6/+15
| |
* | Mention generic range in `Slider` documentationLibravatar Héctor Ramón Jiménez2020-06-131-1/+2
| |
* | Remove unnecessary type annotations in `Slider`Libravatar Héctor Ramón Jiménez2020-06-131-3/+3
| |
* | Make `Slider` value type genericLibravatar Héctor Ramón Jiménez2020-06-131-25/+53
| |
* | Add `step` member to slider widgetsLibravatar Sebastian Zivota2020-06-111-4/+16
| | | | | | | | | | | | 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.
* | Add on_release message to Slider (#378)Libravatar Duncan Freeman2020-06-081-2/+23
| | | | | | | | | | | | | | | | | | | | | | * Add on_finish callback to Slider * Fix formatting * Rename Slider's on_finish to on_release, make the message simply an event without data * Satisfy Clone impl requirement on Message in integration test * Only call on_release after dragging a slider