Commit graph

3673 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
5bc7cbf5bc
Use subpixel glyph positioning and layout linearity
... for offsetting and scaling text
2023-06-20 06:50:36 +02:00
Héctor Ramón Jiménez
8ae4e28013
Fix outdated release version in BUG-REPORT.yml 2023-06-16 16:23:57 +02:00
Héctor Ramón
1726b523d5
Merge pull request #1918 from iced-rs/update/glyphon-and-cosmic-text
Update `glyphon` and `cosmic-text`
2023-06-16 16:16:19 +02:00
Héctor Ramón
e7e2b7b711
Merge pull request #1917 from JonathanLindsey/subscription_channel_FnOnce
Make the subscription::channel function take a FnOnce non Sync closure
2023-06-16 16:08:53 +02:00
Héctor Ramón Jiménez
0c65936664
Update glyphon and cosmic-text 2023-06-16 15:50:03 +02:00
Bingus
93673836cd
Fixed documentation 2023-06-14 11:45:29 -07:00
Héctor Ramón
267dbf34e9
Merge pull request #1719 from tarkah/feat/nested-overlay
Nested overlays
2023-06-14 20:32:45 +02:00
Bingus
d955b3444d
Replaced offscreen_blit.wgsl with existing blit.wgsl. 2023-06-14 11:10:09 -07:00
Héctor Ramón Jiménez
9803b276ad
Fix cursor availability in overlay::Nested::draw 2023-06-14 11:27:42 +02:00
Héctor Ramón Jiménez
87db76a11f
Make overlay::Menu publish messages on selection 2023-06-14 11:25:05 +02:00
Cory Forsstrom
b0205e03d8
Use nested for lazy widgets 2023-06-14 11:03:41 +02:00
Cory Forsstrom
4de6ee6fa1
Cursor availability during on_event 2023-06-14 10:47:31 +02:00
Cory Forsstrom
83140d6049
Remove interior mutability
Nested doesn't need to implement Overlay trait, it can be be used
mutably in user interface so we don't need interior mutability.
2023-06-14 10:43:24 +02:00
Cory Forsstrom
3e6f6eedcb
Use layout with children for nesting 2023-06-14 10:37:51 +02:00
Cory Forsstrom
12c623f35b
Cursor availability by layer 2023-06-14 10:15:52 +02:00
Cory Forsstrom
d4bb7c0b24
Remove unwraps in overlay::Nested and fix mouse_interaction 2023-06-14 10:08:48 +02:00
Cory Forsstrom
1ce047cdb3
Prioritize mouse interaction of deepest Overlay 2023-06-14 09:35:06 +02:00
Cory Forsstrom
f44d429283
Render nested in layer 2023-06-14 09:28:09 +02:00
Cory Forsstrom
f608056c50
Add nested picklist to modal example 2023-06-14 09:27:28 +02:00
Cory Forsstrom
0a56ffb5d6
Add nested overlay method to group & map 2023-06-14 09:25:57 +02:00
Cory Forsstrom
55dc3b5619
Introduce internal overlay::Nested for UserInterface 2023-06-14 09:25:30 +02:00
Héctor Ramón
329fbc7b21
Merge pull request #1910 from tarkah/fix/scrollable-scroll-wheel
Only scroll w/ wheel if over scrollable
2023-06-13 03:37:57 +02:00
Cory Forsstrom
38da953583
Only scroll w/ wheel if over scrollable 2023-06-12 13:15:11 -07:00
Jonathan Lindsey
fcf9062679 Make the subscription::channel function take a FnOnce closure instead of a Fn closure and remove Sync as a requirement for its output. 2023-06-10 21:52:26 -05:00
Héctor Ramón
60cd864d43
Merge pull request #1904 from iced-rs/cursor-availability
Cursor availability
2023-06-09 21:53:54 +02:00
Nick Senger
290b47f312 refactor: remove unnecessary canvas complexity 2023-06-09 11:03:52 -07:00
Nick Senger
9d69af10cc comment: fix typo 2023-06-08 20:09:10 -07:00
Héctor Ramón Jiménez
27639c4ce6
Fix mouse interactions in Scrollable 2023-06-08 21:03:24 +02:00
Héctor Ramón Jiménez
733c2bd9f5
Use mouse::Cursor in integration example 2023-06-08 20:45:48 +02:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level 2023-06-08 20:35:40 +02:00
Héctor Ramón Jiménez
57db196c3a
Increase width of controls in pane_grid example 2023-06-08 20:23:47 +02:00
Héctor Ramón Jiménez
5c8cfb411e
Take Rectangle by value in Cursor API 2023-06-08 20:16:46 +02:00
Héctor Ramón Jiménez
34451bff18
Implement basic cursor availability 2023-06-08 20:11:59 +02:00
Bingus
af099fa6d7
Added in check for web-colors. 2023-06-08 10:29:38 -07:00
Bingus
05e238e9ed
Adjusted offscreen pass to be a render pass vs compute for compat with web-colors flag. 2023-06-08 10:10:26 -07:00
Nick Senger
0148cfc82b fix: RedrawRequest::NextFrame -> RedrawRequest::At() 2023-06-08 07:51:32 -07:00
Nick Senger
56eacdb358 comment: cleanup imports 2023-06-08 07:47:57 -07:00
Nick Senger
204c9d6f52 fix: rotation in terms of duration 2023-06-07 16:48:11 -07:00
Nick Senger
2ebc923197 feat: use lyon for easing 2023-06-07 15:42:13 -07:00
Nick Senger
cdfb8b3068 feat: add progress indicators example 2023-06-07 11:57:49 -07:00
Bingus
677f564f08
Switched to packing using f16s to maintain acceptable precision. 2023-06-07 11:18:26 -07:00
Bingus
9554c78f3a
Updated color packing into u32 to consider incorrect web-colors. 2023-06-06 17:24:26 -07:00
Héctor Ramón Jiménez
226ce3d6c9
Implement explicit Color::into_u32 instead of Into trait 2023-06-06 16:46:23 -07:00
Bingus
ea7f2626b1
Optimized gradient data packing. 2023-06-06 16:46:20 -07:00
Héctor Ramón Jiménez
78c0189824
Fix width of crop labels in screenshot example (again) 2023-06-06 16:36:20 +02:00
Héctor Ramón Jiménez
38582873b7
Rearrange controls of the screenshot example 2023-06-06 16:32:14 +02:00
Héctor Ramón Jiménez
5b5000e3ae
Introduce on_press_maybe helper for Button 2023-06-06 16:18:20 +02:00
Héctor Ramón Jiménez
5324928044
Wrap Screenshot::bytes in an Arc and implement AsRef<[u8]> 2023-06-06 16:14:42 +02:00
Héctor Ramón Jiménez
7adfaa88a6
Avoid iced_image import in screenshot example 2023-06-06 16:05:46 +02:00
Héctor Ramón Jiménez
c1021c7175
Fix punctuation in screenshot example 2023-06-06 15:59:56 +02:00