Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/parenting/src/importer/windowHandler.h @ 3327

Last change on this file since 3327 was 3196, checked in by bensch, 20 years ago

orxonox/trunk: moved importer into the Trunk, now no merging is needed anymore.

File size: 643 bytes
Line 
1#ifndef _WINDOWHANDLER_H
2#define _WINDOWHANDLER_H
3
4extern int verbose;
5
6#include "../stdincl.h"
7
8#include <stdarg.h>
9#include <stdio.h>
10#include <string.h>
11#include <stdlib.h>
12#include <math.h>
13
14#ifdef __WIN32__
15#include <windows.h>
16#endif /* __WIN32__ */
17
18#define TRUE 1
19#define FALSE 0
20#define BOOL int
21
22class WindowHandler
23{
24  public:
25    WindowHandler() { };
26    ~WindowHandler() { };
27    GLvoid KillGLWindow(GLvoid);
28    BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag);
29    SDL_Surface* screen;
30  private:
31    int InitGL(GLvoid);
32    void ReSizeGLScene(GLsizei width, GLsizei height); 
33};
34
35
36#endif
Note: See TracBrowser for help on using the repository browser.