|
|
1.1 root 1: /*
2: Hatari - screen.h
3:
4: This file is distributed under the GNU Public License, version 2 or at your
5: option any later version. Read the file gpl.txt for details.
6: */
7:
8: #ifndef HATARI_SCREEN_H
9: #define HATARI_SCREEN_H
10:
1.1.1.5 ! root 11: #ifdef __cplusplus
! 12: extern "C" {
! 13: #endif /* __cplusplus */
! 14:
1.1 root 15: #include <SDL_video.h> /* for SDL_Surface */
16:
1.1.1.3 root 17: #if 1
18: void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
19: void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
20: #endif
1.1 root 21:
1.1.1.3 root 22: extern volatile bool bGrabMouse;
23: extern volatile bool bInFullScreen;
24: extern struct SDL_Window *sdlWindow;
1.1 root 25: extern SDL_Surface *sdlscrn;
26:
1.1.1.4 root 27: void Screen_Init(void);
28: void Screen_UnInit(void);
29: void Screen_Pause(bool pause);
30: void Screen_EnterFullScreen(void);
31: void Screen_ReturnFromFullScreen(void);
32: void Screen_ModeChanged(void);
33: bool Update_StatusBar(void);
34: void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
35: void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
1.1.1.5 ! root 36: void blitDimension(Uint32* vram, SDL_Texture* tex);
! 37:
! 38: #ifdef __cplusplus
! 39: }
! 40: #endif /* __cplusplus */
1.1 root 41:
42: #endif /* ifndef HATARI_SCREEN_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.