Modules/Graphics/private/android/AndroidPlatform.hpp
Шурупов Илья Викторович 67a86dea2d Use the whole window in the studio layout
The window now extends into the display cutout and the top bars sit at
the top edge with the gap fixed at the screen center. Top buttons are at
most 0.8 of the bottom bar buttons. The cutout query is removed again.
2026-10-18 22:24:25 +03:00

20 lines
481 B
C++

#pragma once
#include "PlatformInfo.hpp"
#include <string>
struct android_app;
struct AInputEvent;
namespace tp::android {
[[nodiscard]] android_app* application();
void setApplication(android_app* app);
[[nodiscard]] std::string unicodeText(android_app& app, const AInputEvent* event);
void setSoftKeyboardVisible(android_app& app, bool visible);
[[nodiscard]] EdgeInsets systemInsets(android_app& app);
void extractAssets(android_app& app, const char* directory);
}