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: DtMsgsP.h /main/7 1996/06/19 11:27:42 cde-dec $ */
30 * Private header file for libDtWidget
35 /*** const causes the HP compiler to complain. Remove reference until ***
36 *** the build and integration people can figure out how to get this to ***
39 /* #define CONST const */
44 #define DTWIDGET_GETMESSAGE(set, number, string)\
45 (char *) _DtWidgetGetMessage(set, number, string)
48 #define DTWIDGET_GETMESSAGE(set, number, string) string
51 extern CONST char _DtMsgCommon_0000[];
52 extern CONST char _DtMsgCommon_0001[];
53 extern CONST char _DtMsgComboBox_0000[];
54 extern CONST char _DtMsgComboBox_0001[];
55 extern CONST char _DtMsgComboBox_0002[];
56 extern CONST char _DtMsgComboBox_0003[];
57 extern CONST char _DtMsgComboBox_0004[];
58 extern CONST char _DtMsgComboBox_0005[];
59 extern CONST char _DtMsgComboBox_0006[];
60 extern CONST char _DtMsgComboBox_0007[];
61 extern CONST char _DtMsgComboBox_0008[];
62 extern CONST char _DtMsgComboBox_0009[];
63 extern CONST char _DtMsgComboBox_0010[];
64 extern CONST char _DtMsgComboBox_0011[];
65 extern CONST char _DtMsgComboBox_0012[];
66 extern CONST char _DtMsgComboBox_0013[];
67 extern CONST char _DtMsgComboBox_0014[];
68 extern CONST char _DtMsgDialogBox_0000[];
69 extern CONST char _DtMsgDialogBox_0001[];
70 extern CONST char _DtMsgEditor_0000[];
71 extern CONST char _DtMsgEditor_0001[];
72 extern CONST char _DtMsgEditor_0002[];
73 extern CONST char _DtMsgEditor_0003[];
74 extern CONST char _DtMsgEditor_0004[];
75 extern CONST char _DtMsgEditor_0005[];
76 extern CONST char _DtMsgEditor_0006[];
77 extern CONST char _DtMsgEditor_0007[];
78 extern CONST char _DtMsgEditor_0008[];
79 extern CONST char _DtMsgEditor_0009[];
80 extern CONST char _DtMsgEditor_0010[];
81 extern CONST char _DtMsgEditor_0011[];
82 extern CONST char _DtMsgEditor_0012[];
83 extern CONST char _DtMsgEditor_0013[];
84 extern CONST char _DtMsgEditor_0014[];
85 extern CONST char _DtMsgEditor_0015[];
86 extern CONST char _DtMsgEditor_0016[];
87 extern CONST char _DtMsgEditor_0017[];
88 extern CONST char _DtMsgEditor_0018[];
89 extern CONST char _DtMsgEditor_0019[];
90 extern CONST char _DtMsgEditor_0020[];
91 extern CONST char _DtMsgEditor_0021[];
92 extern CONST char _DtMsgEditor_0022[];
93 extern CONST char _DtMsgEditor_0023[];
94 extern CONST char _DtMsgEditor_0024[];
95 extern CONST char _DtMsgEditor_0025[];
96 extern CONST char _DtMsgIcon_0000[];
97 extern CONST char _DtMsgIcon_0001[];
98 extern CONST char _DtMsgIcon_0002[];
99 extern CONST char _DtMsgIcon_0003[];
100 extern CONST char _DtMsgIcon_0004[];
101 extern CONST char _DtMsgIcon_0005[];
102 extern CONST char _DtMsgIndicator_0000[];
103 extern CONST char _DtMsgMenuButton_0000[];
104 extern CONST char _DtMsgMenuButton_0001[];
105 extern CONST char _DtMsgMenuButton_0002[];
106 extern CONST char _DtMsgSpinBox_0000[];
107 extern CONST char _DtMsgSpinBox_0001[];
108 extern CONST char _DtMsgSpinBox_0002[];
109 extern CONST char _DtMsgSpinBox_0003[];
110 extern CONST char _DtMsgSpinBox_0004[];
111 extern CONST char _DtMsgSpinBox_0005[];
112 extern CONST char _DtMsgSpinBox_0006[];
113 extern CONST char _DtMsgSpinBox_0007[];
114 extern CONST char _DtMsgSpinBox_0008[];
115 extern CONST char _DtMsgSpinBox_0009[];
116 extern CONST char _DtMsgSpinBox_0010[];
117 extern CONST char _DtMsgSpinBox_0011[];
118 extern CONST char _DtMsgSpinBox_0012[];
119 extern CONST char _DtMsgSpinBox_0013[];
120 extern CONST char _DtMsgSpinBox_0014[];
121 extern CONST char _DtMsgTitleBox_0000[];
122 extern CONST char _DtMsgTitleBox_0001[];
123 extern CONST char _DtMsgTitleBox_0002[];
124 extern CONST char _DtMsgTitleBox_0003[];
125 extern CONST char _DtMsgTitleBox_0004[];
130 * Message set for shared messages
134 /* Message IDs for shared messages */
139 * Message set for Editor widget
143 /* Message IDs for Editor */
144 #define EDITOR_FORMAT_SETTINGS 1
145 #define EDITOR_RIGHT_MARGIN 2
146 #define EDITOR_LEFT_MARGIN 3
147 #define EDITOR_LEFT_ALIGN 4
148 #define EDITOR_RIGHT_ALIGN 5
149 #define EDITOR_JUSTIFY 6
150 #define EDITOR_CENTER 7
151 #define EDITOR_PARAGRAPH 8
153 #define EDITOR_SPELL_TITLE 20
154 #define EDITOR_FIND_TITLE 21
155 #define EDITOR_MISSPELLED 22
156 #define EDITOR_FIND_LABEL 23
157 #define EDITOR_CHANGE_LABEL 24
158 #define EDITOR_FIND_BUTTON 25
159 #define EDITOR_CHANGE_BUTTON 26
160 #define EDITOR_CHNG_ALL_BUTTON 27
161 #define EDITOR_NO_FIND 30
162 #define EDITOR_INFO_TITLE 31
163 #define EDITOR_LINE 40
164 #define EDITOR_TOTAL 41
165 #define EDITOR_OVR 42
166 #define EDITOR_INS 43
167 #define EDITOR_FILTER_ERROR 50
168 #define EDITOR_FILTER_ERROR2 51
169 #define EDITOR_ERROR_TITLE 52
172 * Message set for MenuButton widget
174 #define MS_MenuButton 4
176 /* Message IDs for MenuButton*/
178 #define MENU_PARENT 2
179 #define MENU_SUBMENU 3
182 * Message set for ComboBox widget
184 #define MS_ComboBox 5
186 /* Message IDs for ComboBox */
187 #define COMBO_ALIGNMENT 1
188 #define COMBO_MARGIN_HEIGHT 2
189 #define COMBO_MARGIN_WIDTH 3
190 #define COMBO_HORIZONTAL_SPACING 4
191 #define COMBO_VERTICAL_SPACING 5
192 #define COMBO_ORIENTATION 6
193 #define COMBO_ITEM_COUNT 7
194 #define COMBO_VISIBLE_ITEM 8
196 #define COMBO_SET_ITEM 10
197 #define COMBO_SELECT_ITEM 11
198 #define COMBO_RESIZE 12
199 #define COMBO_LABEL 13
200 #define COMBO_CVTSTRING 14
201 #define COMBO_DEL_POS 15
204 * Message set for SpinBox widget
208 /* Message IDs for SpinBox */
209 #define SPIN_ARROW_SENSITIVE 1
210 #define SPIN_ALIGNMENT 2
211 #define SPIN_INIT_DELAY 3
212 #define SPIN_MARGIN_HEIGHT 4
213 #define SPIN_MARGIN_WIDTH 5
214 #define SPIN_ARROW_LAYOUT 6
215 #define SPIN_REPEAT_DELAY 7
216 #define SPIN_ITEM_COUNT 8
217 #define SPIN_POSITION_STRING 9
218 #define SPIN_POSITION_NUMERIC 10
219 #define SPIN_DECIMAL_POINTS 11
220 #define SPIN_MIN_MAX 12
222 #define SPIN_SET_ITEM 14
223 #define SPIN_LABEL 15
225 extern char * _DtWidgetGetMessage(
230 #endif /* I18N_MSG */
232 #endif /* _DtMessageh */