mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
24 lines
613 B
C
24 lines
613 B
C
/*
|
|
* VGA emulation
|
|
*
|
|
* Copyright 1998 Ove KÅven
|
|
*
|
|
*/
|
|
|
|
#ifndef __WINE_VGA_H
|
|
#define __WINE_VGA_H
|
|
|
|
#include "wingdi.h"
|
|
|
|
int VGA_SetMode(unsigned Xres,unsigned Yres,unsigned Depth);
|
|
int VGA_GetMode(unsigned*Height,unsigned*Width,unsigned*Depth);
|
|
void VGA_Exit(void);
|
|
void VGA_SetPalette(PALETTEENTRY*pal,int start,int len);
|
|
void VGA_SetQuadPalette(RGBQUAD*color,int start,int len);
|
|
LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth);
|
|
void VGA_Unlock(void);
|
|
void VGA_Poll(WORD timer);
|
|
void VGA_ioport_out(WORD port, BYTE val);
|
|
BYTE VGA_ioport_in(WORD port);
|
|
|
|
#endif /* __WINE_VGA_H */
|