7#include "../GFX/gfx_surface_vulkan.hpp"
8#include "gui_window.hpp"
9#include <unordered_map>
21 HWND win32Window =
nullptr;
28 int windowProc(
unsigned int uMsg, uint64_t wParam, int64_t lParam)
noexcept;
49 void setOSWindowRectangleFromRECT(RECT
aarectangle) noexcept;
51 TRACKMOUSEEVENT trackMouseLeaveEventParameters;
52 bool trackingMouseLeaveEvent = false;
53 char32_t highSurrogate = 0;
55 utc_nanoseconds doubleClickTimePoint;
56 std::chrono::nanoseconds doubleClickMaximumDuration;
57 UINT_PTR move_and_resize_timer_id;
58 [[nodiscard]] KeyboardState getKeyboardState() noexcept;
59 [[nodiscard]] keyboard_modifiers getkeyboard_modifiers() noexcept;
61 [[nodiscard]]
char32_t handleSuragates(
char32_t c) noexcept;
62 [[nodiscard]]
mouse_event createmouse_event(
unsigned int uMsg, uint64_t wParam, int64_t lParam) noexcept;
Class which represents an axis-aligned rectangle.
Definition axis_aligned_rectangle.hpp:20
Graphics system.
Definition gui_system.hpp:29
Definition gui_window.hpp:39
Definition gui_window_delegate.hpp:12
Definition gui_window_win32.hpp:16
void normalize_window() override
Ask the operating system to normalize this window.
void set_cursor(mouse_cursor cursor) noexcept override
Set the mouse cursor icon.
void minimize_window() override
Ask the operating system to minimize this window.
void set_text_on_clipboard(std::string str) noexcept override
Place a text string on the operating system's clip-board.
void close_window() override
Ask the operating system to close this window.
void maximize_window() override
Ask the operating system to maximize this window.
std::string get_text_from_clipboard() const noexcept override
Retrieve a text string from the operating system's clip-board.
void set_window_size(extent2 extent) override
Ask the operating system to set the size of this window.
extent2 virtual_screen_size() const noexcept override
Get the size of the virtual-screen.
void create_window(extent2 new_size) override
Let the operating system create the actual window.
Definition mouse_event.hpp:15
A label consisting of localizable text and an icon.
Definition label.hpp:27