Mercurial > hg > xemacs-beta
comparison src/EmacsFrame.h @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | ac2d302a0011 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
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 XtNtopToolBarShadowColor | |
91 #define XtNtopToolBarShadowColor "topToolBarShadowColor" | |
92 #endif | |
93 #ifndef XtCTopToolBarShadowColor | |
94 #define XtCTopToolBarShadowColor "TopToolBarShadowColor" | |
95 #endif | |
96 | |
97 #ifndef XtNbottomToolBarShadowColor | |
98 #define XtNbottomToolBarShadowColor "bottomToolBarShadowColor" | |
99 #endif | |
100 #ifndef XtCBottomToolBarShadowColor | |
101 #define XtCBottomToolBarShadowColor "BottomToolBarShadowColor" | |
102 #endif | |
103 | |
104 #ifndef XtNbackgroundToolBarColor | |
105 #define XtNbackgroundToolBarColor "backgroundToolBarColor" | |
106 #endif | |
107 #ifndef XtCBackgroundToolBarColor | |
108 #define XtCBackgroundToolBarColor "BackgroundToolBarColor" | |
109 #endif | |
110 | |
111 #ifndef XtNtopToolBarShadowPixmap | |
112 #define XtNtopToolBarShadowPixmap "topToolBarShadowPixmap" | |
113 #endif | |
114 #ifndef XtCTopToolBarShadowPixmap | |
115 #define XtCTopToolBarShadowPixmap "TopToolBarShadowPixmap" | |
116 #endif | |
117 | |
118 #ifndef XtNbottomToolBarShadowPixmap | |
119 #define XtNbottomToolBarShadowPixmap "bottomToolBarShadowPixmap" | |
120 #endif | |
121 #ifndef XtCBottomToolBarShadowPixmap | |
122 #define XtCBottomToolBarShadowPixmap "BottomToolBarShadowPixmap" | |
123 #endif | |
124 | |
125 #ifndef XtNtoolBarShadowThickness | |
126 #define XtNtoolBarShadowThickness "toolBarShadowThickness" | |
127 #endif | |
128 #ifndef XtCToolBarShadowThickness | |
129 #define XtCToolBarShadowThickness "ToolBarShadowThickness" | |
130 #endif | |
131 | |
132 #ifndef XtNscrollBarPlacement | |
133 #define XtNscrollBarPlacement "scrollBarPlacement" | |
134 #endif | |
135 #ifndef XtCScrollBarPlacement | |
136 #define XtCScrollBarPlacement "ScrollBarPlacement" | |
137 #endif | |
138 #ifndef XtRScrollBarPlacement | |
139 #define XtRScrollBarPlacement "ScrollBarPlacement" | |
140 #endif | |
141 | |
142 #ifndef XtNinterline | |
143 #define XtNinterline "interline" | |
144 #endif | |
145 #ifndef XtCInterline | |
146 #define XtCInterline "Interline" | |
147 #endif | |
148 | |
149 #ifndef XtNfont | |
150 #define XtNfont "font" | |
151 #endif | |
152 #ifndef XtCFont | |
153 #define XtCFont "Font" | |
154 #endif | |
155 | |
156 #ifndef XtNforeground | |
157 #define XtNforeground "foreground" | |
158 #endif | |
159 #ifndef XtCForeground | |
160 #define XtCForeground "Foreground" | |
161 #endif | |
162 | |
163 #ifndef XtNiconic | |
164 #define XtNiconic "iconic" | |
165 #endif | |
166 #ifndef XtCIconic | |
167 #define XtCIconic "Iconic" | |
168 #endif | |
169 | |
170 #ifndef XtNcursorColor | |
171 #define XtNcursorColor "cursorColor" | |
172 #endif | |
173 #ifndef XtCCursorColor | |
174 #define XtCCursorColor "CursorColor" | |
175 #endif | |
176 | |
177 #ifndef XtNbarCursor | |
178 #define XtNbarCursor "barCursor" | |
179 #endif | |
180 #ifndef XtCBarCursor | |
181 #define XtCBarCursor "BarCursor" | |
182 #endif | |
183 | |
184 #ifndef XtNvisualBell | |
185 #define XtNvisualBell "visualBell" | |
186 #endif | |
187 #ifndef XtCVisualBell | |
188 #define XtCVisualBell "VisualBell" | |
189 #endif | |
190 | |
191 #ifndef XtNbellVolume | |
192 #define XtNbellVolume "bellVolume" | |
193 #endif | |
194 #ifndef XtCBellVolume | |
195 #define XtCBellVolume "BellVolume" | |
196 #endif | |
197 | |
198 #ifndef XtNpointerBackground | |
199 #define XtNpointerBackground "pointerBackground" | |
200 #endif | |
201 | |
202 #ifndef XtNpointerColor | |
203 #define XtNpointerColor "pointerColor" | |
204 #endif | |
205 | |
206 #ifndef XtNtextPointer | |
207 #define XtNtextPointer "textPointer" | |
208 #endif | |
209 | |
210 #ifndef XtNspacePointer | |
211 #define XtNspacePointer "spacePointer" | |
212 #endif | |
213 | |
214 #ifndef XtNmodeLinePointer | |
215 #define XtNmodeLinePointer "modePointer" | |
216 #endif | |
217 | |
218 #ifndef XtNgcPointer | |
219 #define XtNgcPointer "gcPointer" | |
220 #endif | |
221 | |
222 #ifndef XtNemacsFrame | |
223 #define XtNemacsFrame "emacsFrame" | |
224 #endif | |
225 #ifndef XtCEmacsFrame | |
226 #define XtCEmacsFrame "EmacsFrame" | |
227 #endif | |
228 | |
229 #ifndef XtNgeometry | |
230 #define XtNgeometry "geometry" | |
231 #endif | |
232 #ifndef XtCGeometry | |
233 #define XtCGeometry "Geometry" | |
234 #endif | |
235 | |
236 #ifndef XtNinitialGeometry | |
237 #define XtNinitialGeometry "initialGeometry" | |
238 #endif | |
239 #ifndef XtCInitialGeometry | |
240 #define XtCInitialGeometry "InitialGeometry" | |
241 #endif | |
242 | |
243 #ifndef XtNmenubar | |
244 #define XtNmenubar "menubar" | |
245 #endif | |
246 #ifndef XtCMenubar | |
247 #define XtCMenubar "Menubar" | |
248 #endif | |
249 | |
250 #ifndef XtNinitiallyUnmapped | |
251 #define XtNinitiallyUnmapped "initiallyUnmapped" | |
252 #endif | |
253 #ifndef XtCInitiallyUnmapped | |
254 #define XtCInitiallyUnmapped "InitiallyUnmapped" | |
255 #endif | |
256 | |
257 #ifndef XtNpreferredWidth | |
258 #define XtNpreferredWidth "preferredWidth" | |
259 #endif | |
260 #ifndef XtCPreferredWidth | |
261 #define XtCPreferredWidth "PreferredWidth" | |
262 #endif | |
263 | |
264 #ifndef XtNpreferredHeight | |
265 #define XtNpreferredHeight "preferredHeight" | |
266 #endif | |
267 #ifndef XtCPreferredHeight | |
268 #define XtCPreferredHeight "PreferredHeight" | |
269 #endif | |
270 | |
271 #ifndef XtNuseBackingStore | |
272 #define XtNuseBackingStore "useBackingStore" | |
273 #endif | |
274 #ifndef XtCUseBackingStore | |
275 #define XtCUseBackingStore "UseBackingStore" | |
276 #endif | |
277 | |
278 /* scrollbar placement types; like in ScrolledW.h */ | |
279 | |
280 #define EM_TOP 1 | |
281 #define EM_BOTTOM 0 | |
282 #define EM_LEFT 2 | |
283 #define EM_RIGHT 0 | |
284 | |
285 #define XtTOP_LEFT (EM_TOP | EM_LEFT) | |
286 #define XtBOTTOM_LEFT (EM_BOTTOM | EM_LEFT) | |
287 #define XtTOP_RIGHT (EM_TOP | EM_RIGHT) | |
288 #define XtBOTTOM_RIGHT (EM_BOTTOM | EM_RIGHT) | |
289 | |
290 /* structures | |
291 */ | |
292 typedef struct _EmacsFrameRec *EmacsFrame; | |
293 typedef struct _EmacsFrameClassRec *EmacsFrameClass; | |
294 | |
295 extern WidgetClass emacsFrameClass; | |
296 | |
297 extern struct _DisplayContext* display_context; | |
298 | |
299 /* Special entrypoints */ | |
300 void EmacsFrameRecomputeCellSize (Widget widget); | |
301 void EmacsFrameSetCharSize (Widget widget, int rows, int cols); | |
302 | |
303 #endif /* _EmacsFrame_h */ |