36 void CreateAppWindow(
unsigned int width,
unsigned int height,
const std::string& title)
override;
69 bool mFramebufferResized;
Defines a generic application interface for rendering-based programs.
Abstract interface for platform-specific window management.
bool ShouldClose() const override
Checks whether the user has requested to close the window.
StandaloneDesktopWindow(IApplication &app)
Constructs a desktop window system instance.
void CreateAppWindow(unsigned int width, unsigned int height, const std::string &title) override
Creates the main application window.
const IApplication & GetApplication() override
Retrieves a reference to the owning application instance.
void ResetFramebufferResizedFlag() override
Resets the framebuffer resized flag after handling a resize event.
void PollEvents() override
Polls and processes OS-level window events (input, resize, close, etc.).
WindowResolution GetFullScreenResolution() const override
Queries the resolution of the full-screen display mode.
void Shutdown() override
Performs cleanup and releases window-related resources.
static void FramebufferResizeCallback(GLFWwindow *window, int width, int height)
GLFW framebuffer resize callback.
void * GetNativeHandle() const override
Returns a pointer to the underlying native window handle.
bool IsFramebufferResized() const override
Checks if the framebuffer has been resized since the last frame.
Represents the pixel resolution of a window or display.