Commit graph

118 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs 2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02:00
Héctor Ramón Jiménez
12c1a3f829
Remove redundant widget modules in subcrates
Instead, we can define the type aliases just once in the root crate!
2022-03-09 14:10:15 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord 2022-01-31 21:18:39 +07:00
Kai Mast
f3fb00f838
Use glow_glyp in opengl_integration example 2022-01-28 21:37:16 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Richard
424e1d3fda Add Shader and Version
to simplify and constrain `program::create`
2022-01-19 22:08:41 -03:00
Richard
46fb27b104 Update documentation for built-in renderers 2022-01-19 17:40:17 -03:00
Richard
01f67a2c1f Export glow in iced_glow 2022-01-19 17:40:17 -03:00
Richard
e31566d430 Improve shader version selection 2022-01-19 17:40:17 -03:00
Richard
94bb03c33c Log debugging info 2022-01-19 17:40:17 -03:00
Richard
381052c50e Split quad::Pipeline into core and compatibility 2022-01-19 17:40:17 -03:00
Richard
3c5ab30117 Use glutin, glow and glow_glyph forks 2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
998a04645d
Use commit hash in html_logo_url 2021-12-09 15:10:38 +07:00
daladim
d72b1493e0
Added icon in docs 2021-12-09 15:05:41 +07:00
Héctor Ramón Jiménez
8be1ba76d8
Make program module in iced_glow private 2021-11-05 17:08:35 +07:00
Héctor Ramón Jiménez
9fe65ed729
Rename Renderer::present to with_primitives 2021-11-05 15:38:27 +07:00
Héctor Ramón Jiménez
c9ed15782c
Introduce state lifetime for style_sheet in Toggler 2021-10-31 17:48:23 +07: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
b3a01973c6
Introduce first-class text module in iced_native 2021-10-31 16:14:38 +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
f625797392
Implement Widget::draw for Rule 2021-10-28 18:05:26 +07:00
Héctor Ramón Jiménez
e42e1e2f57
Implement Widget::draw for ProgressBar 2021-10-28 18:04:27 +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
7c08c6bd13
Remove Renderer trait for Checkbox 2021-10-21 18:50:27 +07:00
Héctor Ramón Jiménez
d39ad717ed
Wire up styling to Radio in iced_native 2021-10-20 19:18:40 +07:00
Héctor Ramón Jiménez
11bcb13427
Wire up styling to Slider in iced_native 2021-10-20 15:50:42 +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
c914b2a05b
Use Iterator::min_by instead of fold in hit_test 2021-09-15 15:08:35 +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
Ildar Akhmetgaleev
666f676d7c Fix window holes behind transparent objects
Without this change, the transparent objects composed over the opaque
background creates the transparency of the entire window through which
the desktop wallpaper could be seen.
This problem manifested itself with glow backend and wayland compositor
(gnome).

This patch completely eliminates this problem. With it, the final image
produced by glow backend corresponds to the image produced by the wgpu
backend.

Fixes #1018
2021-09-02 21:18:12 +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
Tamás Szelei
a646b11109
Add integration_gl example 2021-08-13 20:10:39 +07:00
Héctor Ramón
a2b1ba522a
Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithread
feat: expose draw_cache_multithread as a feature
2021-07-22 18:39:37 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings 2021-07-22 18:27:33 +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
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3 2021-06-14 21:01:37 +03:00
Yusuf Bera Ertan
6469e463cd
feat: expose draw_cache_multithread 2021-06-14 18:06:28 +03:00
Kaiden42
bab71971fb fix format 2021-06-03 20:21:55 +07:00
Kaiden42
88da268724 add missing glow support 2021-06-03 20:21:53 +07:00
Héctor Ramón Jiménez
0864e63bde Bump versions 🎉 2021-03-31 20:07:17 +02:00
Héctor Ramón Jiménez
883c7e71ae Introduce internal_backend to iced_wgpu::Settings 2021-03-25 11:29:40 +01:00
Héctor Ramón
a5fddf9ee6
Merge pull request #465 from yusdacra/tooltip-widget
Tooltip widget
2021-02-24 01:42:08 +01:00
Héctor Ramón Jiménez
9d4996cbab Export Tooltip in iced_glow 2021-02-23 03:18:47 +01:00
Héctor Ramón Jiménez
ec20763aef Use string literal as panic message in iced_glow 2021-02-16 00:04:36 +01:00