| 402 | } |
| 403 | |
| 404 | bool GetSafeArea(HWindow window, WindowSafeArea* out) |
| 405 | { |
| 406 | SetSafeAreaFull(window, out); |
| 407 | |
| 408 | #if defined(ANDROID) |
| 409 | if (GetSafeAreaAndroid(window, out)) |
| 410 | { |
| 411 | return true; |
| 412 | } |
| 413 | #elif defined(DM_PLATFORM_IOS) |
| 414 | if (GetSafeAreaiOS(window, out)) |
| 415 | { |
| 416 | return true; |
| 417 | } |
| 418 | #endif |
| 419 | |
| 420 | return true; |
| 421 | } |
| 422 | |
| 423 | static int WindowStateToGLFW(WindowState state) |
| 424 | { |
nothing calls this directly
no test coverage detected