1/* 2 * file vramdac.h 3 * 4 * headfile for vramdac.c 5 */ 6 7#ifndef __VRAMDAC_H__ 8#define __VRAMDAC_H__ 9 10 11 12/* 13 * includes 14 */ 15 16#include "vtypes.h" 17 18 19 20/* 21 * defines 22 */ 23 24#define VERITE_NOCURSOR 0 25#define VERITE_2COLORS 1 26#define VERITE_3COLORS 2 27#define VERITE_XCURSOR 3 28 29#define VERITE_CURSOR32 0 30#define VERITE_CURSOR64 1 31 32 33 34/* 35 * function prototypes 36 */ 37 38void verite_savedac (ScrnInfoPtr pScreenInfo); 39void verite_restoredac (ScrnInfoPtr pScreenInfo, RenditionRegPtr reg); 40int verite_initdac(ScrnInfoPtr pScreenInfo, vu8 bpp, vu8 doubleclock); 41void verite_enablecursor(ScrnInfoPtr pScreenInfo, int type, int size); 42void verite_movecursor(ScrnInfoPtr pScreenInfo, vu16 x, vu16 y, vu8 xo, vu8 yo); 43void verite_setcursorcolor(ScrnInfoPtr pScreenInfo, vu32 bg, vu32 fg); 44void verite_loadcursor(ScrnInfoPtr pScreenInfo, vu8 type, vu8 *cursorimage); 45void verite_setpalette(ScrnInfoPtr pScreenInfo, int numColors, int *indices, 46 LOCO *colors, VisualPtr pVisual); 47 48 49 50#endif /* #ifndef _VRAMDAC_H_ */ 51 52/* 53 * end of file vramdac.h 54 */ 55