summaryrefslogtreecommitdiffstats
path: root/native/src/widget/button.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Remove unnecessary 'static lifetime on RendererLibravatar Olivier Pinon2020-04-121-3/+4
| |
* | Hash type ids in `Widget::hash_layout` implsLibravatar Héctor Ramón Jiménez2020-03-301-2/+4
| |
* | refactor: remove not mandatory static lifetimeLibravatar Théo Gaillard2020-03-301-2/+2
|/
* Revert changing the constructor and implement new method.Libravatar daxpedda2020-02-141-5/+3
|
* Add `bound` to `Node` constructor.Libravatar daxpedda2020-02-141-2/+2
|
* Add default padding to `Button`Libravatar Héctor Ramón Jiménez2020-01-221-1/+6
|
* Write missing docs and reenable deny statementsLibravatar Héctor Ramón Jiménez2020-01-091-0/+4
|
* Add `Renderer::Defaults` and style inheritanceLibravatar Héctor Ramón Jiménez2019-12-301-9/+10
|
* Draft `Style` and `StyleSheet` for `Button`Libravatar Héctor Ramón Jiménez2019-12-291-29/+18
|
* Allow clipboard access in `Widget::on_event`Libravatar Héctor Ramón Jiménez2019-12-181-2/+3
|
* Add `Button::height` and `Button::min_height`Libravatar Héctor Ramón Jiménez2019-12-091-2/+23
|
* Make `Button::background` genericLibravatar Héctor Ramón Jiménez2019-12-051-2/+2
|
* Fix `Button` example in `iced_native`Libravatar Héctor Ramón Jiménez2019-11-221-3/+5
|
* Uncomment missing debug implementations ruleLibravatar Héctor Ramón Jiménez2019-11-221-1/+14
|
* Merge branch 'master' into improvement/docsLibravatar Héctor Ramón Jiménez2019-11-211-0/+8
|\
| * Make `width` and `height` required methodsLibravatar Héctor Ramón Jiménez2019-11-161-1/+9
| |
* | Move widgets from `core` to `native` and `web`Libravatar Héctor Ramón Jiménez2019-11-211-24/+142
|/ | | | Also made fields private and improved `Renderer` traits.
* Implement `Container` widgetLibravatar Héctor Ramón Jiménez2019-11-111-2/+1
| | | | Remove `align_self` and `justify_content` methods
* Draft custom layout engine based on `druid`Libravatar Héctor Ramón Jiménez2019-11-111-6/+10
|
* Draft new layout APILibravatar Héctor Ramón Jiménez2019-11-101-7/+11
|
* Reduce `Copy` constraint to `Clone` in `Message`Libravatar Héctor Ramón Jiménez2019-11-021-3/+3
|