1 /*------------------------------------------------------------\
2 |                                                             |
3 | This file is part of the Alliance CAD System Copyright      |
4 | (C) Laboratoire LIP6 - D�partement ASIM Universite P&M Curie|
5 |                                                             |
6 | Home page      : http://www-asim.lip6.fr/alliance/          |
7 | E-mail         : mailto:alliance-users@asim.lip6.fr       |
8 |                                                             |
9 | This progam is  free software; you can redistribute it      |
10 | and/or modify it under the  terms of the GNU General Public |
11 | License as  published by the Free Software Foundation;      |
12 | either version 2 of the License, or (at your option) any    |
13 | later version.                                              |
14 |                                                             |
15 | Alliance VLSI  CAD System  is distributed  in the hope that |
16 | it  will be useful, but WITHOUT  ANY WARRANTY;              |
17 | without even the  implied warranty of MERCHANTABILITY or    |
18 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General       |
19 | Public License for more details.                            |
20 |                                                             |
21 | You should have received a copy  of the GNU General Public  |
22 | License along with the GNU C Library; see the file COPYING. |
23 | If not, write to the Free Software Foundation, Inc.,        |
24 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                     |
25 |                                                             |
26 \------------------------------------------------------------*/
27 
28 /*------------------------------------------------------------\
29 |                                                             |
30 | Tool    :                   GRAAL                           |
31 |                                                             |
32 | File    :                   Event.h                         |
33 |                                                             |
34 | Author  :                Jacomme Ludovic                    |
35 |                                                             |
36 | Date    :                  28.03.95                         |
37 |                                                             |
38 \------------------------------------------------------------*/
39 
40 /*------------------------------------------------------------\
41 |                                                             |
42 |                         Include Files                       |
43 |                                                             |
44 \------------------------------------------------------------*/
45 
46 # ifndef GRAAL_EVENT
47 # define GRAAL_EVENT
48 
49 /*------------------------------------------------------------\
50 |                                                             |
51 |                           Constants                         |
52 |                                                             |
53 \------------------------------------------------------------*/
54 
55 # define GRAAL_B1DN          0
56 # define GRAAL_B3DN          1
57 # define GRAAL_MOTION        2
58 # define GRAAL_ENTER         3
59 # define GRAAL_LEAVE         4
60 
61 # define GRAAL_KEY_UP        5
62 # define GRAAL_KEY_DN        6
63 # define GRAAL_KEY_LEFT      7
64 # define GRAAL_KEY_RIGHT     8
65 
66 # define GRAAL_KEY_MORE      9
67 # define GRAAL_KEY_LESS     10
68 
69 # define GRAAL_KEY_FIT      11
70 # define GRAAL_KEY_REFRESH  12
71 # define GRAAL_KEY_UNZOOM   13
72 
73 # define GRAAL_KEY_ZOOM_IN  14
74 # define GRAAL_KEY_CENTER   15
75 # define GRAAL_KEY_PAN      16
76 
77 # define GRAAL_KEY_DN_LAYER 17
78 # define GRAAL_KEY_UP_LAYER 18
79 
80 # define GRAAL_MAX_EVENT_BUFFER 128
81 
82 /*------------------------------------------------------------\
83 |                                                             |
84 |                            Types                            |
85 |                                                             |
86 \------------------------------------------------------------*/
87 /*------------------------------------------------------------\
88 |                                                             |
89 |                          Variables                          |
90 |                                                             |
91 \------------------------------------------------------------*/
92 /*------------------------------------------------------------\
93 |                                                             |
94 |                          Functions                          |
95 |                                                             |
96 \------------------------------------------------------------*/
97 
98   extern void GraalInitializeEvent();
99   extern void GraalDisplayEditMeasure();
100 
101 # endif
102