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.c                         |
33 |                                                             |
34 | Author  :                Jacomme Ludovic                    |
35 |                                                             |
36 | Date    :                  28.03.95                         |
37 |                                                             |
38 \------------------------------------------------------------*/
39 
40 /*------------------------------------------------------------\
41 |                                                             |
42 |                         Include Files                       |
43 |                                                             |
44 \------------------------------------------------------------*/
45 
46 # include <stdio.h>
47 # include <Xm/Xm.h>
48 # include <Xm/PushB.h>
49 # include <Xm/Form.h>
50 # include <Xm/Frame.h>
51 
52 # include "mut.h"
53 # include "mph.h"
54 # include "rds.h"
55 # include "rpr.h"
56 # include "GSB.h"
57 # include "GTB.h"
58 # include "GMF.h"
59 # include "GME.h"
60 # include "GMC.h"
61 # include "GMV.h"
62 # include "GMT.h"
63 # include "GMS.h"
64 # include "GMH.h"
65 # include "GMX.h"
66 
67 # include "GMX_panel.h"
68 # include "GME_panel.h"
69 
70 /*------------------------------------------------------------\
71 |                                                             |
72 |                           Constants                         |
73 |                                                             |
74 \------------------------------------------------------------*/
75 /*------------------------------------------------------------\
76 |                                                             |
77 |                            Types                            |
78 |                                                             |
79 \------------------------------------------------------------*/
80 /*------------------------------------------------------------\
81 |                                                             |
82 |                          Variables                          |
83 |                                                             |
84 \------------------------------------------------------------*/
85 /*------------------------------------------------------------\
86 |                                                             |
87 |                          Functions                          |
88 |                                                             |
89 \------------------------------------------------------------*/
90 /*------------------------------------------------------------\
91 |                                                             |
92 |                    GraalInitializePanel                     |
93 |                                                             |
94 \------------------------------------------------------------*/
95 
GraalInitializePanel()96 void GraalInitializePanel()
97 
98 {
99   rdsbegin();
100 
101   GraalBuildPanelLayer();
102   GraalBuildPanelModify();
103   GraalBuildPanelCreate();
104 
105   GraalBuildPanel( GraalMainWindow, &GraalToolsGlobalPanel        );
106   GraalBuildPanel( GraalMainWindow, &GraalToolsMessagePanel       );
107   GraalBuildPanel( GraalMainWindow, &GraalToolsDrucPanel          );
108   GraalBuildPanel( GraalMainWindow, &GraalToolsHierarchyPanel     );
109   GraalBuildPanel( GraalMainWindow, &GraalToolsHierarchyShowPanel );
110 
111   GraalBuildPanel( GraalMainWindow, &GraalViewArrowsPanel        );
112   GraalBuildPanel( GraalMainWindow, &GraalViewZoomPanel          );
113   GraalBuildPanel( GraalMainWindow, &GraalViewLayerPanel         );
114   GraalBuildPanel( GraalMainWindow, &GraalViewGridPanel          );
115 
116   GraalBuildPanel( GraalMainWindow, &GraalCreateSegmentPanel     );
117   GraalBuildPanel( GraalMainWindow, &GraalCreateViaPanel         );
118   GraalBuildPanel( GraalMainWindow, &GraalCreateBigViaPanel      );
119   GraalBuildPanel( GraalMainWindow, &GraalCreateTransistorPanel  );
120   GraalBuildPanel( GraalMainWindow, &GraalCreateConnectorPanel   );
121   GraalBuildPanel( GraalMainWindow, &GraalCreateReferencePanel   );
122   GraalBuildPanel( GraalMainWindow, &GraalCreateInstancePanel    );
123 
124   GraalBuildPanel( GraalMainWindow, &GraalEditGlobalPanel        );
125   GraalBuildPanel( GraalMainWindow, &GraalWindowGlobalPanel      );
126   GraalBuildPanel( GraalMainWindow, &GraalEditSelectPanel        );
127   GraalBuildPanel( GraalMainWindow, &GraalEditSearchPanel        );
128   GraalBuildPanel( GraalMainWindow, &GraalEditSearchViewPanel    );
129   GraalBuildPanel( GraalMainWindow, &GraalEditIdentifyPanel      );
130 
131   GraalBuildPanel( GraalMainWindow, &GraalModifySegmentPanel     );
132   GraalBuildPanel( GraalMainWindow, &GraalModifyConnectorPanel   );
133   GraalBuildPanel( GraalMainWindow, &GraalModifyTransistorPanel  );
134   GraalBuildPanel( GraalMainWindow, &GraalModifyReferencePanel   );
135   GraalBuildPanel( GraalMainWindow, &GraalModifyViaPanel         );
136   GraalBuildPanel( GraalMainWindow, &GraalModifyBigViaPanel      );
137   GraalBuildPanel( GraalMainWindow, &GraalModifyInstancePanel    );
138 
139   GraalBuildPanel( GraalMainWindow, &GraalSetupInformationsPanel );
140 
141   GraalBuildPresentPanel();
142 
143   rdsend();
144 }
145