|
|
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:
11: #include <SDL_video.h> /* for SDL_Surface */
12:
1.1.1.3 root 13: #if 1
14: void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
15: void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
16: #endif
1.1 root 17:
1.1.1.3 root 18: extern volatile bool bGrabMouse;
19: extern volatile bool bInFullScreen;
20: extern struct SDL_Window *sdlWindow;
1.1 root 21: extern SDL_Surface *sdlscrn;
22:
1.1.1.4 ! root 23: void Screen_Init(void);
! 24: void Screen_UnInit(void);
! 25: void Screen_Pause(bool pause);
! 26: void Screen_EnterFullScreen(void);
! 27: void Screen_ReturnFromFullScreen(void);
! 28: void Screen_ModeChanged(void);
! 29: bool Update_StatusBar(void);
! 30: void SDL_UpdateRects(SDL_Surface *screen, int numrects, SDL_Rect *rects);
! 31: void SDL_UpdateRect(SDL_Surface *screen, Sint32 x, Sint32 y, Sint32 w, Sint32 h);
! 32: void blitDimension(SDL_Texture* tex);
1.1 root 33:
34: #endif /* ifndef HATARI_SCREEN_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.