Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/osX/importer/windowHandler.h @ 2977

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

orxonox/branches/importer: merged back from the trunk again: command: svn merge trunk/ branches/osX -r 2887:HEAD

File size: 679 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#ifdef __WIN32__
17#include <windows.h>
18#endif /* __WIN32__ */
19
20#define TRUE 1
21#define FALSE 0
22#define BOOL int
23
24class WindowHandler
25{
26  public:
27    WindowHandler() { };
28    ~WindowHandler() { };
29    GLvoid KillGLWindow(GLvoid);
30    BOOL CreateGLWindow(char* title, int width, int height, int bits, BOOL fullscreenflag);
31    SDL_Surface* screen;
32  private:
33    int InitGL(GLvoid);
34    void ReSizeGLScene(GLsizei width, GLsizei height); 
35};
36
37
38#endif
Note: See TracBrowser for help on using the repository browser.