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    :                  Panel.h                          |
33 |                                                             |
34 | Author  :                Jacomme Ludovic                    |
35 |                                                             |
36 | Date    :                  25/02/93                         |
37 |                                                             |
38 \------------------------------------------------------------*/
39 
40 /*------------------------------------------------------------\
41 |                                                             |
42 |                         Include Files                       |
43 |                                                             |
44 \------------------------------------------------------------*/
45 
46 # ifndef GRAAL_VIEW_PANEL
47 # define GRAAL_VIEW_PANEL
48 
49 /*------------------------------------------------------------\
50 |                                                             |
51 |                           Constants                         |
52 |                                                             |
53 \------------------------------------------------------------*/
54 
55 # define GRAAL_VIEW_ARROWS_X     990
56 # define GRAAL_VIEW_ARROWS_Y      80
57 # define GRAAL_VIEW_ZOOM_X       990
58 # define GRAAL_VIEW_ZOOM_Y       230
59 # define GRAAL_VIEW_LAYER_X      430
60 # define GRAAL_VIEW_LAYER_Y       90
61 # define GRAAL_VIEW_GRID_X       470
62 # define GRAAL_VIEW_GRID_Y       330
63 
64 /*------------------------------------------------------------\
65 |                                                             |
66 |                            Types                            |
67 |                                                             |
68 \------------------------------------------------------------*/
69 /*------------------------------------------------------------\
70 |                                                             |
71 |                          Variables                          |
72 |                                                             |
73 \------------------------------------------------------------*/
74 /*------------------------------------------------------------\
75 |                                                             |
76 |                          Functions                          |
77 |                                                             |
78 \------------------------------------------------------------*/
79 /*------------------------------------------------------------\
80 |                                                             |
81 |                       Callback View Panel                   |
82 |                                                             |
83 \------------------------------------------------------------*/
84 
85   extern void CallbackLeftArrow();
86   extern void CallbackRightArrow();
87   extern void CallbackUpArrow();
88   extern void CallbackDownArrow();
89   extern void CallbackMoveSet();
90   extern void CallbackCloseArrows();
91 
92   extern void CallbackZoomRefresh();
93   extern void CallbackZoomPrevious();
94   extern void CallbackZoomLess();
95   extern void CallbackZoomMore();
96   extern void CallbackZoomSet();
97   extern void CallbackZoomIn();
98   extern void CallbackZoomFit();
99   extern void CallbackZoomCenter();
100   extern void CallbackZoomGoto();
101   extern void CallbackZoomPan();
102   extern void CallbackCloseZoom();
103 
104   extern void CallbackLayerAllVisible();
105   extern void CallbackLayerAllInvisible();
106   extern void CallbackNameVisible();
107   extern void CallbackNameInvisible();
108   extern void CallbackLayerVisible();
109   extern void CallbackLayerInvisible();
110   extern void CallbackLayerFillMode();
111   extern void CallbackLayerInterface();
112   extern void CallbackLayerIndex();
113   extern void CallbackLayerCursor();
114   extern void CallbackLayerForceDisplay();
115   extern void CallbackLayerScale();
116   extern void CallbackLayerBlackBoxString();
117   extern void CallbackLayerApply();
118   extern void CallbackCloseLayer();
119 
120   extern void GraalSetLayerVisible();
121   extern void GraalSetLayerInvisible();
122   extern void GraalSetNameVisible();
123   extern void GraalSetNameInvisible();
124   extern void GraalLayerAllVisible();
125   extern void GraalLayerAllInvisible();
126   extern void GraalChangeFillMode();
127   extern void GraalChangeInterface();
128   extern void GraalChangeIndex();
129   extern void GraalChangeCursor();
130   extern void GraalChangeForceDisplay();
131   extern void GraalChangeScale();
132   extern void GraalChangeBlackBoxString();
133 
134   extern void CallbackSetGridX();
135   extern void CallbackSetGridY();
136   extern void CallbackGridOnOff();
137   extern void CallbackCloseGrid();
138 
139   extern void GraalInitializeLayer();
140 
141 # endif
142