Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉
2023-07-28 19:48:39 +02:00
Cory Forsstrom
2a05ef9601
Don't clip raw overlay bounds
...
User interface wraps the overlay in `overlay::Nested`.
Clipping here w/ the base Nested overlay always clipped
at (0, 0) position instead of the correct position of
the child overlay. It's clipped properly already within
`Nested::draw`.
2023-07-24 09:26:24 -07:00
Cory Forsstrom
42c423b4a8
Add viewport to Widget::on_event
2023-07-15 10:04:25 -07:00
Héctor Ramón
7f805bc5dd
Merge pull request #1927 from thunderstorm010/master
...
Add command to retrieve window size
2023-07-06 07:00:15 +02:00
Héctor Ramón Jiménez
f350a2f812
Add fetch_size helper to runtime::window
2023-07-06 06:44:09 +02:00
Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions
2023-07-06 06:41:28 +02:00
Héctor Ramón
a057f8811b
Merge pull request #1938 from iced-rs/text-cache-modes
...
Text cache modes
2023-06-30 19:10:41 +02:00
Héctor Ramón Jiménez
cdce03cf7f
Revert "Remove layout method from core::Renderer trait"
...
This reverts commit 2128472c2a .
2023-06-29 18:17:18 +02:00
Héctor Ramón
949eca3eb8
Merge pull request #1913 from Drakulix/feature/runtime-state-operate
...
runtime: Handle widget operations in `program::State` helper
2023-06-29 10:23:52 +02:00
Héctor Ramón Jiménez
af4d65c428
Keep imports consistent in program::state
2023-06-29 08:15:30 +02:00
Héctor Ramón Jiménez
ae2709f2c4
Take Box instead of reference in State::operate
2023-06-29 08:14:44 +02:00
Héctor Ramón Jiménez
2128472c2a
Remove layout method from core::Renderer trait
2023-06-29 07:18:24 +02:00
Victoria Brekenfeld
4b831a917d
runtime: Add operate method to program::State
2023-06-28 18:51:14 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
...
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module
2023-06-27 19:41:03 +02:00
Yiğit Özdemir
b394c84b37
Add FetchSize command - apply the changes discussed at #water-cooler
2023-06-22 18:28:32 +03:00
Yiğit Özdemir
21a71b753d
Add command to retrieve window size
2023-06-21 19:43:20 +03:00
Héctor Ramón Jiménez
716bf09923
Fix translation in layout of Nested overlay
2023-06-21 01:43:25 +02:00
Héctor Ramón Jiménez
9803b276ad
Fix cursor availability in overlay::Nested::draw
2023-06-14 11:27:42 +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
55dc3b5619
Introduce internal overlay::Nested for UserInterface
2023-06-14 09:25:30 +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
34451bff18
Implement basic cursor availability
2023-06-08 20:11:59 +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
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command.
2023-06-06 15:37:30 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level
2023-05-25 23:18:50 +02:00
Héctor Ramón Jiménez
cf434236e7
Enable doc_auto_cfg when generating documentation
2023-05-11 17:28:51 +02:00
Héctor Ramón Jiménez
63d3fc6996
Remove OpenGL mentions in READMEs
2023-05-11 16:05:36 +02:00
Héctor Ramón Jiménez
de638f44a5
Write missing documentation in iced_wgpu
2023-05-11 15:37:56 +02:00
Héctor Ramón Jiménez
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
99e0a71504
Rename iced_native to iced_runtime
2023-03-05 06:35:20 +01:00