20 HWND win32Window =
nullptr;
27 int windowProc(
unsigned int uMsg, uint64_t wParam, int64_t lParam)
noexcept;
33 [[nodiscard]]
aarectangle fullscreen_rectangle() const noexcept override;
35 void open_system_menu() override;
36 void set_window_size(
extent2 extent) override;
37 [[nodiscard]]
std::
string get_text_from_clipboard() const noexcept override;
38 void set_text_on_clipboard(
std::
string str) noexcept override;
41 static constexpr UINT_PTR move_and_resize_timer_id = 2;
43 TRACKMOUSEEVENT track_mouse_leave_event_parameters;
44 bool tracking_mouse_leave_event = false;
45 char32_t high_surrogate = 0;
46 gui_event mouse_button_event;
47 utc_nanoseconds multi_click_time_point;
48 point2 multi_click_position;
49 uint8_t multi_click_count;
51 bool keymenu_pressed = false;
53 void setOSWindowRectangleFromRECT(RECT
aarectangle) noexcept;
55 [[nodiscard]] keyboard_state get_keyboard_state() noexcept;
58 [[nodiscard]]
char32_t handle_suragates(
char32_t c) noexcept;
59 [[nodiscard]] gui_event create_mouse_event(
unsigned int uMsg, uint64_t wParam, int64_t lParam) noexcept;
61 friend LRESULT CALLBACK _WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) noexcept;