PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Static Public Member Functions | Static Public Attributes | List of all members
PGE_Window Class Reference

Static Public Member Functions

static bool init (QString WindowTitle="Platformer Game Engine by Wohldtand")
 
static void toggleVSync (bool vsync)
 
static bool uninit ()
 
static bool isReady ()
 
static void setCursorVisibly (bool viz)
 
static void clean ()
 
static void rePaint ()
 
static int setFullScreen (bool fs)
 
static int SDL_ToggleFS (SDL_Window *win=NULL)
 
static int processEvents (SDL_Event &event)
 
static bool checkSDLError (int line=-1)
 

Static Public Attributes

static int Width =800
 
static int Height =600
 
static int MaxFPS =250
 
static bool vsync =true
 
static float TicksPerSecond =1000.0f/15.0f
 
static int TimeOfFrame =15
 
static bool showDebugInfo =false
 
static bool showPhysicsDebug =false
 
static SDL_Window * window
 
static SDL_GLContext glcontext_background
 
static SDL_GLContext glcontext
 

Member Function Documentation

int PGE_Window::SDL_ToggleFS ( SDL_Window *  win = NULL)
static

Toggles On/Off FullScreen

Returns
-1 on error, 1 on Set fullscreen successful, 0 on Set Windowed successful

The documentation for this class was generated from the following files: