Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Touch support for `PaneGrid` and `PickList` (#650) | 2021-02-12 | 3 | -70/+91 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * touch events properly parsed and converted to logical size, button working * scrolling with a nice touch * fixed application state level touch cursor. panel_grid is touchable now. * format glicthes fixes * format glitches * tight format * fixed pane grid * fixing with upstream * Remove unused `touch` module from `iced_core` * Remove unused `crate::text` import in `iced_native` * Remove redundant match branch in `iced_winit` * Keep removed line break in `UserInterface::update` * Compute `text_size` only when bounds contains cursor in `overlay::menu` Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com> | ||||
* | Split `window::Event::Focused` into two variants | 2021-01-15 | 1 | -4/+7 | |
| | |||||
* | add focus event | 2021-01-15 | 1 | -0/+3 | |
| | |||||
* | Fix `Widget::width` implementation for `PickList` | 2021-01-15 | 1 | -1/+1 | |
| | |||||
* | Capture relevant events in `image::Viewer` | 2021-01-11 | 1 | -5/+15 | |
| | |||||
* | Use `BTreeMap` for splits and regions in `pane_grid` | 2021-01-07 | 4 | -12/+12 | |
| | | | | This preserves ordering between calls to update and draw logic. | ||||
* | Implement split highlight on hover for `PaneGrid` | 2021-01-01 | 4 | -19/+67 | |
| | |||||
* | Merge pull request #657 from clarkmoody/feature/pane-grid-title-contents | 2020-12-22 | 3 | -86/+42 | |
|\ | | | | | Generic Element Content in Pane Grid TitleBar | ||||
| * | Remove unnecessary lifetime bound in `TitleBar` | 2020-12-22 | 1 | -1/+1 | |
| | | |||||
| * | Remove unnecessary `text::Renderer` bound for `PaneGrid` | 2020-12-22 | 1 | -4/+1 | |
| | | | | | | | | This is no longer necessary, as we do not render text directly anymore. | ||||
| * | Replace TitleBar string title with generic Content | 2020-12-10 | 3 | -83/+42 | |
| | | |||||
* | | Merge pull request #668 from hecrj/fix/propagate-button-events | 2020-12-18 | 1 | -2/+13 | |
|\ \ | | | | | | | Propagate `Button` events to contents | ||||
| * | | Propagate `Button` events to contents | 2020-12-18 | 1 | -2/+13 | |
| | | | |||||
* | | | Remove `max_width` and `max_height` from `image::Viewer` | 2020-12-18 | 1 | -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` | 2020-12-18 | 1 | -37/+4 | |
| | | | |||||
* | | | Simplify `cursor_to_center` in `image::Viewer` | 2020-12-18 | 1 | -21/+2 | |
| | | | |||||
* | | | Remove use of `unwrap` in `image::Viewer` | 2020-12-18 | 1 | -34/+33 | |
| | | | |||||
* | | | Rename `starting_cursor_pos` to `cursor_grabbed_at` in `image::Viewer` | 2020-12-18 | 1 | -11/+10 | |
| | | | |||||
* | | | Negate values instead of multipling by `-1.0` in `image::Viewer` | 2020-12-18 | 1 | -10/+4 | |
| | | | |||||
* | | | Remove redundant `f32` conversions in `image::Viewer` | 2020-12-18 | 1 | -12/+10 | |
| | | | |||||
* | | | Remove unnecessary `Option` in `image::viewer::State` | 2020-12-18 | 1 | -18/+24 | |
| | | | |||||
* | | | Rename `scale_pct` to `scale_step` in `image::Viewer` | 2020-12-18 | 1 | -6/+6 | |
| | | | |||||
* | | | Simplify pattern match in `image::Viewer::on_event` | 2020-12-18 | 1 | -15/+10 | |
| | | | |||||
* | | | Pan `image::Viewer` even if the cursor is out of bounds | 2020-12-18 | 1 | -77/+68 | |
| | | | |||||
* | | | Fix `layout` of `image::Viewer` | 2020-12-18 | 1 | -52/+38 | |
| | | | |||||
* | | | Turn methods into helper functions in `image::viewer` | 2020-12-18 | 1 | -26/+20 | |
| | | | |||||
* | | | Merge remote-tracking branch 'tarkah/image-pane' into image-pane | 2020-12-18 | 2 | -0/+503 | |
|\ \ \ | |/ / |/| | | |||||
| * | | remove re-export on viewer::State | 2020-05-27 | 1 | -1/+1 | |
| | | | |||||
| * | | update docs | 2020-05-27 | 1 | -1/+1 | |
| | | | |||||
| * | | centered image and zoom to cursor | 2020-05-27 | 1 | -91/+196 | |
| | | | |||||
| * | | rename to image::Viewer | 2020-05-26 | 3 | -42/+41 | |
| | | | |||||
| * | | Rename and add to iced image module | 2020-05-26 | 2 | -39/+39 | |
| | | | |||||
| * | | Rebase to master and update for api changes | 2020-05-26 | 1 | -39/+16 | |
| | | | |||||
| * | | Add `ImagePane` widget | 2020-05-26 | 2 | -0/+410 | |
| | | | |||||
* | | | Fix text selection with touch events in `TextInput` | 2020-12-15 | 1 | -2/+5 | |
| | | | |||||
* | | | Turn `Touch` into a `touch::Event` enum | 2020-12-15 | 8 | -97/+58 | |
| | | | |||||
* | | | Merge branch 'ios-support-wip' into feature/touch-support | 2020-12-15 | 9 | -35/+160 | |
|\ \ \ | |_|/ |/| | | |||||
| * | | Remove redundant `scroll_to` in `Scrollable` | 2020-03-19 | 1 | -14/+0 | |
| | | | |||||
| * | | Turn `Touch` into a struct and add finger id | 2020-03-19 | 11 | -85/+129 | |
| | | | |||||
| * | | Added initial touch events to support iOS | 2020-03-18 | 10 | -44/+139 | |
| | | | |||||
* | | | Bump versions :tada: | 2020-11-26 | 2 | -4/+4 | |
| | | | |||||
* | | | Update example links to point to `0.2` branch | 2020-11-26 | 2 | -6/+6 | |
| | | | |||||
* | | | Update `README`s of subcrates | 2020-11-26 | 1 | -1/+3 | |
| | | | |||||
* | | | Update graphs in crate docs | 2020-11-26 | 1 | -1/+1 | |
| | | | |||||
* | | | Use recently stabilized intra-doc links | 2020-11-26 | 47 | -899/+65 | |
| | | | | | | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md | ||||
* | | | Rename `keyboard::ModifiersState` to `Modifiers` | 2020-11-26 | 1 | -6/+4 | |
| | | | |||||
* | | | Fix broken links in API documentation | 2020-11-26 | 1 | -8/+4 | |
| | | | |||||
* | | | Track keyboard modifiers in `text_input` | 2020-11-25 | 1 | -24/+16 | |
| | | | |||||
* | | | This PR fixes a bug with select all (CMD + A on MacOS) when using a text_input. | 2020-11-25 | 1 | -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 click | 2020-11-19 | 1 | -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. |