comparison Applications/Platforms/Sdl/SdlWindow.h @ 1804:5a872e69c74f

reorganization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 May 2021 14:48:51 +0200
parents 9ac2a65d4172
children 3889ae96d2e9
comparison
equal deleted inserted replaced
1803:d1849468729b 1804:5a872e69c74f
22 #pragma once 22 #pragma once
23 23
24 #if ORTHANC_ENABLE_SDL == 1 24 #if ORTHANC_ENABLE_SDL == 1
25 25
26 #include <boost/noncopyable.hpp> 26 #include <boost/noncopyable.hpp>
27 #include <string>
27 28
28 // Forward declaration of SDL type to avoid clashes with DCMTK headers 29 // Forward declaration of SDL type to avoid clashes with DCMTK headers
29 // on "typedef Sint8", in "StoneInitialization.cpp" 30 // on "typedef Sint8", in "StoneInitialization.cpp"
30 struct SDL_Window; 31 struct SDL_Window;
31 struct SDL_Renderer; 32 struct SDL_Renderer;
39 struct SDL_Window *window_; 40 struct SDL_Window *window_;
40 struct SDL_Renderer *renderer_; 41 struct SDL_Renderer *renderer_;
41 bool maximized_; 42 bool maximized_;
42 43
43 public: 44 public:
44 SdlWindow(const char* title, 45 SdlWindow(const std::string& title,
45 unsigned int width, 46 unsigned int width,
46 unsigned int height, 47 unsigned int height,
47 bool enableOpenGl, 48 bool enableOpenGl,
48 bool allowDpiScaling = true); 49 bool allowDpiScaling = true);
49 50