comparison Applications/Sdl/SdlWindow.h @ 656:002d9562c8f5

Added support to DISABLE legacy scaling in SDL Windows (only in WIN32... this might also be needed on macos and GNU/Linux ?) + fixed text info overlay pos for angle measure (this requires the app to be aware of the compositor)
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 14 May 2019 16:54:13 +0200
parents 731b40e9bfe1
children
comparison
equal deleted inserted replaced
655:1e26bb5f2a02 656:002d9562c8f5
38 38
39 public: 39 public:
40 SdlWindow(const char* title, 40 SdlWindow(const char* title,
41 unsigned int width, 41 unsigned int width,
42 unsigned int height, 42 unsigned int height,
43 bool enableOpenGl); 43 bool enableOpenGl,
44 bool allowDpiScaling = true);
44 45
45 ~SdlWindow(); 46 ~SdlWindow();
46 47
47 SDL_Window *GetObject() const 48 SDL_Window *GetObject() const
48 { 49 {