| 26 |
|
Pixmap pm; /* storage on server side */ |
| 27 |
|
} XRASTER; |
| 28 |
|
|
| 29 |
< |
extern Colormap newcmap(); |
| 30 |
< |
|
| 31 |
< |
extern unsigned long *map_rcolors(); |
| 32 |
< |
|
| 33 |
< |
extern Pixmap make_rpixmap(); |
| 34 |
< |
|
| 35 |
< |
extern XRASTER *make_raster(); |
| 29 |
> |
extern Colormap newcmap(Display *disp, int scrn, Visual *vis); |
| 30 |
> |
extern int init_rcolors(XRASTER *xr, uby8 cmap[][3]); |
| 31 |
> |
extern unsigned long * map_rcolors(XRASTER *xr, Window w); |
| 32 |
> |
extern Pixmap make_rpixmap(XRASTER *xr, Window w); |
| 33 |
> |
extern XRASTER * make_raster( Display *disp, XVisualInfo *vis, |
| 34 |
> |
int npixbits, char *data, int width, int height, int bm_pad); |
| 35 |
> |
extern void patch_raster(Drawable d, int xsrc, int ysrc, |
| 36 |
> |
int xdst, int ydst, int width, int height, register XRASTER *xr); |
| 37 |
> |
extern void unmap_rcolors(XRASTER *xr); |
| 38 |
> |
extern void free_rpixmap(XRASTER *xr); |
| 39 |
> |
extern void free_raster(XRASTER *xr); |
| 40 |
|
|
| 41 |
|
#define put_raster(d,xdst,ydst,xr) patch_raster(d,0,0,xdst,ydst, \ |
| 42 |
|
(xr)->image->width,(xr)->image->height,xr) |