summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/drivers/rendition/vramdac.h
blob: c1b8a896ac3fcd2fce0e22954ecd3672702899e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/rendition/vramdac.h,v 1.5 2000/03/31 20:13:28 dawes Exp $ */
/*
 * file vramdac.h
 *
 * headfile for vramdac.c
 */

#ifndef __VRAMDAC_H__
#define __VRAMDAC_H__



/*
 * includes
 */

#include "vtypes.h"



/*
 * defines
 */

#define VERITE_NOCURSOR  0
#define VERITE_2COLORS   1
#define VERITE_3COLORS   2
#define VERITE_XCURSOR   3

#define VERITE_CURSOR32  0
#define VERITE_CURSOR64  1



/*
 * function prototypes
 */

int verite_initdac(ScrnInfoPtr pScreenInfo, vu8 bpp, vu8 doubleclock);
void verite_enablecursor(ScrnInfoPtr pScreenInfo, int type, int size);
void verite_movecursor(ScrnInfoPtr pScreenInfo, vu16 x, vu16 y, vu8 xo, vu8 yo);
void verite_setcursorcolor(ScrnInfoPtr pScreenInfo, vu32 bg, vu32 fg);
void verite_loadcursor(ScrnInfoPtr pScreenInfo, vu8 type, vu8 *cursorimage);
void verite_setpalette(ScrnInfoPtr pScreenInfo, int numColors, int *indices,
		  LOCO *colors, VisualPtr pVisual);



#endif /* #ifndef _VRAMDAC_H_ */

/*
 * end of file vramdac.h
 */