Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/intern/GHOST_DisplayManagerSDL.h')
-rw-r--r--intern/ghost/intern/GHOST_DisplayManagerSDL.h42
1 files changed, 17 insertions, 25 deletions
diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.h b/intern/ghost/intern/GHOST_DisplayManagerSDL.h
index 913eaf17bb0..f7704d57ab0 100644
--- a/intern/ghost/intern/GHOST_DisplayManagerSDL.h
+++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.h
@@ -25,7 +25,7 @@
#include "GHOST_DisplayManager.h"
extern "C" {
- #include "SDL.h"
+#include "SDL.h"
}
#if !SDL_VERSION_ATLEAST(2, 0, 0)
@@ -34,37 +34,29 @@ extern "C" {
class GHOST_SystemSDL;
-class GHOST_DisplayManagerSDL : public GHOST_DisplayManager
-{
-public:
- GHOST_DisplayManagerSDL(GHOST_SystemSDL *system);
+class GHOST_DisplayManagerSDL : public GHOST_DisplayManager {
+ public:
+ GHOST_DisplayManagerSDL(GHOST_SystemSDL *system);
- GHOST_TSuccess
- getNumDisplays(GHOST_TUns8& numDisplays) const;
+ GHOST_TSuccess getNumDisplays(GHOST_TUns8 &numDisplays) const;
- GHOST_TSuccess
- getNumDisplaySettings(GHOST_TUns8 display,
- GHOST_TInt32& numSettings) const;
+ GHOST_TSuccess getNumDisplaySettings(GHOST_TUns8 display, GHOST_TInt32 &numSettings) const;
- GHOST_TSuccess
- getDisplaySetting(GHOST_TUns8 display,
- GHOST_TInt32 index,
- GHOST_DisplaySetting& setting) const;
+ GHOST_TSuccess getDisplaySetting(GHOST_TUns8 display,
+ GHOST_TInt32 index,
+ GHOST_DisplaySetting &setting) const;
- GHOST_TSuccess
- getCurrentDisplaySetting(GHOST_TUns8 display,
- GHOST_DisplaySetting& setting) const;
+ GHOST_TSuccess getCurrentDisplaySetting(GHOST_TUns8 display,
+ GHOST_DisplaySetting &setting) const;
- GHOST_TSuccess
- getCurrentDisplayModeSDL(SDL_DisplayMode &mode) const;
+ GHOST_TSuccess getCurrentDisplayModeSDL(SDL_DisplayMode &mode) const;
- GHOST_TSuccess
- setCurrentDisplaySetting(GHOST_TUns8 display,
- const GHOST_DisplaySetting& setting);
+ GHOST_TSuccess setCurrentDisplaySetting(GHOST_TUns8 display,
+ const GHOST_DisplaySetting &setting);
-private:
- GHOST_SystemSDL *m_system;
- SDL_DisplayMode m_mode;
+ private:
+ GHOST_SystemSDL *m_system;
+ SDL_DisplayMode m_mode;
};
#endif /* __GHOST_DISPLAYMANAGERSDL_H__ */