Big cleanup part 1.
[SDL.s60v3.git] / src / video / symbian / SDL_epocvideo.h
blob26d5c6f1dfacbb582e1a0e34c0821a170f7385a6
1 /*
2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997, 1998, 1999, 2000, 2001 Sam Lantinga
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with this library; if not, write to the Free
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 Sam Lantinga
20 slouken@devolution.com
24 S60 Adaptation Markus Mertama
25 2003 - 2008
28 #ifndef EPOCVIDEO_H
29 #define EPOCVIDEO_H
31 #include <w32std.h>
32 #include <egltypes.h>
34 /* Hidden "this" pointer for the video functions */
35 #define _THIS SDL_VideoDevice *_this
36 #define Private _this->hidden
38 class CFbsBitmap;
40 struct SDL_VideoDevice;
41 void DisableKeyBlocking(SDL_VideoDevice*);
43 struct SDL_PrivateVideoData
45 TPoint iScreenPos;
46 TBool iIsWindowFocused;
47 TSize iSwSurfaceSize;
48 TUint8* iSwSurface;
49 SDL_Rect iRect; //same info in SDL format
50 SDL_Rect* iRectPtr;
51 int null; //terminator
54 struct SDL_PrivateGLData
56 EGLDisplay iDisplay;
57 EGLConfig iConfig;
58 EGLSurface iContext;
59 EGLSurface iSurface;
60 RLibrary iLibrary;
61 };
63 #endif