|
|
1.1 root 1: /*
2: Hatari - hostscreen.h
3:
1.1.1.6 root 4: This file is distributed under the GNU General Public License, version 2
5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7:
8: #ifndef HATARI_HOSTSCREEN_H
9: #define HATARI_HOSTSCREEN_H
10:
11: extern void HostScreen_Init(void);
12: extern void HostScreen_UnInit(void);
13: extern void HostScreen_toggleFullScreen(void);
1.1.1.2 root 14: extern bool HostScreen_renderBegin(void);
1.1.1.7 root 15: extern SDL_Rect* HostScreen_renderEnd(void);
16: extern void HostScreen_update1(SDL_Rect* extra, bool forced);
1.1.1.2 root 17: extern Uint32 HostScreen_getBpp(void); /* Bytes per pixel */
18: extern Uint32 HostScreen_getPitch(void);
19: extern Uint32 HostScreen_getWidth(void);
20: extern Uint32 HostScreen_getHeight(void);
21: extern Uint8 * HostScreen_getVideoramAddress(void);
1.1.1.5 root 22: extern SDL_PixelFormat *HostScreen_getFormat(void);
23: extern void HostScreen_setPaletteColor(Uint8 idx, Uint8 red, Uint8 green, Uint8 blue);
1.1.1.2 root 24: extern Uint32 HostScreen_getPaletteColor(Uint8 idx);
1.1.1.5 root 25: extern void HostScreen_updatePalette(int colorCount);
1.1.1.8 ! root 26: extern void HostScreen_setWindowSize(int width, int height, int bpp, bool bForceChange);
1.1 root 27:
28: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.