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
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
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
Héctor Ramón Jiménez
d8c3982160
Update ROADMAP
2020-11-26 06:49:42 +01:00
Héctor Ramón Jiménez
a9ea921383
Update ECOSYSTEM
2020-11-26 06:43:37 +01:00
Héctor Ramón Jiménez
ebe34b03cb
Update README
2020-11-26 06:43:29 +01:00
Héctor Ramón
50a1f78996
Merge pull request #527 from rubik83/master
...
Account for empty ranges in `Slider` and `ProgressBar`
2020-11-26 03:51:07 +01:00
Héctor Ramón Jiménez
c23136a5df
Account for empty ranges in Slider and ProgressBar
2020-11-26 03:33:08 +01:00
rubik83
955b62ea2d
fix slider handle_offset formula
...
change :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
2020-11-26 03:09:46 +01:00
rubik83
9991a89428
fix active_progress_width formula
...
change :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(1.0))
to :
let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
2020-11-26 03:09:46 +01:00
Héctor Ramón
1f7e8b7f3d
Merge pull request #632 from hecrj/improvement/update-docs
...
Use intra-doc links
2020-11-26 02:52:34 +01:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
d612bf5678
Rename keyboard::ModifiersState to Modifiers
2020-11-26 02:05:42 +01:00
Héctor Ramón Jiménez
08e0b9ffbd
Fix broken links in API documentation
2020-11-26 01:59:20 +01:00
Héctor Ramón
bffaeed9fd
Merge pull request #634 from myfreeweb/graphics-license
...
Add license to iced-graphics' Cargo.toml
2020-11-25 21:30:39 +01:00
Greg V
775c1c5873
Add license to iced-graphics' Cargo.toml
2020-11-25 23:02:50 +03:00
Héctor Ramón
18aa14c7bb
Merge pull request #605 from ZakisM/text_input_select_all_fix
...
This PR fixes a bug with select all (CMD + A on MacOS) when using a text_input.
2020-11-25 19:50:24 +01:00
Héctor Ramón
87c9df294c
Merge pull request #595 from valbendan/master
...
upgrade tokio to latest version(v0.3)
2020-11-25 04:24:44 +01:00
Héctor Ramón Jiménez
1d23db1866
Track keyboard modifiers in text_input
2020-11-25 04:10:23 +01:00
Zak
d275a4ed32
This PR fixes a bug with select all (CMD + A on MacOS) when using a text_input.
...
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...).
2020-11-25 03:57:18 +01:00
Héctor Ramón Jiménez
782dd2f522
Introduce tokio_old feature
...
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
Héctor Ramón
8f081bad77
Merge pull request #629 from hecrj/wgpu-present-mode-setting
...
Add `present_mode` field to `iced_wgpu::Settings`
2020-11-24 00:17:59 +01:00
Héctor Ramón
556cf24b95
Merge pull request #627 from hecrj/fix/canvas-rotation
...
Fix backwards `Frame::rotate` in `canvas`
2020-11-24 00:17:46 +01:00
Héctor Ramón
5615643c52
Merge pull request #628 from hecrj/improvement/float-border-radius
...
Use `f32` for `border_width` and `border_radius`
2020-11-24 00:17:30 +01:00
Héctor Ramón Jiménez
1916755b6b
Limit border radius to max dimension in quad pipeline
2020-11-23 00:43:59 +01:00
Héctor Ramón Jiménez
f41eacc3dc
Use f32 for border_width and border_radius
2020-11-23 00:31:50 +01:00
Héctor Ramón Jiménez
0f00d14297
Add present_mode field to iced_wgpu::Settings
2020-11-23 00:00:13 +01:00
Héctor Ramón Jiménez
77c7ad1fef
Fix backwards Frame::rotate in canvas
...
The angle direction has been fixed upstream in `euclid` (see
https://github.com/servo/euclid/pull/413 ).
2020-11-22 11:05:08 +01:00
Héctor Ramón
ea1a7248d2
Merge pull request #622 from hecrj/feature/qr_code-widget
...
`QRCode` widget
2020-11-20 23:33:51 +01:00
Héctor Ramón Jiménez
f259d44186
Implement qr_code example
2020-11-20 10:29:40 +01:00
Héctor Ramón Jiménez
3296be845c
Implement QRCode widget
2020-11-20 10:29:33 +01:00
Héctor Ramón Jiménez
209056e1cd
Fix deprecation warnings from image
2020-11-20 10:29:11 +01:00
Héctor Ramón
1af6fb3ec0
Merge pull request #620 from hecrj/fix/trackpad-text-input-selection
...
Disable dragging in `TextInput` after double click
2020-11-20 00:33:48 +01:00