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    :                  GMV101.h                         |
33 |                                                             |
34 | Author  :                Jacomme Ludovic                    |
35 |                                                             |
36 | Date    :                  28.03.95                         |
37 |                                                             |
38 \------------------------------------------------------------*/
39 
40 /*------------------------------------------------------------\
41 |                                                             |
42 |                           Constants                         |
43 |                                                             |
44 \------------------------------------------------------------*/
45 
46 # ifndef GRAAL_GMV
47 # define GRAAL_GMV
48 
49 /*------------------------------------------------------------\
50 |                                                             |
51 |                            Types                            |
52 |                                                             |
53 \------------------------------------------------------------*/
54 /*------------------------------------------------------------\
55 |                                                             |
56 |                          Variables                          |
57 |                                                             |
58 \------------------------------------------------------------*/
59 
60   extern char GraalFirstViewLayer;
61 
62 /*------------------------------------------------------------\
63 |                                                             |
64 |                        Panel And Menu                       |
65 |                                                             |
66 \------------------------------------------------------------*/
67 
68   extern GraalMenuItem  GraalViewMenu[];
69   extern GraalPanelItem GraalViewArrowsPanel;
70   extern GraalPanelItem GraalViewZoomPanel;
71   extern GraalPanelItem GraalViewGridPanel;
72   extern GraalPanelItem GraalViewLayerPanel;
73   extern GraalPanelItem GraalViewMapPanel;
74 
75   extern int  GraalPercentZoom;
76   extern int  GraalPercentMoveX;
77   extern int  GraalPercentMoveY;
78 
79   extern int  GraalViewArrowsDefaultValues[5];
80   extern int  GraalViewZoomDefaultValues[5];
81   extern int  GraalViewLayerDefaultValues[5];
82   extern int  GraalViewGridDefaultValues[5];
83   extern int  GraalViewMapDefaultValues[5];
84 
85 /*------------------------------------------------------------\
86 |                                                             |
87 |                          Functions                          |
88 |                                                             |
89 \------------------------------------------------------------*/
90 /*------------------------------------------------------------\
91 |                                                             |
92 |                           Values                            |
93 |                                                             |
94 \------------------------------------------------------------*/
95 /*------------------------------------------------------------\
96 |                                                             |
97 |                          Callback                           |
98 |                                                             |
99 \------------------------------------------------------------*/
100 /*------------------------------------------------------------\
101 |                                                             |
102 |                            Zoom                             |
103 |                                                             |
104 \------------------------------------------------------------*/
105 
106   extern void GraalComputeAndDisplayMap();
107   extern void GraalInitializeZoom();
108   extern void GraalBuildViewDialog();
109   extern void GraalBuildPanelMap();
110   extern void GraalBuildPanelLayer();
111   extern void GraalInitializeMapEvent();
112 
113   extern void GraalZoomCenter();
114   extern void GraalZoomRefresh();
115   extern void GraalZoomIn();
116   extern void GraalZoomPan();
117 
118   extern void GraalZoomUndo();
119 
120   extern void GraalZoomLeft();
121   extern void GraalZoomRight();
122   extern void GraalZoomUp();
123   extern void GraalZoomDown();
124 
125   extern void GraalZoomMore();
126   extern void GraalZoomLess();
127 
128   extern void GraalZoomFit();
129 
130   extern void GraalPromptZoomIn();
131   extern void GraalPromptZoomPan();
132   extern void GraalPromptZoomCenter();
133 
134 # endif
135