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    :                   Menu.c                          |
33 |                                                             |
34 | Author  :                Jacomme Ludovic                    |
35 |                                                             |
36 | Date    :                  28.03.95                         |
37 |                                                             |
38 \------------------------------------------------------------*/
39 /*------------------------------------------------------------\
40 |                                                             |
41 |                         Include Files                       |
42 |                                                             |
43 \------------------------------------------------------------*/
44 
45 # include <stdio.h>
46 # include <Xm/Xm.h>
47 # include <Xm/PushBG.h>
48 
49 # include "mut.h"
50 # include "mph.h"
51 # include "rds.h"
52 # include "rpr.h"
53 # include "GTB.h"
54 # include "GSB.h"
55 # include "GMH.h"
56 # include "GMX.h"
57 
58 # include "GMH_menu.h"
59 # include "GMH_panel.h"
60 
61 /*------------------------------------------------------------\
62 |                                                             |
63 |                           Constants                         |
64 |                                                             |
65 \------------------------------------------------------------*/
66 /*------------------------------------------------------------\
67 |                                                             |
68 |                            Types                            |
69 |                                                             |
70 \------------------------------------------------------------*/
71 /*------------------------------------------------------------\
72 |                                                             |
73 |                          Variables                          |
74 |                                                             |
75 \------------------------------------------------------------*/
76 /*------------------------------------------------------------\
77 |                                                             |
78 |                          Help Menu                          |
79 |                                                             |
80 \------------------------------------------------------------*/
81 
82    GraalMenuItem GraalHelpMenu[] =
83 
84          {
85            {
86              "About Graal",
87              'G',
88              NULL,
89              NULL,
90              &xmPushButtonGadgetClass,
91              False,
92              False,
93              False,
94              CallbackHelpAbout,
95              (XtPointer)NULL,
96              (Widget)NULL,
97              (Widget)NULL,
98              (GraalMenuItem *)NULL
99            }
100            ,
101            {
102              NULL
103            }
104         };
105 
106 /*------------------------------------------------------------\
107 |                                                             |
108 |                          Functions                          |
109 |                                                             |
110 \------------------------------------------------------------*/
111 /*------------------------------------------------------------\
112 |                                                             |
113 |                      CallbackHelpAbout                      |
114 |                                                             |
115 \------------------------------------------------------------*/
116 
CallbackHelpAbout(MyWidget,ClientData,CallData)117 void CallbackHelpAbout( MyWidget, ClientData, CallData )
118 
119      Widget  MyWidget;
120      caddr_t ClientData;
121      caddr_t CallData;
122 {
123   rdsbegin();
124 
125   GraalEnterPresentPanel();
126 
127   rdsend();
128 }
129