~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xnest/XNCursor.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Xorg: Cursor.h,v 1.3 2000/08/17 19:53:28 cpqbld Exp $ */
 
2
/*
 
3
 
 
4
Copyright 1993 by Davor Matic
 
5
 
 
6
Permission to use, copy, modify, distribute, and sell this software
 
7
and its documentation for any purpose is hereby granted without fee,
 
8
provided that the above copyright notice appear in all copies and that
 
9
both that copyright notice and this permission notice appear in
 
10
supporting documentation.  Davor Matic makes no representations about
 
11
the suitability of this software for any purpose.  It is provided "as
 
12
is" without express or implied warranty.
 
13
 
 
14
*/
 
15
/* $XFree86: xc/programs/Xserver/hw/xnest/XNCursor.h,v 1.2 2002/11/23 19:27:50 tsi Exp $ */
 
16
 
 
17
#ifndef XNESTCURSOR_H
 
18
#define XNESTCURSOR_H
 
19
 
 
20
typedef struct {
 
21
  Cursor cursor;
 
22
} xnestPrivCursor;
 
23
 
 
24
#define xnestCursorPriv(pCursor, pScreen) \
 
25
  ((xnestPrivCursor *)((pCursor)->devPriv[pScreen->myNum]))
 
26
 
 
27
#define xnestCursor(pCursor, pScreen) \
 
28
  (xnestCursorPriv(pCursor, pScreen)->cursor)
 
29
 
 
30
Bool xnestRealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
 
31
Bool xnestUnrealizeCursor(ScreenPtr pScreen, CursorPtr pCursor);
 
32
void xnestSetCursor (ScreenPtr pScreen, CursorPtr pCursor, int x, int y);
 
33
void xnestMoveCursor (ScreenPtr pScreen, int x, int y);
 
34
 
 
35
#endif /* XNESTCURSOR_H */