Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

Win32.h

Go to the documentation of this file.
00001 /****************************************************************************************/
00002 /*  Win32.h                                                                             */
00003 /*                                                                                      */
00004 /*  Author: George McBay (gfm@my-deja.com)                                              */
00005 /*  Description: Win32-specific functionality for OpenGL driver                         */
00006 /*                                                                                      */
00007 /*  The contents of this file are subject to the Genesis3D Public License               */
00008 /*  Version 1.01 (the "License"); you may not use this file except in                   */
00009 /*  compliance with the License. You may obtain a copy of the License at                */
00010 /*  http://www.genesis3d.com                                                            */
00011 /*                                                                                      */
00012 /*  Software distributed under the License is distributed on an "AS IS"                 */
00013 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */
00014 /*  the License for the specific language governing rights and limitations              */
00015 /*  under the License.                                                                  */
00016 /*                                                                                      */
00017 /*                                                                                      */
00018 /****************************************************************************************/
00019 
00020 #ifndef WIN32_H
00021 #define WIN32_H
00022 
00023 #include <gl/gl.h>
00024 
00025 #include "DCommon.h"
00026 
00027 struct 
00028 {
00029         GLuint width;
00030         GLuint height;
00031         GLuint refresh;
00032 } typedef MODELIST;
00033 
00034 
00035 void WindowSetup(DRV_DriverHook *Hook);
00036 void SetGLPixelFormat(DRV_DriverHook *Hook);
00037 void WindowCleanup();
00038 void FlipGLBuffers();
00039 geBoolean SetFullscreen(DRV_DriverHook *Hook);
00040 GLint EnumNativeModes(DRV_ENUM_MODES_CB *Cb, void *Context);
00041 
00042 #endif

Generated on Tue Sep 30 12:36:40 2003 for GTestAndEngine by doxygen 1.3.2