Fix our use of $em_tab_dist after it was changed to 0 for 'turned of'.
[nedit.git] / source / help.h
blob4e18309b97566c3f078e5a68390c2c68ddc2f022
1 /* $Id: help.h,v 1.13 2008/01/04 22:11:03 yooden Exp $ */
2 /*******************************************************************************
3 * *
4 * help.h -- Nirvana Editor Help Display *
5 * *
6 * Copyright (c) 1999-2001 Mark Edel *
7 * *
8 * This is free software; you can redistribute it and/or modify it under the *
9 * terms of the GNU General Public License as published by the Free Software *
10 * Foundation; either version 2 of the License, or (at your option) any later *
11 * version. In addition, you may distribute version of this program linked to *
12 * Motif or Open Motif. See README for details. *
13 * *
14 * This software is distributed in the hope that it will be useful, but WITHOUT *
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
17 * for more details. *
18 * *
19 * You should have received a copy of the GNU General Public License along with *
20 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *
21 * Place, Suite 330, Boston, MA 02111-1307 USA *
22 * *
23 * Nirvana Text Editor *
24 * September 10, 1991 *
25 * *
26 * Written by Mark Edel *
27 * *
28 *******************************************************************************/
30 #ifndef NEDIT_HELP_H_INCLUDED
31 #define NEDIT_HELP_H_INCLUDED
33 #include "help_topic.h"
35 #include <X11/Intrinsic.h>
37 /*============================================================================*/
38 /* VARIABLE TYPE DEFINITIONS */
39 /*============================================================================*/
41 typedef struct HelpMenu /* Maintains help menu structure */
43 struct HelpMenu * next;
44 int level; /* menu level, submenu > 1 */
45 enum HelpTopic topic; /* HELP_none for submenu & separator */
46 char * wgtName;
47 int hideIt; /* value which determines displayability */
48 char mnemonic; /* '-' for separator */
49 char * subTitle; /* title for sub menu, or NULL */
50 } HelpMenu;
52 typedef struct Href /* Source to topic internal hyperlinks */
54 struct Href * next;
55 int location; /* position to link in topic */
56 enum HelpTopic topic; /* target of link in this topic */
57 char * source; /* hypertext link characters */
58 } Href;
60 /*============================================================================*/
61 /* VARIABLE DECLARATIONS */
62 /*============================================================================*/
64 extern HelpMenu H_M[];
65 extern char *HelpTitles[];
66 extern const char linkdate[];
67 extern const char linktime[];
69 /*============================================================================*/
70 /* PROGRAM PROTOTYPES */
71 /*============================================================================*/
73 void Help(enum HelpTopic topic);
74 void PrintVersion(void);
75 void InstallHelpLinkActions(XtAppContext context);
77 #endif /* NEDIT_HELP_H_INCLUDED */