summaryrefslogtreecommitdiffstats
path: root/client/SDL/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'client/SDL/dialogs')
-rw-r--r--client/SDL/dialogs/sdl_connection_dialog.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/client/SDL/dialogs/sdl_connection_dialog.hpp b/client/SDL/dialogs/sdl_connection_dialog.hpp
index f21f538..57e5596 100644
--- a/client/SDL/dialogs/sdl_connection_dialog.hpp
+++ b/client/SDL/dialogs/sdl_connection_dialog.hpp
@@ -89,15 +89,15 @@ class SDLConnectionDialog
private:
struct widget_cfg_t
{
- SDL_Color fgcolor;
- SDL_Color bgcolor;
+ SDL_Color fgcolor = {};
+ SDL_Color bgcolor = {};
SdlWidget widget;
};
private:
- rdpContext* _context;
- SDL_Window* _window;
- SDL_Renderer* _renderer;
+ rdpContext* _context = nullptr;
+ SDL_Window* _window = nullptr;
+ SDL_Renderer* _renderer = nullptr;
mutable std::mutex _mux;
std::string _title;
std::string _msg;
@@ -124,6 +124,6 @@ class SDLConnectionDialogHider
SDLConnectionDialog* get(rdpContext* context);
private:
- SDLConnectionDialog* _dialog;
- bool _visible;
+ SDLConnectionDialog* _dialog = nullptr;
+ bool _visible = false;
};