Struct WindowingAPI::InternalWindow#

Nested Relationships#

This struct is a nested type of Class WindowingAPI.

Struct Documentation#

struct InternalWindow#

Window structure.

Public Members

bool Resizable = true#
bool Decorated = true#
bool Floating = false#
bool ShouldClose = false#
bool FocusOnShow = true#
bool MousePassthrough = false#
bool DragAndDrop = false#
bool BorderlessFullscreen = false#
void *UserPointer = nullptr#
InternalVideoMode videoMode = {}#
InternalMonitor *Monitor = nullptr#
InternalCursor *Cursor = nullptr#
i32 MinWidth = -1#
i32 MinHeight = -1#
i32 MaxWidth = -1#
i32 MaxHeight = -1#
i32 Numerator = -1#
i32 Denominator = -1#
CursorMode cursorMode = CursorMode::Normal#
std::array<TRAP::Input::KeyState, std::to_underlying(TRAP::Input::MouseButton::Eight) + 1> MouseButtons = {}#
std::array<TRAP::Input::KeyState, std::to_underlying(TRAP::Input::Key::Menu) + 1> Keys = {}#
f64 VirtualCursorPosX = 0.0#
f64 VirtualCursorPosY = 0.0#
bool RawMouseMotion = false#
WindowPositionFunc Pos = nullptr#
WindowSizeFunc Size = nullptr#
WindowMinimizeFunc Minimize = nullptr#
WindowMaximizeFunc Maximize = nullptr#
WindowCloseFunc Close = nullptr#
WindowFocusFunc Focus = nullptr#
FrameBufferSizeFunc FBSize = nullptr#
WindowContentScaleFunc Scale = nullptr#
MouseButtonFunc MouseButton = nullptr#
CursorPositionFunc CursorPos = nullptr#
CursorEnterFunc CursorEnter = nullptr#
ScrollFunc Scroll = nullptr#
KeyFunc Key = nullptr#
CharFunc Character = nullptr#
DropFunc Drop = nullptr#
struct TRAP::INTERNAL::WindowingAPI::InternalWindow::[anonymous] Callbacks#
bool Minimized = false#
bool Maximized = false#
i32 LastCursorPosX = 0#
i32 LastCursorPosY = 0#
i32 Width = 0#
i32 Height = 0#