30 if (savedState !=
nullptr) {
33 std::memcpy(
_savedState, savedState, savedStateSize);
static void * onSaveInstanceState(ANativeActivity *activity, size_t *outSize)
int main(int argc, const char *argv[])
static void onNativeWindowCreated(ANativeActivity *activity, ANativeWindow *window)
static void onInputQueueDestroyed(ANativeActivity *activity, AInputQueue *queue)
static void onStart(ANativeActivity *activity)
static void onNativeWindowDestroyed(ANativeActivity *activity, ANativeWindow *window)
static void onDestroy(ANativeActivity *activity)
static void onInputQueueCreated(ANativeActivity *activity, AInputQueue *queue)
void shutdowApplication()
static void onConfigurationChanged(ANativeActivity *activity)
static void onNativeWindowRedrawNeeded(ANativeActivity *activity, ANativeWindow *window)
static ANativeWindow * nativeWindow
static void onWindowFocusChanged(ANativeActivity *activity, int hasFocus)
Type type
The type of the event.
static void onNativeWindowResized(ANativeActivity *activity, ANativeWindow *window)
static std::queue< lug::Window::Event > events
static AInputQueue * inputQueue
void ANativeActivity_onCreate(ANativeActivity *activity, void *savedState, size_t savedStateSize)
static ANativeActivity * activity
static void onPause(ANativeActivity *activity)
static void onResume(ANativeActivity *activity)
static void onLowMemory(ANativeActivity *activity)
static void onContentRectChanged(ANativeActivity *activity, const ARect *rect)
AndroidApp(ANativeActivity *activity, void *savedState, size_t savedStateSize)
static std::condition_variable cv
static void onStop(ANativeActivity *activity)
static std::mutex androidMutex