summaryrefslogtreecommitdiffstats
path: root/native/src/widget/button.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Create `iced_widget` subcrate and re-organize the whole codebaseLibravatar Héctor Ramón Jiménez2023-03-041-455/+0
|
* Use `f32` for `Padding`Libravatar Héctor Ramón Jiménez2023-02-171-2/+2
|
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-4/+4
|
* Add `Renderer` argument to `operate`Libravatar Héctor Ramón Jiménez2022-12-221-0/+2
|
* Merge branch 'master' into non-uniform-border-radius-for-quadsLibravatar Héctor Ramón Jiménez2022-12-021-8/+9
|\
| * Allow &mut self in overlayLibravatar tarkah2022-11-291-2/+2
| |
| * Introduce `Custom` variants for every style in the built-in `Theme`Libravatar Héctor Ramón Jiménez2022-11-091-2/+2
| |
| * Rearrange `layout` code to improve readabilityLibravatar Héctor Ramón Jiménez2022-11-081-3/+1
| |
| * Rename `Padding::constrain` to `fit`Libravatar Héctor Ramón Jiménez2022-11-081-1/+1
| |
| * Constrain padding to inner & outer sizesLibravatar Cory Forsstrom2022-10-271-3/+6
| |
* | non uniform border radius for quadsLibravatar Robert Krahn2022-11-031-2/+2
|/
* Implement `Widget::operate` for `TextInput`Libravatar Héctor Ramón Jiménez2022-07-281-0/+16
|
* Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez2022-07-271-151/+165
|
* Fix further `clippy` lintsLibravatar Héctor Ramón Jiménez2022-07-091-1/+1
| | | | ... and explicitly annotate crates as well.
* Rename `Variant` to `Style` and `Style` to `Appearance`Libravatar Héctor Ramón Jiménez2022-05-261-18/+20
|
* Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez2022-05-141-13/+27
| | | | RFC: https://github.com/iced-rs/rfcs/pull/6
* Merge branch 'master' into virtual-widgetsLibravatar Héctor Ramón Jiménez2022-03-071-14/+2
|\
| * Remove `hash_layout` method from `Widget` traitLibravatar Héctor Ramón Jiménez2022-02-231-12/+2
| |
* | Expose reusable `Button` logicLibravatar Héctor Ramón Jiménez2022-02-111-121/+174
|/ | | | ... and reuse it in `iced_pure`!
* Introduce `Renderer` argument to `mouse_interaction` and `on_event`Libravatar Héctor Ramón Jiménez2022-01-111-1/+4
|
* 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.
* Rename `fill_rectangle` to `fill_quad` in `Renderer`Libravatar Héctor Ramón Jiménez2021-11-041-17/+21
|
* 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 `Button`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-4/+4
|
* Implement `Widget::mouse_interaction` for `Button`Libravatar Héctor Ramón Jiménez2021-10-181-1/+18
|
* Implement `Widget::draw` for `Button`Libravatar Héctor Ramón Jiménez2021-10-181-7/+60
|
* Wire up styling to `Button` in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-23/+12
|
* Move `Defaults` from `iced_graphics` to `iced_native`Libravatar Héctor Ramón Jiménez2021-10-181-1/+2
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-24/+1
|
* Update disabled example of `Button` in docsLibravatar Héctor Ramón2021-06-101-8/+14
|
* Fix failing doctestsLibravatar Jonas Matser2021-06-101-1/+11
|
* Adds doc comment for disabled buttonLibravatar Jonas Matser2021-06-101-0/+8
| | | | Makes disabled button behavior consistent in web
* Replace ignored doc-tests with additional documentation for `Padding`Libravatar Héctor Ramón2021-06-011-5/+0
|
* Add support for asymmetrical paddingLibravatar Ben LeFevre2021-06-011-10/+18
|
* Overwrite `overlay` method in Widget implementation for Button (#764)Libravatar Nicolas Levy2021-03-141-0/+8
| | | | | | | * Overwrite `overlay` method in Widget implementation for Button * Overwrite `overlay` method in Widget implementation for Button (cargo fmt) * Fix button overlay
* Make `Clipboard` argument in `Widget` trait mutableLibravatar Héctor Ramón Jiménez2021-03-101-3/+3
|
* Propagate `Button` events to contentsLibravatar Héctor Ramón Jiménez2020-12-181-2/+13
|
* Turn `Touch` into a `touch::Event` enumLibravatar Héctor Ramón Jiménez2020-12-151-13/+4
|
* Merge branch 'ios-support-wip' into feature/touch-supportLibravatar Héctor Ramón Jiménez2020-12-151-2/+17
|\
| * Turn `Touch` into a struct and add finger idLibravatar Héctor Ramón Jiménez2020-03-191-5/+19
| |
| * Added initial touch events to support iOSLibravatar Sebastian Imlay2020-03-181-17/+18
| |
* | 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 `Button`Libravatar Héctor Ramón Jiménez2020-11-121-6/+11
| |
* | 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`.
* | Remove inconsistent `input` module in `iced_native`Libravatar Héctor Ramón Jiménez2020-04-301-2/+2
| |
* | Split `Input` mouse event by `ButtonState`Libravatar Héctor Ramón Jiménez2020-04-301-20/+15
| |
* | #288 Renamed XXXWidget to MarkerLibravatar Olivier Pinon2020-04-121-2/+2
| |