2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: Help.h /main/5 1996/03/25 00:51:20 pascale $ */
25 ****************************************************************************
31 ** Description: header file for the help portion of Dtstyle
34 ****************************************************************************/
36 * (c) Copyright 1996 Digital Equipment Corporation.
37 * (c) Copyright 1990, 1996 Hewlett-Packard Company.
38 * (c) Copyright 1996 International Business Machines Corp.
39 * (c) Copyright 1996 Sun Microsystems, Inc.
40 * (c) Copyright 1996 Novell, Inc.
41 * (c) Copyright 1996 FUJITSU LIMITED.
42 * (c) Copyright 1996 Hitachi.
49 * defines for help on the main window
51 #define HELP_MAIN_WINDOW 40
52 #define HELP_MAIN_WINDOW_STR "mainWindow"
55 * defines for help on the menubar
57 #define HELP_MENUBAR 1
58 #define HELP_MENUBAR_STR "menubar"
61 * defines for help on the menubar buttons
63 #define HELP_FILE_BUTTON 2
64 #define HELP_HELP_BUTTON 3
66 #define HELP_FILE_BUTTON_STR "fileButton"
67 #define HELP_HELP_BUTTON_STR "helpButton"
70 * defines for help on the menu panes
72 #define HELP_FILE_MENU 4
73 #define HELP_HELP_MENU 5
75 #define HELP_FILE_MENU_STR "fileMenu"
76 #define HELP_HELP_MENU_STR "helpMenu"
79 * defines for help on the File menu items
82 #define HELP_EXIT_STR "exitMenu"
85 * defines for help on the Help menu items
87 #define HELP_INTRODUCTION 7
88 #define HELP_TASKS 8 /* unused */
89 #define HELP_REFERENCE 9
91 #define HELP_USING 11 /* unused */
92 #define HELP_VERSION 12
94 #define HELP_USING_HELP_VOLUME "Help4Help"
95 #define HELP_VOLUME "Stylemgr"
97 #define HELP_INTRODUCTION_STR "_homeTopic"
98 #define HELP_TASKS_STR "tasks"
99 #define HELP_REFERENCE_STR "reference"
100 #define HELP_ITEM_STR "onItem"
101 #define HELP_USING_STR "_hometopic"
102 #define HELP_VERSION_STR "_copyright"
105 * defines for the Dtstyle main window buttons
107 #define HELP_COLOR_BUTTON 14
108 #define HELP_FONT_BUTTON 15
109 #define HELP_BACKDROP_BUTTON 16
110 #define HELP_KEYBOARD_BUTTON 17
111 #define HELP_MOUSE_BUTTON 18
112 #define HELP_AUDIO_BUTTON 19
113 #define HELP_SCREEN_BUTTON 20
114 #define HELP_DTWM_BUTTON 21
115 #define HELP_STARTUP_BUTTON 22
116 #define HELP_I18N_BUTTON 23
118 #define HELP_COLOR_BUTTON_STR "colorButton"
119 #define HELP_FONT_BUTTON_STR "fontButton"
120 #define HELP_BACKDROP_BUTTON_STR "backdropButton"
121 #define HELP_KEYBOARD_BUTTON_STR "keyboardButton"
122 #define HELP_MOUSE_BUTTON_STR "mouseButton"
123 #define HELP_AUDIO_BUTTON_STR "audioButton"
124 #define HELP_SCREEN_BUTTON_STR "screenButton"
125 #define HELP_DTWM_BUTTON_STR "dtwmButton"
126 #define HELP_STARTUP_BUTTON_STR "startupButton"
127 #define HELP_I18N_BUTTON_STR "i18nButton"
130 * defines for help on the Color dialogs
132 #define HELP_COLOR_DIALOG 24
133 #define HELP_ADD_PALETTE_DIALOG 25
134 #define HELP_ADD_PALETTE_WARNING_DIALOG 26
135 #define HELP_DELETE_PALETTE_DIALOG 27
136 #define HELP_DELETE_PALETTE_WARNING_DIALOG 28
137 #define HELP_MODIFY_PALETTE_DIALOG 29
138 #define HELP_COLOR_USE_DIALOG 30
140 #define HELP_COLOR_DIALOG_STR "colorDialog"
141 #define HELP_ADD_PALETTE_DIALOG_STR "addPaletteDialog"
142 #define HELP_ADD_PALETTE_WARNING_DIALOG_STR "addPaletteWarningDialog"
143 #define HELP_DELETE_PALETTE_DIALOG_STR "deletePaletteDialog"
144 #define HELP_DELETE_PALETTE_WARNING_DIALOG_STR "deletePaletteWarningDialog"
145 #define HELP_MODIFY_PALETTE_DIALOG_STR "modifyPaletteDialog"
146 #define HELP_COLOR_USE_DIALOG_STR "colorUseDialog"
149 * defines for help on the Font dialog
151 #define HELP_FONT_DIALOG 31
152 #define HELP_FONT_DIALOG_STR "fontDialog"
155 * defines for help on the Backdrop dialog
157 #define HELP_BACKDROP_DIALOG 32
158 #define HELP_BACKDROP_DIALOG_STR "backdropDialog"
161 * defines for help on the Keyboard dialog
163 #define HELP_KEYBOARD_DIALOG 33
164 #define HELP_KEYBOARD_DIALOG_STR "keyboardDialog"
167 * defines for help on the Mouse dialog
169 #define HELP_MOUSE_DIALOG 34
170 #define HELP_MOUSE_DIALOG_STR "mouseDialog"
173 * defines for help on the Audio dialog
175 #define HELP_AUDIO_DIALOG 35
176 #define HELP_AUDIO_DIALOG_STR "audioDialog"
179 * defines for help on the Screen dialog
181 #define HELP_SCREEN_DIALOG 36
182 #define HELP_SCREEN_DIALOG_STR "screenDialog"
185 * defines for help on the Dtwm dialog
187 #define HELP_DTWM_DIALOG 37
188 #define HELP_DTWM_DIALOG_STR "dtwmDialog"
191 * defines for help on the Startup dialog
193 #define HELP_STARTUP_DIALOG 38
194 #define HELP_STARTUP_DIALOG_STR "startupDialog"
197 * defines for help on the I18n dialog
199 #define HELP_I18N_DIALOG 39
200 #define HELP_I18N_DIALOG_STR "i18nDialog"
202 /* typedef statements */
204 typedef struct _helpStruct {
205 struct _helpStruct *pNext;
206 struct _helpStruct *pPrev;
212 /* External Interface */
215 extern void HelpRequestCB(
218 caddr_t call_data ) ;
219 extern void QuickHelpRequestCB(
222 caddr_t call_data ) ;
223 extern void HelpModeCB(
226 caddr_t call_data ) ;
227 extern void HelpHyperlinkCB(
230 caddr_t call_data ) ;
231 extern void HelpCloseCB(
234 caddr_t call_data ) ;
238 /* DON'T ADD ANYTHING AFTER THIS #endif */