Commit graph

4705 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
927c3a8caa
Reuse text_bounds in text_input::layout 2023-04-11 05:59:20 +02:00
Héctor Ramón Jiménez
45015e37d4
Fix current step in tour 2023-04-11 05:57:31 +02:00
Héctor Ramón Jiménez
aa0be30656
Move ICON_FONT constant in tour to text_input helper 2023-04-11 05:57:01 +02:00
Héctor Ramón Jiménez
c794d8ba78
Collapse Font import in tour example 2023-04-11 05:56:34 +02:00
Héctor Ramón Jiménez
cf9d8e0104
Rename IconPosition to Side in text_input 2023-04-11 05:54:51 +02:00
Héctor Ramón Jiménez
57265ff211
Move Icon definitions after Widget implementation 2023-04-11 05:53:22 +02:00
Héctor Ramón Jiménez
870b2fe513
Derive Debug for text_input::Icon 2023-04-11 05:48:12 +02:00
Héctor Ramón Jiménez
9852b4b364
Move Icon layout logic to layout in text_input
Also add `Icon::spacing` field.
2023-04-11 05:46:14 +02:00
Héctor Ramón Jiménez
0e2fc99eb8
Use f32 for Icon::size and remove unnecessary conversions 2023-04-11 05:13:56 +02:00
Casper Storm
898307e9ac
Removed text_input example in favor for Tour 2023-04-11 05:11:23 +02:00
Casper Storm
d24a4a4689
Changed Handle to Icon to be consistent 2023-04-11 05:11:23 +02:00
Casper Storm
bfc5db9009
Updated handle_color for focused state 2023-04-11 05:11:23 +02:00
Casper Storm
7b36984295
feat: added handle to text_input 2023-04-11 05:11:19 +02:00
Héctor Ramón Jiménez
d206b82ebb
Update glyphon 2023-04-08 07:35:16 +02:00
Héctor Ramón Jiménez
ba07abe5c8
Expand bounds of Text primitives a bit further 2023-04-08 07:08:03 +02:00
Héctor Ramón Jiménez
c2249d2506
Fix copy-pasted panic description in iced_renderer 2023-04-08 06:45:44 +02:00
Héctor Ramón Jiménez
42b2e9b007
Support ICED_BACKEND environment variable 2023-04-08 06:44:46 +02:00
Héctor Ramón Jiménez
1872f7fa6d
Use *_from_env helpers from wgpu in iced_wgpu 2023-04-08 06:14:25 +02:00
Héctor Ramón Jiménez
16e6efe020
Use pixels for presentation in iced_tiny_skia when possible 2023-04-08 05:58:27 +02:00
Héctor Ramón Jiménez
3ee367355d
Merge branch 'advanced-text' into incremental-rendering 2023-04-08 04:47:54 +02:00
Héctor Ramón Jiménez
c0431aedd3
Update wgpu and cosmic-text 2023-04-08 04:47:05 +02:00
Héctor Ramón
931b30dc5a
Merge pull request #1779 from Davidster/remove_colons_from_shader_labels
remove colons from shader labels
2023-04-07 06:26:26 +02:00
Héctor Ramón
415dbde01e
Merge pull request #1782 from bq-wrongway/master
Updating Roadmap.md
2023-04-07 06:04:36 +02:00
bq_wrongway
15125c23f1
Updating Roadmap.md
I collapsed Animations because the underlying issue was resolved, and i added issue #343 to 3D Canvas widget
2023-04-05 20:00:25 +02:00
Héctor Ramón Jiménez
940a47eafd
Revert "Use softbuffer fork with owned pixel buffer"
This reverts commit 92d61e5c59.

