Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 3458 was 3454, checked in by bensch, 20 years ago

orxonox/trunk/importer: doxygen-tags

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