MPMA Framework 0.4
Namespaces | Functions
GFXSetupWin32.cpp File Reference

Window system and OpenGL setup. More...

Namespaces

namespace  GFX
 

Graphics.


Functions

void GFX::ShutdownWindow ()
 Closes the window and shuts down the graphics system. This must be called from the same thread that called SetupWindow to create the initial window.
const GraphicsSetup * GFX::GetWindowState ()
 Retrieves the current state of the window, or 0 if the window has been closed.
ScreenSize GFX::GetCurrentScreenSize ()
 Returns the resolution of the current screen. This may only called if a window created.
void GFX::UpdateWindow ()
 Handles any window system events, and exposes the backbuffer. You should normally call this every frame. You should check GetWindowState after calling this to verify that the window still exists. This must be called from the same thread that called SetupWindow to create the initial window.
bool GFX::WindowHasFocus ()
 Returns whether the window currently has the user's focus.

Detailed Description

Window system and OpenGL setup.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends