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

« back to all changes in this revision

Viewing changes to hw/xnest/Drawable.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: Drawable.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$ */
 
16
 
 
17
#ifndef XNESTDRAWABLE_H
 
18
#define XNESTDRAWABLE_H
 
19
 
 
20
#include "XNWindow.h"
 
21
#include "XNPixmap.h"
 
22
 
 
23
#define xnestDrawable(pDrawable) \
 
24
  ((pDrawable)->type == DRAWABLE_WINDOW ? \
 
25
   xnestWindow((WindowPtr)pDrawable) : \
 
26
   xnestPixmap((PixmapPtr)pDrawable))
 
27
 
 
28
#endif /* XNESTDRAWABLE_H */