51 explicit SdlContext(rdpContext* context);
52 SdlContext(
const SdlContext& other) =
delete;
53 SdlContext(SdlContext&& other) =
delete;
54 ~SdlContext() =
default;
56 SdlContext& operator=(
const SdlContext& other) =
delete;
57 SdlContext& operator=(SdlContext&& other) =
delete;
66 bool fullscreen =
false;
67 bool resizeable =
false;
68 bool grab_mouse =
false;
69 bool grab_kbd =
false;
70 bool grab_kbd_enabled =
true;
72 std::map<Uint32, SdlWindow> windows;
85 SDLSurfacePtr primary;
86 SDLPixelFormatPtr primary_format;
88 Uint32 sdl_pixel_format = 0;
90 std::unique_ptr<SDLConnectionDialog> connection_dialog;
92 std::atomic<bool> rdp_thread_running;
94 BOOL update_resizeable(BOOL enable);
95 BOOL update_fullscreen(BOOL enter);
96 BOOL update_minimize();
98 [[nodiscard]] rdpContext* context()
const;
99 [[nodiscard]] rdpClientContext* common()
const;
101 [[nodiscard]] std::shared_ptr<SdlAadAuthHelper>& getAadAuthHelper();
104 std::shared_ptr<SdlAadAuthHelper> _aadAuthHelper;