summaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update graphs in crate docsLibravatar Héctor Ramón Jiménez2020-11-261-1/+1
|
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-2647-899/+65
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Rename `keyboard::ModifiersState` to `Modifiers`Libravatar Héctor Ramón Jiménez2020-11-261-6/+4
|
* Fix broken links in API documentationLibravatar Héctor Ramón Jiménez2020-11-261-8/+4
|
* Track keyboard modifiers in `text_input`Libravatar Héctor Ramón Jiménez2020-11-251-24/+16
|
* This PR fixes a bug with select all (CMD + A on MacOS) when using a text_input.Libravatar Zak2020-11-251-3/+13
| | | | | | Previous behaviour: when selecting all (CMD + A) would delete the current text inside the input and replace the content with just the letter 'a'. Now we check if the logo key (modifier key) has been pressed before checking any other key and save it to the state level. This way we can prevent any text being deleted when using the select all shortcut or text being entered at all when a modifier key is pressed (this behaviour matches other text input behaviour i.e text inputs in the browser etc...).
* Disable dragging in `TextInput` after double clickLibravatar Héctor Ramón Jiménez2020-11-191-1/+5
| | | | | | | | When using a trackpad, mouse move events may happen between the press/release events. This was incorrectly triggering selection dragging in the `TextInput` widget. Eventually, we should implement proper word-aware selection dragging.
* Remove `Focus` in `pane_grid`Libravatar Héctor Ramón Jiménez2020-11-172-17/+1
| | | | Since #608, the `PaneGrid` widget does not handle pane focus.
* Implement flexible `TextInput::draw` helperLibravatar Héctor Ramón Jiménez2020-11-172-30/+63
|
* Batch event processing in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-122-52/+60
|
* Introduce `event::Status` to `Subscription`Libravatar Héctor Ramón Jiménez2020-11-123-18/+33
|
* Return `event::Status` in `UserInterface::update`Libravatar Héctor Ramón Jiménez2020-11-122-54/+63
|
* Make `Overlay::on_event` return `event::Status`Libravatar Héctor Ramón Jiménez2020-11-124-10/+17
|
* Implement event capturing for `TextInput`Libravatar Héctor Ramón Jiménez2020-11-121-130/+168
|
* Implement event capturing for `Slider`Libravatar Héctor Ramón Jiménez2020-11-121-0/+6
|
* Implement event capturing for `Scrollable`Libravatar Héctor Ramón Jiménez2020-11-121-37/+52
|
* Implement event capturing for `Row`Libravatar Héctor Ramón Jiménez2020-11-121-8/+8
|
* Implement event capturing for `Radio`Libravatar Héctor Ramón Jiménez2020-11-121-0/+2
|
* Implement event capturing for `PickList`Libravatar Héctor Ramón Jiménez2020-11-121-5/+13
|
* Implement event capturing for `PaneGrid`Libravatar Héctor Ramón Jiménez2020-11-123-28/+47
|
* Implement event capturing for `Column`Libravatar Héctor Ramón Jiménez2020-11-122-8/+29
|
* Implement event capturing for `Checkbox`Libravatar Héctor Ramón Jiménez2020-11-121-0/+2
|
* Implement event capturing for `Button`Libravatar Héctor Ramón Jiménez2020-11-122-7/+12
|
* Make `Widget::on_event` return an `event::Status`Libravatar Héctor Ramón Jiménez2020-11-1218-67/+127
|
* Introduce `event::Status` in `iced_native`Libravatar Héctor Ramón Jiménez2020-11-112-2/+23
|
* Remove unnecessary `move` in `PaneGrid::new`Libravatar Héctor Ramón Jiménez2020-11-101-1/+1
|
* Restore hotkeys in `pane_grid` exampleLibravatar Héctor Ramón Jiménez2020-11-104-23/+43
| | | | | | - Implement `subscription::events_with` - Remove `pane_grid::KeyPressEvent` - Return closest sibling in `pane_grid::State::close`
* Fix typo in documentation of `pane_grid::Content`Libravatar Héctor Ramón Jiménez2020-11-101-2/+2
|
* Introduce `on_click` handler in `PaneGrid`Libravatar Héctor Ramón Jiménez2020-11-101-11/+26
|
* Remove focus concept from `pane_grid`Libravatar Héctor Ramón Jiménez2020-11-102-223/+14
|
* Split `focus` and `unfocus` methods in `text_input`Libravatar Héctor Ramón Jiménez2020-11-091-6/+14
|
* Add textinput focus methodLibravatar Paul Delafosse2020-11-091-0/+6
|
* Relayout `UserInterface` on resize in `iced_winit`Libravatar Héctor Ramón Jiménez2020-11-051-0/+17
|
* Merge pull request #590 from Limeth/masterLibravatar Héctor Ramón2020-11-021-1/+1
|\ | | | | Fix lifetimes in `Layout::children`
| * Take `self` by value in `Layout::children`Libravatar Jakub Hlusička2020-11-021-1/+1
| |
| * Fix lifetimes in `Layout::children`Libravatar Jakub Hlusička2020-10-311-1/+1
| |
* | Fix `Widget::draw` for `Rule`Libravatar Héctor Ramón Jiménez2020-10-281-0/+1
| |
* | Draw only visible options in `overlay::Menu`Libravatar Héctor Ramón Jiménez2020-10-281-1/+3
| |
* | Introduce `viewport` to `Widget::draw`Libravatar Héctor Ramón Jiménez2020-10-2822-20/+84
| | | | | | | | | | This should eventually allow us to only generate primitives that are visible.
* | Merge pull request #575 from clarkmoody/scrollable-widthLibravatar Héctor Ramón2020-10-272-4/+68
|\ \ | |/ |/| Custom Scrollbar Width
| * Update scrollbar logic and introduce outer_boundsLibravatar Clark Moody2020-10-221-3/+10
| |
| * Replace hard-coded params with struct membersLibravatar Clark Moody2020-10-222-2/+59
| |
* | Introduce `Eq` requirement to build a `PickList`Libravatar Héctor Ramón Jiménez2020-10-241-1/+1
|/
* Merge pull request #545 from MonliH/masterLibravatar Héctor Ramón2020-10-172-8/+0
|\ | | | | Remove outdated `Fill` comment for `Column` and `Row`
| * Remove entirelyLibravatar Jonathan Li2020-10-172-10/+0
| |
| * Document betterLibravatar Jonathan Li2020-10-022-3/+5
| |
| * Satify documented behaviourLibravatar Jonathan Li2020-10-011-1/+1
| |
* | Require `Clone` for `Message` early when neededLibravatar Héctor Ramón Jiménez2020-10-174-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | Fix typo in Row's and Column's hash_layoutLibravatar Jakub Hlusička2020-10-132-1/+2
|/
* Merge branch 'feature/rule-widget' into masterLibravatar Héctor Ramón Jiménez2020-08-222-0/+128
|\