The owned pixel buffer zeroes the data in some platforms. `softbuffer`
will need some first-class support for damage regions.
2023-04-05 19:30:07 +02:00
Héctor Ramón Jiménez
92d61e5c59
Use softbuffer fork with owned pixel buffer 2023-04-05 19:23:48 +02:00
Héctor Ramón Jiménez
e134a82f4c
Switch debug mode to fade old primitives and display damage in iced_tiny_skia 2023-04-05 18:42:27 +02:00
Héctor Ramón Jiménez
4ede482ab5
Present new frame only when damaged in iced_tiny_skia 2023-04-05 18:41:40 +02:00
Héctor Ramón Jiménez
1bba9a080f
Fix Svg and Image primitives in iced_tiny_skia 2023-04-05 05:49:30 +02:00
Héctor Ramón Jiménez
4cae262d22
Implement PartialEq and Eq for image::Bytes 2023-04-05 05:47:29 +02:00
Héctor Ramón Jiménez
f8cd1faa28
Group damage regions by area increase 2023-04-05 05:40:44 +02:00
Héctor Ramón Jiménez
6270c33ed9
Keep playing with incremental rendering (still very slow) 2023-04-04 20:47:53 +02:00
Héctor Ramón Jiménez
0f7abffc0e
Draft (very) basic incremental rendering for iced_tiny_skia 2023-04-04 02:08:02 +02:00
Héctor Ramón Jiménez
6fae8bf6cb
Implement Frame::clip for iced_tiny_skia 2023-04-04 01:56:56 +02:00
Héctor Ramón Jiménez
04c0ba04bf
Warn about invalid paths in iced_tiny_skia instead of panicking 2023-04-04 01:56:50 +02:00
David Huculak
703484c5fd remove colons from shader labels 2023-04-01 16:10:28 -04:00
Jacob Kiesel
cb78dc548b re-expose winit features for window servers in Linux 2023-03-31 20:37:09 -06:00
Héctor Ramón Jiménez
0b459c8e24
Introduce font::Stretch 2023-03-30 02:01:20 +02:00
Héctor Ramón Jiménez
707de9d788
Introduce support for Font attributes 2023-03-30 00:56:00 +02:00
Héctor Ramón Jiménez
472fbdf187
Export Hasher in advanced module 2023-03-29 20:32:36 +02:00
Héctor Ramón Jiménez
703ef71029
Export Pixels in root crate 2023-03-29 00:19:20 +02:00
Héctor Ramón Jiménez
6d90f764b4
Export iced_graphics in advanced module (for now) 2023-03-29 00:19:12 +02:00
Héctor Ramón Jiménez
2e236869f5
Export iced_core::mouse in advanced module 2023-03-29 00:17:12 +02:00
Héctor Ramón
4e409bb383
Merge pull request #1669 from GyulyVGC/master
Added scrollable style `focused` to be displayed when mouse is over the scrollable area
2023-03-27 16:17:02 +02:00
Héctor Ramón Jiménez
dcccf7064d
Fix inconsistency in default implementation of scrollable::StyleSheet 2023-03-27 15:57:51 +02:00
Héctor Ramón Jiménez
c407b4504c
Introduce is_mouse_over_scrollbar to StyleSheet::hovered for Scrollable 2023-03-27 15:51:32 +02:00
Giuliano Bellini s294739
c337bf297d renamed scrollable styles 2023-03-25 01:05:56 +01:00
Héctor Ramón
b74ff9f1ca
Merge pull request #1754 from nicksenger/optimization/component
[Optimization] Reduce unnecessary `Component` rebuilds
2023-03-23 12:00:37 +01:00
Héctor Ramón
be36c3f552
Merge pull request #1765 from traxys/fixup_wasm_replace
winit: Fix replacement of node in wasm
2023-03-23 11:31:59 +01:00
traxys
0231ed6f1d winit: Fix replacement of node in wasm
Replacing a node ends up with the following error:
Node.replaceChild: Child to be replaced is not a child of this node

It seems that Node.replaceChild is not recommended, and instead
Element.replaceWith should be preferred. Using it avoids the panic.
2023-03-20 00:20:45 +01:00