Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/importer/windowHandler.h @ 2866

Last change on this file since 2866 was 2804, checked in by bensch, 20 years ago

orxonox/branches/importer: added heavy logging

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