~freenx-team/nx-x11/nxcompshad-ubuntu

« back to all changes in this revision

Viewing changes to Regions.h

  • Committer: Marcelo Boveto Shima
  • Date: 2009-01-22 23:14:12 UTC
  • Revision ID: marceloshima@gmail.com-20090122231412-9683ft4r5xwep1nb
Import nxcompshad-3.3.0-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************************************/
 
2
/*                                                                        */
 
3
/* Copyright (c) 2001, 2007 NoMachine, http://www.nomachine.com/.         */
 
4
/*                                                                        */
 
5
/* NXCOMPSHAD, NX protocol compression and NX extensions to this software */
 
6
/* are copyright of NoMachine. Redistribution and use of the present      */
 
7
/* software is allowed according to terms specified in the file LICENSE   */
 
8
/* which comes in the source distribution.                                */
 
9
/*                                                                        */
 
10
/* Check http://www.nomachine.com/licensing.html for applicability.       */
 
11
/*                                                                        */
 
12
/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
 
13
/*                                                                        */
 
14
/* All rights reserved.                                                   */
 
15
/*                                                                        */
 
16
/**************************************************************************/
 
17
 
 
18
#ifndef Region_H
 
19
#define Region_H
 
20
 
 
21
#include <X11/Xlib.h>
 
22
#include <X11/Xutil.h>
 
23
 
 
24
typedef struct {
 
25
    short x1, x2, y1, y2;
 
26
} Box, BOX, BoxRec, *BoxPtr;
 
27
 
 
28
typedef struct _XRegion {
 
29
    long size;
 
30
    long numRects;
 
31
    BOX *rects;
 
32
    BOX extents;
 
33
};
 
34
 
 
35
#endif /* Region_H */