archutils\Win32\ cleanup and comment

This commit is contained in:
AJ Kelly
2011-02-23 22:59:15 -06:00
parent 7cfe2844a9
commit 2153ba0dae
18 changed files with 267 additions and 300 deletions
+11 -7
View File
@@ -1,5 +1,3 @@
/* GraphicsWindow - Sets up a window for OpenGL/D3D. */
#ifndef GRAPHICS_WINDOW_H
#define GRAPHICS_WINDOW_H
@@ -8,19 +6,25 @@
class VideoModeParams;
class DisplayResolution;
/** @brief Sets up a window for OpenGL/D3D. */
namespace GraphicsWindow
{
/* Set up, and create a hidden window. This only needs to be called once. */
/** @brief Set up, and create a hidden window.
*
* This only needs to be called once. */
void Initialize( bool bD3D );
/* Shut down completely. */
/** @brief Shut down completely. */
void Shutdown();
/* Set the display mode. p will not be second-guessed, except to try disabling
* the refresh rate setting. */
/** @brief Set the display mode.
*
* p will not be second-guessed, except to try disabling the refresh rate setting. */
RString SetScreenMode( const VideoModeParams &p );
/* Create the window. This also updates VideoModeParams (returned by GetParams). */
/** @brief Create the window.
*
* This also updates VideoModeParams (returned by GetParams). */
void CreateGraphicsWindow( const VideoModeParams &p, bool bForceRecreateWindow = false );
void DestroyGraphicsWindow();