Mercurial > hg > xemacs-beta
comparison src/EmacsFrame.h @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:28:15 +0200 |
parents | |
children | 8de8e3f6228a |
comparison
equal
deleted
inserted
replaced
427:0a0253eac470 | 428:3ecd8885ac67 |
---|---|
1 /* Public header for the Emacs frame widget. | |
2 Copyright (C) 1993-1995 Sun Microsystems, Inc. | |
3 Copyright (C) 1995 Ben Wing. | |
4 | |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 2, or (at your option) any | |
10 later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* Synched up with: Not in FSF. */ | |
23 | |
24 #ifndef _EmacsFrame_h | |
25 #define _EmacsFrame_h | |
26 | |
27 #ifndef XtNminibuffer | |
28 #define XtNminibuffer "minibuffer" | |
29 #endif | |
30 #ifndef XtCMinibuffer | |
31 #define XtCMinibuffer "Minibuffer" | |
32 #endif | |
33 | |
34 #ifndef XtNunsplittable | |
35 #define XtNunsplittable "unsplittable" | |
36 #endif | |
37 #ifndef XtCUnsplittable | |
38 #define XtCUnsplittable "Unsplittable" | |
39 #endif | |
40 | |
41 #ifndef XtNinternalBorderWidth | |
42 #define XtNinternalBorderWidth "internalBorderWidth" | |
43 #endif | |
44 #ifndef XtCInternalBorderWidth | |
45 #define XtCInternalBorderWidth "InternalBorderWidth" | |
46 #endif | |
47 | |
48 #ifndef XtNscrollBarWidth | |
49 #define XtNscrollBarWidth "scrollBarWidth" | |
50 #endif | |
51 #ifndef XtCScrollBarWidth | |
52 #define XtCScrollBarWidth "ScrollBarWidth" | |
53 #endif | |
54 | |
55 #ifndef XtNscrollBarHeight | |
56 #define XtNscrollBarHeight "scrollBarHeight" | |
57 #endif | |
58 #ifndef XtCScrollBarHeight | |
59 #define XtCScrollBarHeight "ScrollBarHeight" | |
60 #endif | |
61 | |
62 #ifndef XtNtopToolBarHeight | |
63 #define XtNtopToolBarHeight "topToolBarHeight" | |
64 #endif | |
65 #ifndef XtCTopToolBarHeight | |
66 #define XtCTopToolBarHeight "TopToolBarHeight" | |
67 #endif | |
68 | |
69 #ifndef XtNbottomToolBarHeight | |
70 #define XtNbottomToolBarHeight "bottomToolBarHeight" | |
71 #endif | |
72 #ifndef XtCBottomToolBarHeight | |
73 #define XtCBottomToolBarHeight "BottomToolBarHeight" | |
74 #endif | |
75 | |
76 #ifndef XtNleftToolBarWidth | |
77 #define XtNleftToolBarWidth "leftToolBarWidth" | |
78 #endif | |
79 #ifndef XtCLeftToolBarWidth | |
80 #define XtCLeftToolBarWidth "LeftToolBarWidth" | |
81 #endif | |
82 | |
83 #ifndef XtNrightToolBarWidth | |
84 #define XtNrightToolBarWidth "rightToolBarWidth" | |
85 #endif | |
86 #ifndef XtCRightToolBarWidth | |
87 #define XtCRightToolBarWidth "RightToolBarWidth" | |
88 #endif | |
89 | |
90 #ifndef XtNtopToolBarBorderWidth | |
91 #define XtNtopToolBarBorderWidth "topToolBarBorderWidth" | |
92 #endif | |
93 #ifndef XtCTopToolBarBorderWidth | |
94 #define XtCTopToolBarBorderWidth "TopToolBarBorderWidth" | |
95 #endif | |
96 | |
97 #ifndef XtNbottomToolBarBorderWidth | |
98 #define XtNbottomToolBarBorderWidth "bottomToolBarBorderWidth" | |
99 #endif | |
100 #ifndef XtCBottomToolBarBorderWidth | |
101 #define XtCBottomToolBarBorderWidth "BottomToolBarBorderWidth" | |
102 #endif | |
103 | |
104 #ifndef XtNleftToolBarBorderWidth | |
105 #define XtNleftToolBarBorderWidth "leftToolBarBorderWidth" | |
106 #endif | |
107 #ifndef XtCLeftToolBarBorderWidth | |
108 #define XtCLeftToolBarBorderWidth "LeftToolBarBorderWidth" | |
109 #endif | |
110 | |
111 #ifndef XtNrightToolBarBorderWidth | |
112 #define XtNrightToolBarBorderWidth "rightToolBarBorderWidth" | |
113 #endif | |
114 #ifndef XtCRightToolBarBorderWidth | |
115 #define XtCRightToolBarBorderWidth "RightToolBarBorderWidth" | |
116 #endif | |
117 | |
118 #ifndef XtNtopToolBarShadowColor | |
119 #define XtNtopToolBarShadowColor "topToolBarShadowColor" | |
120 #endif | |
121 #ifndef XtCTopToolBarShadowColor | |
122 #define XtCTopToolBarShadowColor "TopToolBarShadowColor" | |
123 #endif | |
124 | |
125 #ifndef XtNbottomToolBarShadowColor | |
126 #define XtNbottomToolBarShadowColor "bottomToolBarShadowColor" | |
127 #endif | |
128 #ifndef XtCBottomToolBarShadowColor | |
129 #define XtCBottomToolBarShadowColor "BottomToolBarShadowColor" | |
130 #endif | |
131 | |
132 #ifndef XtNbackgroundToolBarColor | |
133 #define XtNbackgroundToolBarColor "backgroundToolBarColor" | |
134 #endif | |
135 #ifndef XtCBackgroundToolBarColor | |
136 #define XtCBackgroundToolBarColor "BackgroundToolBarColor" | |
137 #endif | |
138 | |
139 #ifndef XtNforegroundToolBarColor | |
140 #define XtNforegroundToolBarColor "foregroundToolBarColor" | |
141 #endif | |
142 #ifndef XtCForegroundToolBarColor | |
143 #define XtCForegroundToolBarColor "ForegroundToolBarColor" | |
144 #endif | |
145 | |
146 #ifndef XtNtopToolBarShadowPixmap | |
147 #define XtNtopToolBarShadowPixmap "topToolBarShadowPixmap" | |
148 #endif | |
149 #ifndef XtCTopToolBarShadowPixmap | |
150 #define XtCTopToolBarShadowPixmap "TopToolBarShadowPixmap" | |
151 #endif | |
152 | |
153 #ifndef XtNbottomToolBarShadowPixmap | |
154 #define XtNbottomToolBarShadowPixmap "bottomToolBarShadowPixmap" | |
155 #endif | |
156 #ifndef XtCBottomToolBarShadowPixmap | |
157 #define XtCBottomToolBarShadowPixmap "BottomToolBarShadowPixmap" | |
158 #endif | |
159 | |
160 #ifndef XtNtoolBarShadowThickness | |
161 #define XtNtoolBarShadowThickness "toolBarShadowThickness" | |
162 #endif | |
163 #ifndef XtCToolBarShadowThickness | |
164 #define XtCToolBarShadowThickness "ToolBarShadowThickness" | |
165 #endif | |
166 | |
167 #ifndef XtNscrollBarPlacement | |
168 #define XtNscrollBarPlacement "scrollBarPlacement" | |
169 #endif | |
170 #ifndef XtCScrollBarPlacement | |
171 #define XtCScrollBarPlacement "ScrollBarPlacement" | |
172 #endif | |
173 #ifndef XtRScrollBarPlacement | |
174 #define XtRScrollBarPlacement "ScrollBarPlacement" | |
175 #endif | |
176 | |
177 #ifndef XtNinterline | |
178 #define XtNinterline "interline" | |
179 #endif | |
180 #ifndef XtCInterline | |
181 #define XtCInterline "Interline" | |
182 #endif | |
183 | |
184 #ifndef XtNfont | |
185 #define XtNfont "font" | |
186 #endif | |
187 #ifndef XtCFont | |
188 #define XtCFont "Font" | |
189 #endif | |
190 | |
191 #ifndef XtNforeground | |
192 #define XtNforeground "foreground" | |
193 #endif | |
194 #ifndef XtCForeground | |
195 #define XtCForeground "Foreground" | |
196 #endif | |
197 | |
198 #ifndef XtNbackground | |
199 #define XtNbackground "background" | |
200 #endif | |
201 #ifndef XtCBackground | |
202 #define XtCBackground "Background" | |
203 #endif | |
204 | |
205 #ifndef XtNiconic | |
206 #define XtNiconic "iconic" | |
207 #endif | |
208 #ifndef XtCIconic | |
209 #define XtCIconic "Iconic" | |
210 #endif | |
211 | |
212 #ifndef XtNcursorColor | |
213 #define XtNcursorColor "cursorColor" | |
214 #endif | |
215 #ifndef XtCCursorColor | |
216 #define XtCCursorColor "CursorColor" | |
217 #endif | |
218 | |
219 #ifndef XtNbarCursor | |
220 #define XtNbarCursor "barCursor" | |
221 #endif | |
222 #ifndef XtCBarCursor | |
223 #define XtCBarCursor "BarCursor" | |
224 #endif | |
225 | |
226 #ifndef XtNvisualBell | |
227 #define XtNvisualBell "visualBell" | |
228 #endif | |
229 #ifndef XtCVisualBell | |
230 #define XtCVisualBell "VisualBell" | |
231 #endif | |
232 | |
233 #ifndef XtNbellVolume | |
234 #define XtNbellVolume "bellVolume" | |
235 #endif | |
236 #ifndef XtCBellVolume | |
237 #define XtCBellVolume "BellVolume" | |
238 #endif | |
239 | |
240 #ifndef XtNpointerBackground | |
241 #define XtNpointerBackground "pointerBackground" | |
242 #endif | |
243 | |
244 #ifndef XtNpointerColor | |
245 #define XtNpointerColor "pointerColor" | |
246 #endif | |
247 | |
248 #ifndef XtNtextPointer | |
249 #define XtNtextPointer "textPointer" | |
250 #endif | |
251 | |
252 #ifndef XtNspacePointer | |
253 #define XtNspacePointer "spacePointer" | |
254 #endif | |
255 | |
256 #ifndef XtNmodeLinePointer | |
257 #define XtNmodeLinePointer "modePointer" | |
258 #endif | |
259 | |
260 #ifndef XtNgcPointer | |
261 #define XtNgcPointer "gcPointer" | |
262 #endif | |
263 | |
264 #ifndef XtNemacsFrame | |
265 #define XtNemacsFrame "emacsFrame" | |
266 #endif | |
267 #ifndef XtCEmacsFrame | |
268 #define XtCEmacsFrame "EmacsFrame" | |
269 #endif | |
270 | |
271 #ifndef XtNgeometry | |
272 #define XtNgeometry "geometry" | |
273 #endif | |
274 #ifndef XtCGeometry | |
275 #define XtCGeometry "Geometry" | |
276 #endif | |
277 | |
278 #ifndef XtNinitialGeometry | |
279 #define XtNinitialGeometry "initialGeometry" | |
280 #endif | |
281 #ifndef XtCInitialGeometry | |
282 #define XtCInitialGeometry "InitialGeometry" | |
283 #endif | |
284 | |
285 #ifndef XtNmenubar | |
286 #define XtNmenubar "menubar" | |
287 #endif | |
288 #ifndef XtCMenubar | |
289 #define XtCMenubar "Menubar" | |
290 #endif | |
291 | |
292 #ifndef XtNinitiallyUnmapped | |
293 #define XtNinitiallyUnmapped "initiallyUnmapped" | |
294 #endif | |
295 #ifndef XtCInitiallyUnmapped | |
296 #define XtCInitiallyUnmapped "InitiallyUnmapped" | |
297 #endif | |
298 | |
299 #ifndef XtNpreferredWidth | |
300 #define XtNpreferredWidth "preferredWidth" | |
301 #endif | |
302 #ifndef XtCPreferredWidth | |
303 #define XtCPreferredWidth "PreferredWidth" | |
304 #endif | |
305 | |
306 #ifndef XtNpreferredHeight | |
307 #define XtNpreferredHeight "preferredHeight" | |
308 #endif | |
309 #ifndef XtCPreferredHeight | |
310 #define XtCPreferredHeight "PreferredHeight" | |
311 #endif | |
312 | |
313 #ifndef XtNuseBackingStore | |
314 #define XtNuseBackingStore "useBackingStore" | |
315 #endif | |
316 #ifndef XtCUseBackingStore | |
317 #define XtCUseBackingStore "UseBackingStore" | |
318 #endif | |
319 | |
320 #define XtNximStyles "ximStyles" | |
321 #define XtCXimStyles "XimStyles" | |
322 #define XtRXimStyles "XimStyles" | |
323 | |
324 #define XtNximForeground "ximForeground" | |
325 #define XtNximBackground "ximBackground" | |
326 | |
327 /* scrollbar placement types; like in ScrolledW.h */ | |
328 #define EM_TOP 1 | |
329 #define EM_BOTTOM 0 | |
330 #define EM_LEFT 2 | |
331 #define EM_RIGHT 0 | |
332 | |
333 #define XtTOP_LEFT (EM_TOP | EM_LEFT) | |
334 #define XtBOTTOM_LEFT (EM_BOTTOM | EM_LEFT) | |
335 #define XtTOP_RIGHT (EM_TOP | EM_RIGHT) | |
336 #define XtBOTTOM_RIGHT (EM_BOTTOM | EM_RIGHT) | |
337 | |
338 /* structures */ | |
339 typedef struct _EmacsFrameRec *EmacsFrame; | |
340 typedef struct _EmacsFrameClassRec *EmacsFrameClass; | |
341 | |
342 extern WidgetClass emacsFrameClass; | |
343 | |
344 extern struct _DisplayContext* display_context; | |
345 | |
346 /* Special entrypoints */ | |
347 void EmacsFrameRecomputeCellSize (Widget widget); | |
348 void EmacsFrameSetCharSize (Widget widget, int rows, int cols); | |
349 | |
350 #endif /* _EmacsFrame_h */ |