Héctor Ramón Jiménez
0a23f518c7
Remove redundant features in iced_wgpu and iced_glow
2022-11-05 03:26:19 +01:00
Héctor Ramón Jiménez
8ce8d374b1
Refactor some image traits a bit
...
- Use `Size<u32>` were applicable.
- Rename `TextureStore` to `image::Storage`.
- Rename `TextureStoreEntry` to `image::storage::Entry`.
- Wire up `viewport_dimensions` to `iced_glow` for `Svg`.
2022-11-05 03:19:38 +01:00
Ian Douglas Scott
5575e6ea08
Add image/svg support to iced_glow
...
https://github.com/iced-rs/iced/issues/674
Uses image/svg support in `iced_graphics`. The is not currently using an
atlas, and uses one texture/draw per image. This should be good enough
for now; supporting images with glow is better than not supporting them,
and if something else performs better, that improvement can be made
without any change to the public API.
2022-11-05 03:19:38 +01:00
Héctor Ramón Jiménez
b957453404
Run cargo fmt
2022-11-03 04:35:16 +01:00
shan
6e7b3ced0b
Reworked wgpu buffers, updated glow side to have proper transform location storage, attempting to fix visibility modifiers, implemented some of the feedback received in initial PR.
2022-10-04 18:24:46 -07:00
shan
40f45d7b7e
Adds linear gradient support to 2D meshes in the canvas widget.
2022-09-29 11:15:35 -07:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs
2022-05-02 20:26:59 +02:00
Richard
424e1d3fda
Add Shader and Version
...
to simplify and constrain `program::create`
2022-01-19 22:08:41 -03:00
Richard
e31566d430
Improve shader version selection
2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
9a3c81f336
Introduce first-class svg module in iced_native
2021-10-31 16:24:31 +07:00
Héctor Ramón Jiménez
c4186a71b7
Introduce first-class image module in iced_native
2021-10-31 16:20:50 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native
2021-10-31 16:14:34 +07:00
Héctor Ramón Jiménez
687c35e052
Avoid flushing empty layers in iced_wgpu and iced_glow
2021-10-25 16:35:34 +07:00
Héctor Ramón Jiménez
3a0c503db9
Implement Widget::draw for Text
2021-10-14 17:00:38 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native
2021-10-14 16:07:22 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
643500bbdf
Use Option to encode empty text case in hit test methods
2021-09-15 14:49:13 +07:00
Héctor Ramón Jiménez
7614127d36
Rename HitTestResult to Hit
...
... and also move it to a new `text` module in `iced_core`
2021-08-26 14:41:33 +07:00
Tom
aa63841e2c
Implement textual hit testing
2021-08-21 10:31:26 -07:00
Héctor Ramón Jiménez
217f5be827
Add text_multithreading to Settings in iced_glow and iced_wgpu
2021-07-22 18:21:50 +07: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
e29feef8ba
Render arrow icon in ComboBox
2020-07-08 11:05:15 +02:00
Héctor Ramón Jiménez
b3c192a2e4
Make default text size configurable in Settings
2020-06-19 00:16:22 +02:00
Héctor Ramón Jiménez
94af348846
Rename Rectangle::round to snap
...
Also use `ceil` instead of `round`.
Closes #380 .
2020-06-02 04:38:55 +02:00
Héctor Ramón Jiménez
05750bf186
Fix Backend link in iced_glow docs
2020-05-30 03:05:12 +02:00
Héctor Ramón Jiménez
6cb90570a3
Expose Backend in iced_glow
2020-05-30 03:04:16 +02:00
Héctor Ramón Jiménez
823ea15732
Update glyph_brush and glow_glyph
2020-05-27 23:09:27 +02:00
Héctor Ramón Jiménez
1dd79c4697
Use built-in OpenGL multisampling in iced_glow
2020-05-22 19:15:39 +02:00
Héctor Ramón Jiménez
e0e4ee73fe
Implement iced_glutin 🎉
2020-05-21 00:44:35 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
720e7756f2
Move Layer to iced_graphics
2020-05-19 23:19:39 +02:00
Héctor Ramón Jiménez
f0480854a9
Move built-in fonts to iced_graphics
2020-05-19 20:30:46 +02:00
Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00