6#include <game-activity/native_app_glue/android_native_app_glue.h>
21 Window(ANativeWindow* androidWindow);
32 Window(
unsigned int width,
unsigned int height,
bool fullscreen =
false,
bool borderless =
false,
const char* title =
"",
bool noAPI =
false);
44 void SetSize(
const glm::uvec2& size);
50 const glm::uvec2&
GetSize()
const;
83 ANativeWindow* GetAndroidWindow();
96 ANativeWindow* window;
102 bool shouldClose =
false;
Definition: Window.hpp:14
Window(unsigned int width, unsigned int height, bool fullscreen=false, bool borderless=false, const char *title="", bool noAPI=false)
Create new window.
Definition: Window.cpp:31
~Window()
Destructor.
Definition: Window.cpp:64
void SetWindowMode(bool fullscreen, bool borderless) const
Set window mode.
Definition: Window.cpp:99
void Update()
Update.
Definition: Window.cpp:79
bool ShouldClose() const
Get whether the window should close.
Definition: Window.cpp:86
const glm::uvec2 & GetSize() const
Get the size of the window.
Definition: Window.cpp:75
void GetWindowMode(bool &fullscreen, bool &borderless) const
Get window mode.
Definition: Window.cpp:112
void CancelClose()
Cancel the closing of the window.
Definition: Window.cpp:90
GLFWwindow * GetGLFWWindow()
Get the GLFW window.
Definition: Window.cpp:127
void SetSize(const glm::uvec2 &size)
Set the size of the window.
Definition: Window.cpp:71
Definition: ResourceView.hpp:12