Display: add safeArea property

display.safeArea is a subset of display.bounds that accounts for notches, holes, or other display cutouts.
This commit is contained in:
Josh Tynjala
2025-01-30 15:55:47 -08:00
parent 70efb2a4ec
commit af2299670f
8 changed files with 144 additions and 15 deletions

View File

@@ -315,6 +315,8 @@
<file name="src/system/CFFI.cpp" />
<file name="src/system/CFFIPointer.cpp" />
<file name="src/system/ClipboardEvent.cpp" />
<file name="src/system/Display.mm" if="mac || ios" />
<file name="src/system/Display.cpp" unless="mac || ios" />
<file name="src/system/DisplayMode.cpp" />
<file name="src/system/JNI.cpp" if="android" />
<file name="src/system/Locale.cpp" unless="mac || ios" />