Modules/Graphics/public/AndroidEntry.hpp
Шурупов Илья Викторович 5817d4e7bf Add an Android window
AndroidWindow implements the platform window on native_app_glue: it
follows the window lifecycle, scales by screen density, delivers touch,
pen, mouse, scroll and keyboard input with pressure, tilt and batched
history, shows the soft keyboard for text fields, and keeps a local
clipboard. runAndroidApplication unpacks bundled assets into the app's
data directory and runs an application entry from android_main. The
Graphics window library, ImGui and native_app_glue now build for
Android.
2026-10-17 09:19:48 +03:00

12 lines
218 B
C++

#pragma once
struct android_app;
namespace tp {
using AndroidMain = int (*)();
void runAndroidApplication(
android_app* app, AndroidMain main, const char* const* assetDirectories, int assetDirectoryCount
);
}