Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/subprojects/importer/windowHandler.h @ 4263

Last change on this file since 4263 was 4263, checked in by bensch, 19 years ago

orxonox/trunk: building subprojects externaly

File size: 897 bytes
RevLine 
[3454]1/*!
2  \file windowHandler.h
3  \brief contains the WindowHandler class for the minimal display system
4*/
5
6
[2748]7#ifndef _WINDOWHANDLER_H
8#define _WINDOWHANDLER_H
9
[3479]10#include "stdincl.h"
[2995]11
[2748]12#include <stdarg.h>
13#include <stdio.h>
14#include <string.h>
15#include <stdlib.h>
16#include <math.h>
17
[2931]18#ifdef __WIN32__
19#include <windows.h>
20#endif /* __WIN32__ */
[2748]21
[3454]22#define TRUE 1     //!< define true
23#define FALSE 0    //!< define false
24#define BOOL int   //!< define BOOL
[2748]25
[3454]26//! A simple class to handle a minimal display system
[2748]27class WindowHandler
28{
29  public:
30    WindowHandler() { };
31    ~WindowHandler() { };
32    GLvoid KillGLWindow(GLvoid);
33    BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag);
[3454]34    SDL_Surface* screen;   //!< The screen to which to display the rendered stuff
[2748]35  private:
36    int InitGL(GLvoid);
37    void ReSizeGLScene(GLsizei width, GLsizei height); 
38};
39
40
41#endif
Note: See TracBrowser for help on using the repository browser.