40 #ifndef _graphicsgamewindow_h
41 #define _graphicsgamewindow_h
43 #include "Graphics/windowsettings.h"
55 class GraphicsManager;
117 void CreateGameWindow(
const String& WindowCaption,
const Whole Width,
const Whole Height,
const Whole Flags);
120 void UpdateViewportsAndCameras();
128 int IsLargerThenDesktop(
const Whole Width,
const Whole Height);
157 Whole GetNumViewports()
const;
160 void DestroyViewport(
Viewport* ToBeDestroyed);
186 void SetRenderWidth(
const Whole& Width);
190 Whole GetRenderWidth()
const;
194 void SetRenderHeight(
const Whole& Height);
198 Whole GetRenderHeight()
const;
203 void SetRenderResolution(
const Whole& Width,
const Whole& Height);
207 void SetFullscreen(
const bool Fullscreen);
211 bool GetFullscreen()
const;
224 const String& GetWindowCaption();
227 Whole GetFSAALevel()
const;
230 void EnableVsync(
bool Enable);
233 Boolean VsyncEnabled()
const;
236 void SetHidden(
bool Hidden);
239 Boolean IsHidden()
const;
242 Boolean BorderIsResizeable()
const;
245 Boolean IsBorderless()
const;
254 Real GetLastFPS()
const;
257 Real GetAverageFPS()
const;
260 Real GetBestFPS()
const;
263 Real GetWorstFPS()
const;
266 Real GetBestFrameTime()
const;
269 Real GetWorstFrameTime()
const;
277 Ogre::RenderWindow* _GetOgreWindowPointer();
281 SDL_Window* _GetSDLWindowPointer();