2
* Rootless implementation for Mac OS X Aqua environment
4
* Greg Parker gparker@cs.stanford.edu
6
/* $XFree86: xc/programs/Xserver/hw/darwin/quartz/rootlessAquaImp.h,v 1.2 2002/12/10 00:00:39 torrey Exp $ */
8
#ifndef _ROOTLESSAQUAIMP_H
9
#define _ROOTLESSAQUAIMP_H
11
#include "fakeBoxRec.h"
13
int AquaDisplayCount();
15
void AquaScreenInit(int index, int *x, int *y, int *width, int *height,
16
int *rowBytes, int *bps, int *spp, int *bpp);
18
void *AquaNewWindow(void *upperw, int x, int y, int w, int h, int isRoot);
20
void AquaDestroyWindow(void *rw);
22
void AquaMoveWindow(void *rw, int x, int y);
24
void AquaStartResizeWindow(void *rw, int x, int y, int w, int h);
26
void AquaFinishResizeWindow(void *rw, int x, int y, int w, int h);
28
void AquaUpdateRects(void *rw, fakeBoxRec *rects, int count);
30
void AquaRestackWindow(void *rw, void *lowerw);
32
void AquaReshapeWindow(void *rw, fakeBoxRec *rects, int count);
34
void AquaStartDrawing(void *rw, char **bits,
35
int *rowBytes, int *depth, int *bpp);
37
void AquaStopDrawing(void *rw);
39
#endif /* _ROOTLESSAQUAIMP_H */