Mercurial > hg > orthanc-stone
comparison Applications/Sdl/SdlEngine.h @ 271:46c5296d867e am-2
OracleWebService and BasicSdlApplicationContext using the same global mutex
author | am@osimis.io |
---|---|
date | Thu, 23 Aug 2018 17:12:54 +0200 |
parents | 84844649a8fd |
children | dc1beee33134 |
comparison
equal
deleted
inserted
replaced
270:2d64f4d39610 | 271:46c5296d867e |
---|---|
34 SdlWindow& window_; | 34 SdlWindow& window_; |
35 BasicSdlApplicationContext& context_; | 35 BasicSdlApplicationContext& context_; |
36 SdlCairoSurface surface_; | 36 SdlCairoSurface surface_; |
37 bool viewportChanged_; | 37 bool viewportChanged_; |
38 | 38 |
39 void SetSize(BasicSdlApplicationContext::ViewportLocker& locker, | 39 void SetSize(unsigned int width, |
40 unsigned int width, | |
41 unsigned int height); | 40 unsigned int height); |
42 | 41 |
43 void RenderFrame(); | 42 void RenderFrame(); |
44 | 43 |
45 static KeyboardModifiers GetKeyboardModifiers(const uint8_t* keyboardState, | 44 static KeyboardModifiers GetKeyboardModifiers(const uint8_t* keyboardState, |