Add Occluded and MemoryWarning events for iOS/Android
Hook `Occluded` event to foreground/background evens on iOS. This commit also enabled the `MemoryWarning` event, since it's emitted from the windowing system. Co-authored-by: Dusty DeWeese <dustin.deweese@gmail.com> Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
parent
1ea41a2ee2
commit
93f1000a05
4 changed files with 80 additions and 8 deletions
|
|
@ -95,6 +95,9 @@ And please only add new entries to the top of this list, right below the `# Unre
|
|||
- On X11, add a `with_embedded_parent_window` function to the window builder to allow embedding a window into another window.
|
||||
- On iOS, add force data to touch events when using the Apple Pencil.
|
||||
- On Android, add force data to touch events.
|
||||
- On iOS, send events `WindowEvent::Occluded(false)`, `WindowEvent::Occluded(true)` when application enters/leaves foreground.
|
||||
- on iOS, add event `Event::MemoryWarning`.
|
||||
- On Android, add event `Event::MemoryWarning`.
|
||||
|
||||
# 0.29.0-beta.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue