PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::window_internal::WindowState Struct Reference

Public Attributes

GLFWwindow * window = nullptr
std::string title
unsigned int width = 0
unsigned int height = 0
std::function< void(pixelbullet::core::Event &)> event_callback
std::function< void(uint32_t)> framebuffer_resize_callback
bool fullscreen = false
bool focused = false
glm::ivec2 size { 0, 0 }
glm::ivec2 fullscreen_size { 0, 0 }
glm::ivec2 position { 0, 0 }
glm::vec2 content_scale { 1.0f, 1.0f }
pixelbullet::input::InputState input_state
uint32_t id = 0
bool cursor_capture_requested = false
bool cursor_captured = false
WindowFrameMode frame_mode = WindowFrameMode::SystemDecorated
bool custom_chrome_supported = false
bool custom_chrome_attached = false
WindowChromeLayout custom_chrome_layout {}

The documentation for this struct was generated from the following file: