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;
36 void open_system_menu() override;
37 void set_window_size(
extent2 extent) override;
38 [[nodiscard]]
std::optional<
std::
string> get_text_from_clipboard() const noexcept override;
39 void put_text_on_clipboard(
std::string_view str) const noexcept override;
42 static constexpr UINT_PTR move_and_resize_timer_id = 2;
44 TRACKMOUSEEVENT track_mouse_leave_event_parameters;
45 bool tracking_mouse_leave_event = false;
46 char32_t high_surrogate = 0;
47 gui_event mouse_button_event;
48 utc_nanoseconds multi_click_time_point;
49 point2 multi_click_position;
50 uint8_t multi_click_count;
52 bool keymenu_pressed = false;
54 void setOSWindowRectangleFromRECT(RECT
aarectangle) noexcept;
56 [[nodiscard]] keyboard_state get_keyboard_state() noexcept;
59 [[nodiscard]]
char32_t handle_suragates(
char32_t c) noexcept;
60 [[nodiscard]] gui_event create_mouse_event(
unsigned int uMsg, uint64_t wParam, int64_t lParam) noexcept;
62 friend LRESULT CALLBACK _WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) noexcept;