Fixed German translation, changed dialog font to Helvetica.
[wine.git] / include / vga.h
blob57800d2df60cfaf141e628292ef89a361490de10
1 /*
2 * VGA emulation
3 *
4 * Copyright 1998 Ove KÅven
6 */
8 #ifndef __WINE_VGA_H
9 #define __WINE_VGA_H
11 #include "winbase.h"
12 #include "wingdi.h"
14 /* graphics mode */
15 int VGA_SetMode(unsigned Xres,unsigned Yres,unsigned Depth);
16 int VGA_GetMode(unsigned*Height,unsigned*Width,unsigned*Depth);
17 void VGA_Exit(void);
18 void VGA_SetPalette(PALETTEENTRY*pal,int start,int len);
19 void VGA_SetQuadPalette(RGBQUAD*color,int start,int len);
20 LPSTR VGA_Lock(unsigned*Pitch,unsigned*Height,unsigned*Width,unsigned*Depth);
21 void VGA_Unlock(void);
23 /* text mode */
24 int VGA_SetAlphaMode(unsigned Xres,unsigned Yres);
25 void VGA_GetAlphaMode(unsigned*Xres,unsigned*Yres);
26 void VGA_SetCursorPos(unsigned X,unsigned Y);
27 void VGA_GetCursorPos(unsigned*X,unsigned*Y);
28 void VGA_WriteChars(unsigned X,unsigned Y,unsigned ch,int attr,int count);
30 /* control */
31 void CALLBACK VGA_Poll(ULONG_PTR arg);
32 void VGA_ioport_out(WORD port, BYTE val);
33 BYTE VGA_ioport_in(WORD port);
34 void VGA_Clean(void);
36 #endif /* __WINE_VGA_H */