Struct WindowProps::AdvancedProps#
Defined in File Window.h
Nested Relationships#
This struct is a nested type of Struct WindowProps.
Struct Documentation#
-
struct AdvancedProps
More advanced(optional) window properties.
Public Functions
-
explicit constexpr AdvancedProps(bool resizable = true, bool maximized = false, bool visible = true, bool focused = true, bool focusOnShow = true, bool decorated = true, bool rawMouseInput = false, Window::CursorMode cursorMode = Window::CursorMode::Normal) noexcept
Constructor for advanced(optional) window properties.
- Parameters:
resizable – Whether the window should be resizable.
maximized – Whether the window should be maximized on creation.
visible – Whether the window should be visible or not.
focused – Whether the window should be focused or not.
focusOnShow – Whether the window should be focused when shown or not.
decorated – Whether the window should be decorated or not.
rawMouseInput – Whether the window should use raw mouse input or not.
cursorMode – Cursor mode to be used by the window.
Public Members
-
bool Resizable = true
-
bool Maximized = false
-
bool Visible = true
-
bool Focused = true
-
bool FocusOnShow = true
-
bool Decorated = true
-
bool RawMouseInput = false
-
Window::CursorMode CursorMode = Window::CursorMode::Normal
-
explicit constexpr AdvancedProps(bool resizable = true, bool maximized = false, bool visible = true, bool focused = true, bool focusOnShow = true, bool decorated = true, bool rawMouseInput = false, Window::CursorMode cursorMode = Window::CursorMode::Normal) noexcept