#include <cstring>
#include <cstdlib>
+#include <android/window.h>
#include <msp/fs/dir.h>
#include <msp/fs/path.h>
#include <msp/fs/utils.h>
activity->callbacks->onInputQueueCreated = &input_queue_created;
activity->callbacks->onInputQueueDestroyed = &input_queue_destroyed;
activity->instance = this;
+
+ set_window_flags(AWINDOW_FLAG_FULLSCREEN, 0);
}
void MainThread::wait_for_app_created()
}
}
+void MainThread::set_window_flags(unsigned set, unsigned clear)
+{
+ ANativeActivity_setWindowFlags(activity, set, clear);
+}
+
void MainThread::main()
{
/* I have no idea how dependable this is, but it seems to be the only way
AAssetManager *get_asset_manager() const { return asset_manager; }
const FS::Path &get_internal_data_path() const { return int_data_path; }
+ void set_window_flags(unsigned, unsigned);
+
private:
virtual void main();