paul@4701
|
1 |
/*
|
paul@4701
|
2 |
SDL - Simple DirectMedia Layer
|
paul@4701
|
3 |
Copyright (C) 1997-2010 Sam Lantinga
|
paul@4701
|
4 |
|
paul@4701
|
5 |
This library is free software; you can redistribute it and/or
|
paul@4701
|
6 |
modify it under the terms of the GNU Lesser General Public
|
paul@4701
|
7 |
License as published by the Free Software Foundation; either
|
paul@4701
|
8 |
version 2.1 of the License, or (at your option) any later version.
|
paul@4701
|
9 |
|
paul@4701
|
10 |
This library is distributed in the hope that it will be useful,
|
paul@4701
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
paul@4701
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
paul@4701
|
13 |
Lesser General Public License for more details.
|
paul@4701
|
14 |
|
paul@4701
|
15 |
You should have received a copy of the GNU Lesser General Public
|
paul@4701
|
16 |
License along with this library; if not, write to the Free Software
|
paul@4701
|
17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
paul@4701
|
18 |
|
paul@4701
|
19 |
Sam Lantinga
|
paul@4701
|
20 |
slouken@libsdl.org
|
paul@4701
|
21 |
*/
|
paul@4701
|
22 |
#include "SDL_config.h"
|
paul@4701
|
23 |
|
paul@4701
|
24 |
#ifndef _SDL_androidvideo_h
|
paul@4701
|
25 |
#define _SDL_androidvideo_h
|
paul@4701
|
26 |
|
paul@4701
|
27 |
#include "../SDL_sysvideo.h"
|
paul@4701
|
28 |
|
slouken@4981
|
29 |
/* Called by the JNI layer when the screen changes size or format */
|
slouken@4981
|
30 |
extern void Android_SetScreenResolution(int width, int height, Uint32 format);
|
slouken@4981
|
31 |
|
slouken@4998
|
32 |
/* Private display data */
|
slouken@4998
|
33 |
|
slouken@4998
|
34 |
extern int Android_ScreenWidth;
|
slouken@4998
|
35 |
extern int Android_ScreenHeight;
|
slouken@4998
|
36 |
extern Uint32 Android_ScreenFormat;
|
slouken@5001
|
37 |
extern SDL_Window *Android_Window;
|
slouken@4998
|
38 |
|
slouken@4981
|
39 |
#endif /* _SDL_androidvideo_h */
|
paul@4701
|
40 |
|
paul@4701
|
41 |
/* vi: set ts=4 sw=4 expandtab: */
|