Mercurial > hg > xemacs-beta
comparison src/EmacsFrame.h @ 183:e121b013d1f0 r20-3b18
Import from CVS: tag r20-3b18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:54:23 +0200 |
parents | 131b0175ea99 |
children | 1f0dabaa0855 |
comparison
equal
deleted
inserted
replaced
182:f07455f06202 | 183:e121b013d1f0 |
---|---|
23 | 23 |
24 #ifndef _EmacsFrame_h | 24 #ifndef _EmacsFrame_h |
25 #define _EmacsFrame_h | 25 #define _EmacsFrame_h |
26 | 26 |
27 #ifndef XtNminibuffer | 27 #ifndef XtNminibuffer |
28 #define XtNminibuffer (String) "minibuffer" | 28 #define XtNminibuffer "minibuffer" |
29 #endif | 29 #endif |
30 #ifndef XtCMinibuffer | 30 #ifndef XtCMinibuffer |
31 #define XtCMinibuffer (String) "Minibuffer" | 31 #define XtCMinibuffer "Minibuffer" |
32 #endif | 32 #endif |
33 | 33 |
34 #ifndef XtNunsplittable | 34 #ifndef XtNunsplittable |
35 #define XtNunsplittable (String) "unsplittable" | 35 #define XtNunsplittable "unsplittable" |
36 #endif | 36 #endif |
37 #ifndef XtCUnsplittable | 37 #ifndef XtCUnsplittable |
38 #define XtCUnsplittable (String) "Unsplittable" | 38 #define XtCUnsplittable "Unsplittable" |
39 #endif | 39 #endif |
40 | 40 |
41 #ifndef XtNinternalBorderWidth | 41 #ifndef XtNinternalBorderWidth |
42 #define XtNinternalBorderWidth (String) "internalBorderWidth" | 42 #define XtNinternalBorderWidth "internalBorderWidth" |
43 #endif | 43 #endif |
44 #ifndef XtCInternalBorderWidth | 44 #ifndef XtCInternalBorderWidth |
45 #define XtCInternalBorderWidth (String) "InternalBorderWidth" | 45 #define XtCInternalBorderWidth "InternalBorderWidth" |
46 #endif | 46 #endif |
47 | 47 |
48 #ifndef XtNscrollBarWidth | 48 #ifndef XtNscrollBarWidth |
49 #define XtNscrollBarWidth (String) "scrollBarWidth" | 49 #define XtNscrollBarWidth "scrollBarWidth" |
50 #endif | 50 #endif |
51 #ifndef XtCScrollBarWidth | 51 #ifndef XtCScrollBarWidth |
52 #define XtCScrollBarWidth (String) "ScrollBarWidth" | 52 #define XtCScrollBarWidth "ScrollBarWidth" |
53 #endif | 53 #endif |
54 | 54 |
55 #ifndef XtNscrollBarHeight | 55 #ifndef XtNscrollBarHeight |
56 #define XtNscrollBarHeight (String) "scrollBarHeight" | 56 #define XtNscrollBarHeight "scrollBarHeight" |
57 #endif | 57 #endif |
58 #ifndef XtCScrollBarHeight | 58 #ifndef XtCScrollBarHeight |
59 #define XtCScrollBarHeight (String) "ScrollBarHeight" | 59 #define XtCScrollBarHeight "ScrollBarHeight" |
60 #endif | 60 #endif |
61 | 61 |
62 #ifndef XtNtopToolBarHeight | 62 #ifndef XtNtopToolBarHeight |
63 #define XtNtopToolBarHeight (String) "topToolBarHeight" | 63 #define XtNtopToolBarHeight "topToolBarHeight" |
64 #endif | 64 #endif |
65 #ifndef XtCTopToolBarHeight | 65 #ifndef XtCTopToolBarHeight |
66 #define XtCTopToolBarHeight (String) "TopToolBarHeight" | 66 #define XtCTopToolBarHeight "TopToolBarHeight" |
67 #endif | 67 #endif |
68 | 68 |
69 #ifndef XtNbottomToolBarHeight | 69 #ifndef XtNbottomToolBarHeight |
70 #define XtNbottomToolBarHeight (String) "bottomToolBarHeight" | 70 #define XtNbottomToolBarHeight "bottomToolBarHeight" |
71 #endif | 71 #endif |
72 #ifndef XtCBottomToolBarHeight | 72 #ifndef XtCBottomToolBarHeight |
73 #define XtCBottomToolBarHeight (String) "BottomToolBarHeight" | 73 #define XtCBottomToolBarHeight "BottomToolBarHeight" |
74 #endif | 74 #endif |
75 | 75 |
76 #ifndef XtNleftToolBarWidth | 76 #ifndef XtNleftToolBarWidth |
77 #define XtNleftToolBarWidth (String) "leftToolBarWidth" | 77 #define XtNleftToolBarWidth "leftToolBarWidth" |
78 #endif | 78 #endif |
79 #ifndef XtCLeftToolBarWidth | 79 #ifndef XtCLeftToolBarWidth |
80 #define XtCLeftToolBarWidth (String) "LeftToolBarWidth" | 80 #define XtCLeftToolBarWidth "LeftToolBarWidth" |
81 #endif | 81 #endif |
82 | 82 |
83 #ifndef XtNrightToolBarWidth | 83 #ifndef XtNrightToolBarWidth |
84 #define XtNrightToolBarWidth (String) "rightToolBarWidth" | 84 #define XtNrightToolBarWidth "rightToolBarWidth" |
85 #endif | 85 #endif |
86 #ifndef XtCRightToolBarWidth | 86 #ifndef XtCRightToolBarWidth |
87 #define XtCRightToolBarWidth (String) "RightToolBarWidth" | 87 #define XtCRightToolBarWidth "RightToolBarWidth" |
88 #endif | 88 #endif |
89 | 89 |
90 #ifndef XtNtopToolBarShadowColor | 90 #ifndef XtNtopToolBarShadowColor |
91 #define XtNtopToolBarShadowColor (String) "topToolBarShadowColor" | 91 #define XtNtopToolBarShadowColor "topToolBarShadowColor" |
92 #endif | 92 #endif |
93 #ifndef XtCTopToolBarShadowColor | 93 #ifndef XtCTopToolBarShadowColor |
94 #define XtCTopToolBarShadowColor (String) "TopToolBarShadowColor" | 94 #define XtCTopToolBarShadowColor "TopToolBarShadowColor" |
95 #endif | 95 #endif |
96 | 96 |
97 #ifndef XtNbottomToolBarShadowColor | 97 #ifndef XtNbottomToolBarShadowColor |
98 #define XtNbottomToolBarShadowColor (String) "bottomToolBarShadowColor" | 98 #define XtNbottomToolBarShadowColor "bottomToolBarShadowColor" |
99 #endif | 99 #endif |
100 #ifndef XtCBottomToolBarShadowColor | 100 #ifndef XtCBottomToolBarShadowColor |
101 #define XtCBottomToolBarShadowColor (String) "BottomToolBarShadowColor" | 101 #define XtCBottomToolBarShadowColor "BottomToolBarShadowColor" |
102 #endif | 102 #endif |
103 | 103 |
104 #ifndef XtNbackgroundToolBarColor | 104 #ifndef XtNbackgroundToolBarColor |
105 #define XtNbackgroundToolBarColor (String) "backgroundToolBarColor" | 105 #define XtNbackgroundToolBarColor "backgroundToolBarColor" |
106 #endif | 106 #endif |
107 #ifndef XtCBackgroundToolBarColor | 107 #ifndef XtCBackgroundToolBarColor |
108 #define XtCBackgroundToolBarColor (String) "BackgroundToolBarColor" | 108 #define XtCBackgroundToolBarColor "BackgroundToolBarColor" |
109 #endif | 109 #endif |
110 | 110 |
111 #ifndef XtNtopToolBarShadowPixmap | 111 #ifndef XtNtopToolBarShadowPixmap |
112 #define XtNtopToolBarShadowPixmap (String) "topToolBarShadowPixmap" | 112 #define XtNtopToolBarShadowPixmap "topToolBarShadowPixmap" |
113 #endif | 113 #endif |
114 #ifndef XtCTopToolBarShadowPixmap | 114 #ifndef XtCTopToolBarShadowPixmap |
115 #define XtCTopToolBarShadowPixmap (String) "TopToolBarShadowPixmap" | 115 #define XtCTopToolBarShadowPixmap "TopToolBarShadowPixmap" |
116 #endif | 116 #endif |
117 | 117 |
118 #ifndef XtNbottomToolBarShadowPixmap | 118 #ifndef XtNbottomToolBarShadowPixmap |
119 #define XtNbottomToolBarShadowPixmap (String) "bottomToolBarShadowPixmap" | 119 #define XtNbottomToolBarShadowPixmap "bottomToolBarShadowPixmap" |
120 #endif | 120 #endif |
121 #ifndef XtCBottomToolBarShadowPixmap | 121 #ifndef XtCBottomToolBarShadowPixmap |
122 #define XtCBottomToolBarShadowPixmap (String) "BottomToolBarShadowPixmap" | 122 #define XtCBottomToolBarShadowPixmap "BottomToolBarShadowPixmap" |
123 #endif | 123 #endif |
124 | 124 |
125 #ifndef XtNtoolBarShadowThickness | 125 #ifndef XtNtoolBarShadowThickness |
126 #define XtNtoolBarShadowThickness (String) "toolBarShadowThickness" | 126 #define XtNtoolBarShadowThickness "toolBarShadowThickness" |
127 #endif | 127 #endif |
128 #ifndef XtCToolBarShadowThickness | 128 #ifndef XtCToolBarShadowThickness |
129 #define XtCToolBarShadowThickness (String) "ToolBarShadowThickness" | 129 #define XtCToolBarShadowThickness "ToolBarShadowThickness" |
130 #endif | 130 #endif |
131 | 131 |
132 #ifndef XtNscrollBarPlacement | 132 #ifndef XtNscrollBarPlacement |
133 #define XtNscrollBarPlacement (String) "scrollBarPlacement" | 133 #define XtNscrollBarPlacement "scrollBarPlacement" |
134 #endif | 134 #endif |
135 #ifndef XtCScrollBarPlacement | 135 #ifndef XtCScrollBarPlacement |
136 #define XtCScrollBarPlacement (String) "ScrollBarPlacement" | 136 #define XtCScrollBarPlacement "ScrollBarPlacement" |
137 #endif | 137 #endif |
138 #ifndef XtRScrollBarPlacement | 138 #ifndef XtRScrollBarPlacement |
139 #define XtRScrollBarPlacement (String) "ScrollBarPlacement" | 139 #define XtRScrollBarPlacement "ScrollBarPlacement" |
140 #endif | 140 #endif |
141 | 141 |
142 #ifndef XtNinterline | 142 #ifndef XtNinterline |
143 #define XtNinterline (String) "interline" | 143 #define XtNinterline "interline" |
144 #endif | 144 #endif |
145 #ifndef XtCInterline | 145 #ifndef XtCInterline |
146 #define XtCInterline (String) "Interline" | 146 #define XtCInterline "Interline" |
147 #endif | 147 #endif |
148 | 148 |
149 #ifndef XtNfont | 149 #ifndef XtNfont |
150 #define XtNfont (String) "font" | 150 #define XtNfont "font" |
151 #endif | 151 #endif |
152 #ifndef XtCFont | 152 #ifndef XtCFont |
153 #define XtCFont (String) "Font" | 153 #define XtCFont "Font" |
154 #endif | 154 #endif |
155 | 155 |
156 #ifndef XtNforeground | 156 #ifndef XtNforeground |
157 #define XtNforeground (String) "foreground" | 157 #define XtNforeground "foreground" |
158 #endif | 158 #endif |
159 #ifndef XtCForeground | 159 #ifndef XtCForeground |
160 #define XtCForeground (String) "Foreground" | 160 #define XtCForeground "Foreground" |
161 #endif | 161 #endif |
162 | 162 |
163 #ifndef XtNiconic | 163 #ifndef XtNiconic |
164 #define XtNiconic (String) "iconic" | 164 #define XtNiconic "iconic" |
165 #endif | 165 #endif |
166 #ifndef XtCIconic | 166 #ifndef XtCIconic |
167 #define XtCIconic (String) "Iconic" | 167 #define XtCIconic "Iconic" |
168 #endif | 168 #endif |
169 | 169 |
170 #ifndef XtNcursorColor | 170 #ifndef XtNcursorColor |
171 #define XtNcursorColor (String) "cursorColor" | 171 #define XtNcursorColor "cursorColor" |
172 #endif | 172 #endif |
173 #ifndef XtCCursorColor | 173 #ifndef XtCCursorColor |
174 #define XtCCursorColor (String) "CursorColor" | 174 #define XtCCursorColor "CursorColor" |
175 #endif | 175 #endif |
176 | 176 |
177 #ifndef XtNbarCursor | 177 #ifndef XtNbarCursor |
178 #define XtNbarCursor (String) "barCursor" | 178 #define XtNbarCursor "barCursor" |
179 #endif | 179 #endif |
180 #ifndef XtCBarCursor | 180 #ifndef XtCBarCursor |
181 #define XtCBarCursor (String) "BarCursor" | 181 #define XtCBarCursor "BarCursor" |
182 #endif | 182 #endif |
183 | 183 |
184 #ifndef XtNvisualBell | 184 #ifndef XtNvisualBell |
185 #define XtNvisualBell (String) "visualBell" | 185 #define XtNvisualBell "visualBell" |
186 #endif | 186 #endif |
187 #ifndef XtCVisualBell | 187 #ifndef XtCVisualBell |
188 #define XtCVisualBell (String) "VisualBell" | 188 #define XtCVisualBell "VisualBell" |
189 #endif | 189 #endif |
190 | 190 |
191 #ifndef XtNbellVolume | 191 #ifndef XtNbellVolume |
192 #define XtNbellVolume (String) "bellVolume" | 192 #define XtNbellVolume "bellVolume" |
193 #endif | 193 #endif |
194 #ifndef XtCBellVolume | 194 #ifndef XtCBellVolume |
195 #define XtCBellVolume (String) "BellVolume" | 195 #define XtCBellVolume "BellVolume" |
196 #endif | 196 #endif |
197 | 197 |
198 #ifndef XtNpointerBackground | 198 #ifndef XtNpointerBackground |
199 #define XtNpointerBackground (String) "pointerBackground" | 199 #define XtNpointerBackground "pointerBackground" |
200 #endif | 200 #endif |
201 | 201 |
202 #ifndef XtNpointerColor | 202 #ifndef XtNpointerColor |
203 #define XtNpointerColor "pointerColor" | 203 #define XtNpointerColor "pointerColor" |
204 #endif | 204 #endif |
205 | 205 |
206 #ifndef XtNtextPointer | 206 #ifndef XtNtextPointer |
207 #define XtNtextPointer (String) "textPointer" | 207 #define XtNtextPointer "textPointer" |
208 #endif | 208 #endif |
209 | 209 |
210 #ifndef XtNspacePointer | 210 #ifndef XtNspacePointer |
211 #define XtNspacePointer (String) "spacePointer" | 211 #define XtNspacePointer "spacePointer" |
212 #endif | 212 #endif |
213 | 213 |
214 #ifndef XtNmodeLinePointer | 214 #ifndef XtNmodeLinePointer |
215 #define XtNmodeLinePointer (String) "modePointer" | 215 #define XtNmodeLinePointer "modePointer" |
216 #endif | 216 #endif |
217 | 217 |
218 #ifndef XtNgcPointer | 218 #ifndef XtNgcPointer |
219 #define XtNgcPointer (String) "gcPointer" | 219 #define XtNgcPointer "gcPointer" |
220 #endif | 220 #endif |
221 | 221 |
222 #ifndef XtNemacsFrame | 222 #ifndef XtNemacsFrame |
223 #define XtNemacsFrame (String) "emacsFrame" | 223 #define XtNemacsFrame "emacsFrame" |
224 #endif | 224 #endif |
225 #ifndef XtCEmacsFrame | 225 #ifndef XtCEmacsFrame |
226 #define XtCEmacsFrame (String) "EmacsFrame" | 226 #define XtCEmacsFrame "EmacsFrame" |
227 #endif | 227 #endif |
228 | 228 |
229 #ifndef XtNgeometry | 229 #ifndef XtNgeometry |
230 #define XtNgeometry (String) "geometry" | 230 #define XtNgeometry "geometry" |
231 #endif | 231 #endif |
232 #ifndef XtCGeometry | 232 #ifndef XtCGeometry |
233 #define XtCGeometry (String) "Geometry" | 233 #define XtCGeometry "Geometry" |
234 #endif | 234 #endif |
235 | 235 |
236 #ifndef XtNinitialGeometry | 236 #ifndef XtNinitialGeometry |
237 #define XtNinitialGeometry (String) "initialGeometry" | 237 #define XtNinitialGeometry "initialGeometry" |
238 #endif | 238 #endif |
239 #ifndef XtCInitialGeometry | 239 #ifndef XtCInitialGeometry |
240 #define XtCInitialGeometry (String) "InitialGeometry" | 240 #define XtCInitialGeometry "InitialGeometry" |
241 #endif | 241 #endif |
242 | 242 |
243 #ifndef XtNmenubar | 243 #ifndef XtNmenubar |
244 #define XtNmenubar (String) "menubar" | 244 #define XtNmenubar "menubar" |
245 #endif | 245 #endif |
246 #ifndef XtCMenubar | 246 #ifndef XtCMenubar |
247 #define XtCMenubar (String) "Menubar" | 247 #define XtCMenubar "Menubar" |
248 #endif | 248 #endif |
249 | 249 |
250 #ifndef XtNinitiallyUnmapped | 250 #ifndef XtNinitiallyUnmapped |
251 #define XtNinitiallyUnmapped (String) "initiallyUnmapped" | 251 #define XtNinitiallyUnmapped "initiallyUnmapped" |
252 #endif | 252 #endif |
253 #ifndef XtCInitiallyUnmapped | 253 #ifndef XtCInitiallyUnmapped |
254 #define XtCInitiallyUnmapped (String) "InitiallyUnmapped" | 254 #define XtCInitiallyUnmapped "InitiallyUnmapped" |
255 #endif | 255 #endif |
256 | 256 |
257 #ifndef XtNpreferredWidth | 257 #ifndef XtNpreferredWidth |
258 #define XtNpreferredWidth (String) "preferredWidth" | 258 #define XtNpreferredWidth "preferredWidth" |
259 #endif | 259 #endif |
260 #ifndef XtCPreferredWidth | 260 #ifndef XtCPreferredWidth |
261 #define XtCPreferredWidth (String) "PreferredWidth" | 261 #define XtCPreferredWidth "PreferredWidth" |
262 #endif | 262 #endif |
263 | 263 |
264 #ifndef XtNpreferredHeight | 264 #ifndef XtNpreferredHeight |
265 #define XtNpreferredHeight (String) "preferredHeight" | 265 #define XtNpreferredHeight "preferredHeight" |
266 #endif | 266 #endif |
267 #ifndef XtCPreferredHeight | 267 #ifndef XtCPreferredHeight |
268 #define XtCPreferredHeight (String) "PreferredHeight" | 268 #define XtCPreferredHeight "PreferredHeight" |
269 #endif | 269 #endif |
270 | 270 |
271 #ifndef XtNuseBackingStore | 271 #ifndef XtNuseBackingStore |
272 #define XtNuseBackingStore (String) "useBackingStore" | 272 #define XtNuseBackingStore "useBackingStore" |
273 #endif | 273 #endif |
274 #ifndef XtCUseBackingStore | 274 #ifndef XtCUseBackingStore |
275 #define XtCUseBackingStore (String) "UseBackingStore" | 275 #define XtCUseBackingStore "UseBackingStore" |
276 #endif | 276 #endif |
277 | 277 |
278 #define XtNximStyles "ximStyles" | 278 #define XtNximStyles "ximStyles" |
279 #define XtCXimStyles "XimStyles" | 279 #define XtCXimStyles "XimStyles" |
280 #define XtRXimStyles "XimStyles" | 280 #define XtRXimStyles "XimStyles" |
285 /* scrollbar placement types; like in ScrolledW.h */ | 285 /* scrollbar placement types; like in ScrolledW.h */ |
286 #define EM_TOP 1 | 286 #define EM_TOP 1 |
287 #define EM_BOTTOM 0 | 287 #define EM_BOTTOM 0 |
288 #define EM_LEFT 2 | 288 #define EM_LEFT 2 |
289 #define EM_RIGHT 0 | 289 #define EM_RIGHT 0 |
290 | 290 |
291 #define XtTOP_LEFT (EM_TOP | EM_LEFT) | 291 #define XtTOP_LEFT (EM_TOP | EM_LEFT) |
292 #define XtBOTTOM_LEFT (EM_BOTTOM | EM_LEFT) | 292 #define XtBOTTOM_LEFT (EM_BOTTOM | EM_LEFT) |
293 #define XtTOP_RIGHT (EM_TOP | EM_RIGHT) | 293 #define XtTOP_RIGHT (EM_TOP | EM_RIGHT) |
294 #define XtBOTTOM_RIGHT (EM_BOTTOM | EM_RIGHT) | 294 #define XtBOTTOM_RIGHT (EM_BOTTOM | EM_RIGHT) |
295 | 295 |
296 /* structures */ | 296 /* structures */ |
297 typedef struct _EmacsFrameRec *EmacsFrame; | 297 typedef struct _EmacsFrameRec *EmacsFrame; |
298 typedef struct _EmacsFrameClassRec *EmacsFrameClass; | 298 typedef struct _EmacsFrameClassRec *EmacsFrameClass; |
299 | 299 |
300 extern WidgetClass emacsFrameClass; | 300 extern WidgetClass emacsFrameClass; |