39
39
#include "colormapst.h"
40
40
#include "resource.h"
41
41
#include "micmap.h"
44
afbListInstalledColormaps(pScreen, pmaps)
45
afbListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps)
48
47
return miListInstalledColormaps(pScreen, pmaps);
53
afbInstallColormap(pmap)
52
afbInstallColormap(ColormapPtr pmap)
56
54
miInstallColormap(pmap);
60
afbUninstallColormap(pmap)
58
afbUninstallColormap(ColormapPtr pmap)
63
60
miUninstallColormap(pmap);
67
afbResolveColor(pred, pgreen, pblue, pVisual)
68
unsigned short *pred, *pgreen, *pblue;
69
register VisualPtr pVisual;
64
afbResolveColor(short unsigned int *pred, short unsigned int *pgreen, short unsigned int *pblue, register VisualPtr pVisual)
71
66
miResolveColor(pred, pgreen, pblue, pVisual);
75
afbInitializeColormap(pmap)
76
register ColormapPtr pmap;
70
afbInitializeColormap(register ColormapPtr pmap)
78
72
return miInitializeColormap(pmap);
82
afbExpandDirectColors(pmap, ndef, indefs, outdefs)
85
xColorItem *indefs, *outdefs;
76
afbExpandDirectColors(ColormapPtr pmap, int ndef, xColorItem *indefs, xColorItem *outdefs)
87
78
return miExpandDirectColors(pmap, ndef, indefs, outdefs);
91
afbCreateDefColormap(pScreen)
82
afbCreateDefColormap(ScreenPtr pScreen)
94
84
return miCreateDefColormap(pScreen);
98
afbSetVisualTypes(depth, visuals, bitsPerRGB)
88
afbSetVisualTypes(int depth, int visuals, int bitsPerRGB)
103
90
return miSetVisualTypes(depth, visuals, bitsPerRGB, -1);
113
afbInitVisuals(visualp, depthp, nvisualp, ndepthp, rootDepthp, defaultVisp,
117
int *nvisualp, *ndepthp;
119
VisualID *defaultVisp;
100
afbInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, int *ndepthp, int *rootDepthp, VisualID *defaultVisp, long unsigned int sizes, int bitsPerRGB)
123
102
return miInitVisuals(visualp, depthp, nvisualp, ndepthp, rootDepthp,
124
103
defaultVisp, sizes, bitsPerRGB, -1);