summaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split `window::Event::Focused` into two variantsLibravatar Héctor Ramón Jiménez2021-01-151-4/+7
|
* add focus eventLibravatar cossonleo2021-01-151-0/+3
|
* Fix `Widget::width` implementation for `PickList`Libravatar Héctor Ramón Jiménez2021-01-151-1/+1
|
* Capture relevant events in `image::Viewer`Libravatar Héctor Ramón Jiménez2021-01-111-5/+15
|
* Use `BTreeMap` for splits and regions in `pane_grid`Libravatar Héctor Ramón Jiménez2021-01-074-12/+12
| | | | This preserves ordering between calls to update and draw logic.
* Implement split highlight on hover for `PaneGrid`Libravatar Héctor Ramón Jiménez2021-01-014-19/+67
|
* Merge pull request #657 from clarkmoody/feature/pane-grid-title-contentsLibravatar Héctor Ramón2020-12-223-86/+42
|\ | | | | Generic Element Content in Pane Grid TitleBar
| * Remove unnecessary lifetime bound in `TitleBar`Libravatar Héctor Ramón Jiménez2020-12-221-1/+1
| |
| * Remove unnecessary `text::Renderer` bound for `PaneGrid`Libravatar Héctor Ramón Jiménez2020-12-221-4/+1
| | | | | | | | This is no longer necessary, as we do not render text directly anymore.
| * Replace TitleBar string title with generic ContentLibravatar Clark Moody2020-12-103-83/+42
| |
* | Merge pull request #668 from hecrj/fix/propagate-button-eventsLibravatar Héctor Ramón2020-12-181-2/+13
|\ \ | | | | | | Propagate `Button` events to contents
| * | Propagate `Button` events to contentsLibravatar Héctor Ramón Jiménez2020-12-181-2/+13
| | |
* | | Remove `max_width` and `max_height` from `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-19/+1
| | | | | | | | | | | | | | | The support for these layout constraints is currently not ideal. We should reintroduce these methods once our layout engine improves.
* | | Use intra-doc links in `image::viewer`Libravatar Héctor Ramón Jiménez2020-12-181-37/+4
| | |
* | | Simplify `cursor_to_center` in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-21/+2
| | |
* | | Remove use of `unwrap` in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-34/+33
| | |
* | | Rename `starting_cursor_pos` to `cursor_grabbed_at` in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-11/+10
| | |
* | | Negate values instead of multipling by `-1.0` in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-10/+4
| | |
* | | Remove redundant `f32` conversions in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-12/+10
| | |
* | | Remove unnecessary `Option` in `image::viewer::State`Libravatar Héctor Ramón Jiménez2020-12-181-18/+24
| | |
* | | Rename `scale_pct` to `scale_step` in `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-6/+6
| | |
* | | Simplify pattern match in `image::Viewer::on_event`Libravatar Héctor Ramón Jiménez2020-12-181-15/+10
| | |
* | | Pan `image::Viewer` even if the cursor is out of boundsLibravatar Héctor Ramón Jiménez2020-12-181-77/+68
| | |
* | | Fix `layout` of `image::Viewer`Libravatar Héctor Ramón Jiménez2020-12-181-52/+38
| | |
* | | Turn methods into helper functions in `image::viewer`Libravatar Héctor Ramón Jiménez2020-12-181-26/+20
| | |
* | | Merge remote-tracking branch 'tarkah/image-pane' into image-paneLibravatar Héctor Ramón Jiménez2020-12-182-0/+503
|\ \ \ | |/ / |/| |
| * | remove re-export on viewer::StateLibravatar Cory Forsstrom2020-05-271-1/+1
| | |
| * | update docsLibravatar Cory Forsstrom2020-05-271-1/+1
| | |
| * | centered image and zoom to cursorLibravatar Cory Forsstrom2020-05-271-91/+196
| | |
| * | rename to image::ViewerLibravatar Cory Forsstrom2020-05-263-42/+41
| | |
| * | Rename and add to iced image moduleLibravatar Cory Forsstrom2020-05-262-39/+39
| | |
| * | Rebase to master and update for api changesLibravatar Cory Forsstrom2020-05-261-39/+16
| | |
| * | Add `ImagePane` widgetLibravatar Cory Forsstrom2020-05-262-0/+410
| | |
* | | Fix text selection with touch events in `TextInput`Libravatar Héctor Ramón Jiménez2020-12-151-2/+5
| | |
* | | Turn `Touch` into a `touch::Event` enumLibravatar Héctor Ramón Jiménez2020-12-158-97/+58
| | |
* | | Merge branch 'ios-support-wip' into feature/touch-supportLibravatar Héctor Ramón Jiménez2020-12-159-35/+160
|\ \ \ | |_|/ |/| |
| * | Remove redundant `scroll_to` in `Scrollable`Libravatar Héctor Ramón Jiménez2020-03-191-14/+0
| | |
| * | Turn `Touch` into a struct and add finger idLibravatar Héctor Ramón Jiménez2020-03-1911-85/+129
| | |
| * | Added initial touch events to support iOSLibravatar Sebastian Imlay2020-03-1810-44/+139
| | |
* | | Bump versions :tada:Libravatar Héctor Ramón Jiménez2020-11-262-4/+4
| | |
* | | Update example links to point to `0.2` branchLibravatar Héctor Ramón Jiménez2020-11-262-6/+6
| | |
* | | Update `README`s of subcratesLibravatar Héctor Ramón Jiménez2020-11-261-1/+3
| | |
* | | 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.