xref: /OK3568_Linux_fs/external/xserver/mi/mipointrst.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * mipointrst.h
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun 
6*4882a593Smuzhiyun /*
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun Copyright 1989, 1998  The Open Group
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun Permission to use, copy, modify, distribute, and sell this software and its
11*4882a593Smuzhiyun documentation for any purpose is hereby granted without fee, provided that
12*4882a593Smuzhiyun the above copyright notice appear in all copies and that both that
13*4882a593Smuzhiyun copyright notice and this permission notice appear in supporting
14*4882a593Smuzhiyun documentation.
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun The above copyright notice and this permission notice shall be included in
17*4882a593Smuzhiyun all copies or substantial portions of the Software.
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20*4882a593Smuzhiyun IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21*4882a593Smuzhiyun FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
22*4882a593Smuzhiyun OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23*4882a593Smuzhiyun AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24*4882a593Smuzhiyun CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun Except as contained in this notice, the name of The Open Group shall not be
27*4882a593Smuzhiyun used in advertising or otherwise to promote the sale, use or other dealings
28*4882a593Smuzhiyun in this Software without prior written authorization from The Open Group.
29*4882a593Smuzhiyun */
30*4882a593Smuzhiyun 
31*4882a593Smuzhiyun #ifndef MIPOINTRST_H
32*4882a593Smuzhiyun #define MIPOINTRST_H
33*4882a593Smuzhiyun 
34*4882a593Smuzhiyun #include "mipointer.h"
35*4882a593Smuzhiyun #include "scrnintstr.h"
36*4882a593Smuzhiyun 
37*4882a593Smuzhiyun typedef struct {
38*4882a593Smuzhiyun     miPointerSpriteFuncPtr spriteFuncs; /* sprite-specific methods */
39*4882a593Smuzhiyun     miPointerScreenFuncPtr screenFuncs; /* screen-specific methods */
40*4882a593Smuzhiyun     CloseScreenProcPtr CloseScreen;
41*4882a593Smuzhiyun     Bool waitForUpdate;         /* don't move cursor from input thread */
42*4882a593Smuzhiyun     Bool showTransparent;       /* show empty cursors */
43*4882a593Smuzhiyun } miPointerScreenRec, *miPointerScreenPtr;
44*4882a593Smuzhiyun #endif                          /* MIPOINTRST_H */
45