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