Link with C++ linker
[oweals/cde.git] / cde / programs / dticon / help.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: help.h /main/3 1995/11/02 14:05:30 rswiston $ */
24 /*********************************************************************
25 *  (c) Copyright 1993, 1994 Hewlett-Packard Company
26 *  (c) Copyright 1993, 1994 International Business Machines Corp.
27 *  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
28 *  (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary of
29 *      Novell, Inc.
30 **********************************************************************/
31 #include "externals.h"
32
33 /* help index flags */
34 #define HELP_QUERY                      1
35 #define HELP_ERROR                      2
36 #define HELP_ADD_HOTSPOT_BUTTON         4
37 #define HELP_CIRCLE_BUTTON              5
38 #define HELP_CLEAR_ICON_BUTTON          6
39 #define HELP_COPY_BUTTON                7
40 #define HELP_CUT_BUTTON                 8
41 #define HELP_DELETE_HOTSPOT_BUTTON      9
42 #define HELP_DYNAMIC_COLOR_BUTTON       10
43 #define HELP_EDIT_BUTTON                11
44 #define HELP_ELLIPSE_BUTTON             12
45 #define HELP_ERASER_BUTTON              13
46 #define HELP_FILE_BUTTON                14
47 #define HELP_FLIP_BUTTON                15
48 #define HELP_FLOOD_BUTTON               16
49 #define HELP_HELP_BUTTON                17
50 #define HELP_LINE_BUTTON                19
51 #define HELP_MAGNIFICATION_BUTTON       20
52 #define HELP_MENUBAR                    21
53 #define HELP_NEW_BUTTON                 23
54 #define HELP_NEW_ICON                   24
55 #define HELP_OPEN_BUTTON                25
56 #define HELP_OPTIONS_BUTTON             26
57 #define HELP_OUTPUT_FORMAT_BUTTON       27
58 #define HELP_PASTE_BUTTON               29
59 #define HELP_POINT_BUTTON               30
60 #define HELP_POLYGON_BUTTON             31
61 #define HELP_POLYLINE_BUTTON            32
62 #define HELP_QUIT_BUTTON                33
63 #define HELP_RECTANGLE_BUTTON           34
64 #define HELP_RESIZE_ICON_BUTTON         35
65 #define HELP_ROTATE_BUTTON              36
66 #define HELP_SAVE_AS_BUTTON             37
67 #define HELP_SAVE_BUTTON                38
68 #define HELP_SCALE_BUTTON               39
69 #define HELP_SELECT_BUTTON              40
70 #define HELP_STATIC_COLOR_BUTTON        41
71 #define HELP_STATIC_GREY_BUTTON         42
72 #define HELP_UNDO_BUTTON                44
73 #define HELP_VISIBLE_GRID_BUTTON        46
74 #define HELP_GRAB_BUTTON                47
75 #define HELP_FILL_BUTTON                48
76 #define HELP_VIEWPORT                   49
77 #define HELP_MAIN_WINDOW                50
78 #define HELP_FILEIO_ICON                51
79
80
81 #define HELP_HELP_INTRODUCTION          60
82 #define HELP_HELP_TASKS                 61
83 #define HELP_HELP_REFERENCE             62
84 #define HELP_HELP_ON_ITEM               63
85 #define HELP_HELP_USING_HELP            64
86 #define HELP_HELP_VERSION               65
87
88 #define HELP_INTRODUCTION               70
89 #define HELP_TASKS                      71
90 #define HELP_REFERENCE                  72
91 #define HELP_ON_ITEM                    73
92 #define HELP_USING_HELP                 74
93 #define HELP_VERSION                    75
94
95
96
97 /* help index strings */
98 #define HELP_QUERY_STR                  "query"
99 #define HELP_ERROR_STR                  "error"
100 #define HELP_ADD_HOTSPOT_BUTTON_STR     "add-hotspot"
101 #define HELP_CIRCLE_BUTTON_STR          "circle-tool"
102 #define HELP_CLEAR_ICON_BUTTON_STR      "clear-icon"
103 #define HELP_COPY_BUTTON_STR            "copy"
104 #define HELP_CUT_BUTTON_STR             "cut"
105 #define HELP_DELETE_HOTSPOT_BUTTON_STR  "delete-hotspot"
106 #define HELP_DYNAMIC_COLOR_BUTTON_STR   "dymanic-colors"
107 #define HELP_EDIT_BUTTON_STR            "edit-menu"
108 #define HELP_ELLIPSE_BUTTON_STR         "ellipse-tool"
109 #define HELP_ERASER_BUTTON_STR          "eraser-tool"
110 #define HELP_FILE_BUTTON_STR            "file-menu"
111 #define HELP_FILL_BUTTON_STR            "fill-tool"
112 #define HELP_FLIP_BUTTON_STR            "flip"
113 #define HELP_FLOOD_BUTTON_STR           "flood-tool"
114 #define HELP_HELP_BUTTON_STR            "help-menu"
115 #define HELP_LINE_BUTTON_STR            "line-tool"
116 #define HELP_MAGNIFICATION_BUTTON_STR   "magnification"
117 #define HELP_MAIN_WINDOW_STR            "main"
118 #define HELP_FILEIO_ICON_STR            "IEopenDB"
119 #define HELP_MENUBAR_STR                "menubar"
120 #define HELP_NEW_ICON_STR               "newIcon"
121 #define HELP_NEW_BUTTON_STR             "new"
122 #define HELP_OPEN_BUTTON_STR            "open"
123 #define HELP_OPTIONS_BUTTON_STR         "options-menu"
124 #define HELP_OUTPUT_FORMAT_BUTTON_STR   "output-format"
125 #define HELP_PASTE_BUTTON_STR           "paste"
126 #define HELP_POINT_BUTTON_STR           "point-tool"
127 #define HELP_POLYGON_BUTTON_STR         "polygon-tool"
128 #define HELP_POLYLINE_BUTTON_STR        "polyline-tool"
129 #define HELP_QUIT_BUTTON_STR            "quit"
130 #define HELP_RECTANGLE_BUTTON_STR       "rectangle-tool"
131 #define HELP_RESIZE_ICON_BUTTON_STR     "resize"
132 #define HELP_ROTATE_BUTTON_STR          "rotate"
133 #define HELP_SAVE_AS_BUTTON_STR         "save-as"
134 #define HELP_SAVE_BUTTON_STR            "save"
135 #define HELP_SCALE_BUTTON_STR           "scale"
136 #define HELP_SELECT_BUTTON_STR          "select-tool"
137 #define HELP_STATIC_COLOR_BUTTON_STR    "static-colors"
138 #define HELP_STATIC_GREY_BUTTON_STR     "static-greys"
139 #define HELP_UNDO_BUTTON_STR            "undo"
140 #define HELP_VIEWPORT_STR               "viewport"
141 #define HELP_VISIBLE_GRID_BUTTON_STR    "visible-grid"
142 #define HELP_GRAB_BUTTON_STR            "grab-image"
143
144 #define HELP_HELP_INTRODUCTION_STR      "help-menu-introduction"
145 #define HELP_HELP_TASKS_STR             "help-menu-tasks"
146 #define HELP_HELP_REFERENCE_STR         "help-menu-reference"
147 #define HELP_HELP_ON_ITEM_STR           "help-menu-onItem"
148 #define HELP_HELP_USING_HELP_STR        "help-menu-usingHelp"
149 #define HELP_HELP_VERSION_STR           "help-menu-version"
150
151 /* these are for the activate callback on the help menu items */
152 #define HELP_INTRODUCTION_STR           "_HOMETOPIC"
153 #define HELP_TASKS_STR                  "tasks"
154 #define HELP_REFERENCE_STR              "reference"
155 #define HELP_ON_ITEM_STR                "onItem"
156 #define HELP_USING_HELP_STR             "_HOMETOPIC"
157 #define HELP_VERSION_STR                "_COPYRIGHT"
158
159 #define HELP_VOLUME                     "Iconed"
160 #define HELP_HELP_VOLUME                "Help4Help"