2025-08-02 19:28:30 +00:00
|
|
|
package funkin.external.ios;
|
2025-04-14 16:22:37 +00:00
|
|
|
|
2025-08-02 19:59:22 +00:00
|
|
|
#if ios
|
2025-01-19 07:02:30 +00:00
|
|
|
/**
|
|
|
|
* A Utility class to get iOS screen related informations.
|
|
|
|
*/
|
2025-08-02 19:28:30 +00:00
|
|
|
@:build(funkin.util.macro.LinkerMacro.xml('project/Build.xml'))
|
2025-07-10 15:04:09 +00:00
|
|
|
@:include('ScreenUtil.hpp')
|
2025-04-14 16:22:37 +00:00
|
|
|
@:unreflective
|
2025-07-10 15:04:09 +00:00
|
|
|
extern class ScreenUtil
|
2025-04-14 16:22:37 +00:00
|
|
|
{
|
|
|
|
@:native('getSafeAreaInsets')
|
|
|
|
static function getSafeAreaInsets(top:cpp.RawPointer<Float>, bottom:cpp.RawPointer<Float>, left:cpp.RawPointer<Float>, right:cpp.RawPointer<Float>):Void;
|
2025-07-09 09:02:55 +00:00
|
|
|
|
2025-04-19 09:06:57 +00:00
|
|
|
@:native('getScreenSize')
|
|
|
|
static function getScreenSize(width:cpp.RawPointer<Float>, height:cpp.RawPointer<Float>):Void;
|
2025-04-14 16:22:37 +00:00
|
|
|
}
|
2025-08-02 19:59:22 +00:00
|
|
|
#end
|