Commit graph

1572 commits

Author SHA1 Message Date
Yusuf Bera Ertan
50452e62b4 Update tokio to 1.0 2021-01-04 23:20:21 +01:00
Héctor Ramón
2665860b4d
Merge pull request #678 from hecrj/feature/pane-grid-split-highlight
Split highlight for the `PaneGrid` widget
2021-01-04 19:33:26 +01:00
Héctor Ramón Jiménez
a7bb7bb2ea Implement split highlight on hover for PaneGrid 2021-01-01 15:28:38 +01:00
Héctor Ramón
f8aef03456
Merge pull request #657 from clarkmoody/feature/pane-grid-title-contents
Generic Element Content in Pane Grid TitleBar
2020-12-22 14:58:39 +01:00
Héctor Ramón Jiménez
e815c5bbd7 Remove unnecessary lifetime bound in TitleBar 2020-12-22 14:47:18 +01:00
Héctor Ramón Jiménez
f2c2f3fc75 Remove unnecessary text::Renderer bound for PaneGrid
This is no longer necessary, as we do not render text directly anymore.
2020-12-22 14:44:44 +01:00
Héctor Ramón
a366600e73
Merge pull request #669 from hecrj/improvement/update-resvg-and-font-kit
Update `resvg` and `font-kit`
2020-12-20 02:50:38 +01:00
Héctor Ramón Jiménez
4bbfdef14b Update font-kit to 0.10 2020-12-19 01:24:46 +01:00
Greg V
81f37123ad Update resvg to 0.12 2020-12-19 01:24:40 +01:00
Héctor Ramón
86361f003c
Merge pull request #668 from hecrj/fix/propagate-button-events
Propagate `Button` events to contents
2020-12-18 23:30:49 +01:00
Héctor Ramón
0e9f649cb7
Merge pull request #319 from tarkah/image-pane
Add `ImagePane` widget
2020-12-18 23:29:51 +01:00
Héctor Ramón Jiménez
10d6df73e3 Remove max_width and max_height from image::Viewer
The support for these layout constraints is currently not ideal. We
should reintroduce these methods once our layout engine improves.
2020-12-18 11:35:01 +01:00
Héctor Ramón Jiménez
c54a6446a3 Use intra-doc links in image::viewer 2020-12-18 11:35:01 +01:00
Héctor Ramón Jiménez
6a51282933 Simplify cursor_to_center in image::Viewer 2020-12-18 11:34:52 +01:00
Héctor Ramón Jiménez
149098cb68 Remove use of unwrap in image::Viewer 2020-12-18 11:20:48 +01:00
Héctor Ramón Jiménez
43ef85ae5c Rename starting_cursor_pos to cursor_grabbed_at in image::Viewer 2020-12-18 11:20:18 +01:00
Héctor Ramón Jiménez
8245a11766 Negate values instead of multipling by -1.0 in image::Viewer 2020-12-18 11:01:20 +01:00
Héctor Ramón Jiménez
4eb5779542 Remove redundant f32 conversions in image::Viewer 2020-12-18 11:00:32 +01:00
Héctor Ramón Jiménez
cf97982929 Build todos examples instead of pokedex in CI 2020-12-18 10:57:51 +01:00
Héctor Ramón Jiménez
64af860ad2 Remove unnecessary Option in image::viewer::State 2020-12-18 10:55:18 +01:00
Héctor Ramón Jiménez
e6f23e3771 Rename scale_pct to scale_step in image::Viewer 2020-12-18 10:53:38 +01:00
Héctor Ramón Jiménez
ca3e4e9f1b Simplify pattern match in image::Viewer::on_event 2020-12-18 10:49:10 +01:00
Héctor Ramón Jiménez
add167d6a0 Pan image::Viewer even if the cursor is out of bounds 2020-12-18 10:47:29 +01:00
Héctor Ramón Jiménez
21b10dc103 Fix layout of image::Viewer 2020-12-18 10:44:24 +01:00
Héctor Ramón Jiménez
0cdf8d56ee Use image::Viewer in pokedex example 2020-12-18 10:44:06 +01:00
Héctor Ramón Jiménez
71de341684 Turn methods into helper functions in image::viewer 2020-12-18 10:24:04 +01:00
Héctor Ramón Jiménez
74ee7cca81 Format use declarations in image::viewer 2020-12-18 10:18:39 +01:00
Héctor Ramón Jiménez
0b73e5fbfa Merge remote-tracking branch 'tarkah/image-pane' into image-pane 2020-12-18 10:15:30 +01:00
Héctor Ramón Jiménez
8fb0ede72e Propagate Button events to contents 2020-12-18 09:40:10 +01:00
Nils Martel
07b570036a Mention birth year in READMEs 2020-12-17 05:26:28 +01:00
Héctor Ramón
89e604d160
Merge pull request #57 from simlay/ios-support-wip
Touch support
2020-12-17 05:19:14 +01:00
Héctor Ramón Jiménez
277ae74d68 Produce logical coordinates for touch::Event 2020-12-15 06:58:15 +01:00
Héctor Ramón Jiménez
70164f68a6 Fix text selection with touch events in TextInput 2020-12-15 06:48:12 +01:00
Héctor Ramón Jiménez
056f7e6951 Change cursor position on touch event 2020-12-15 06:44:00 +01:00
Héctor Ramón Jiménez
3bdf931925 Turn Touch into a touch::Event enum 2020-12-15 06:38:46 +01:00
Héctor Ramón Jiménez
09110a93b0 Merge branch 'ios-support-wip' into feature/touch-support 2020-12-15 06:13:19 +01:00
Héctor Ramón
a42b3c6998
Merge pull request #658 from hecrj/update-winit-and-glutin
Update `winit` and `glutin`
2020-12-15 03:27:42 +01:00
Héctor Ramón Jiménez
742086e190 Update winit and glutin
We avoid a breaking change in `mouse::Button::Other` for the time being.
2020-12-12 00:54:25 +01:00
Clark Moody
fb478a4014 Update PaneGrid example with more complex TitleBar 2020-12-10 12:18:28 -06:00
Clark Moody
f54590d7ad Replace TitleBar string title with generic Content 2020-12-10 12:17:36 -06:00
Héctor Ramón
d16b9cf7cd
Merge pull request #637 from hecrj/0.2
Release `0.2` — Canvas interactivity, overlay support, a renderer alternative, and more!
2020-11-26 17:05:49 +01:00
Héctor Ramón Jiménez
f78108a514 Bump versions 🎉 2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
745aa49025 Update example links to point to 0.2 branch 2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
b5c41a8815 Update game_of_life capture 2020-11-26 16:36:56 +01:00
Héctor Ramón
35df13686f
Merge pull request #636 from hecrj/improvement/update-ecosystem-and-roadmap
Update `ECOSYSTEM` and `ROADMAP`
2020-11-26 16:10:20 +01:00
Héctor Ramón Jiménez
29ad61d377 Add missing metadata to iced_graphics subcrate 2020-11-26 15:57:55 +01:00
Héctor Ramón Jiménez
7de72d6a27 Update READMEs of subcrates 2020-11-26 07:40:00 +01:00
Héctor Ramón Jiménez
278d40d8c6 Reduce size of foundations graph in ECOSYSTEM 2020-11-26 07:24:55 +01:00
Héctor Ramón Jiménez
11798dcc03 Update graphs in crate docs 2020-11-26 07:22:03 +01:00
Héctor Ramón Jiménez
0525d76ff9 Reduce size of graphs in README and ECOSYSTEM 2020-11-26 07:10:34 +01:00