comparison src/frame.h @ 16588:481b7874a1e9

Change identifiers of the form win32* to w32*.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 19 Nov 1996 04:59:23 +0000
parents 66d1b1af0991
children ffd6878cae02
comparison
equal deleted inserted replaced
16587:13cda507257c 16588:481b7874a1e9
31 31
32 32
33 /* The structure representing a frame. */ 33 /* The structure representing a frame. */
34 34
35 enum output_method 35 enum output_method
36 { output_termcap, output_x_window, output_msdos_raw, output_win32 }; 36 { output_termcap, output_x_window, output_msdos_raw, output_w32 };
37 37
38 enum vertical_scroll_bar_type 38 enum vertical_scroll_bar_type
39 { vertical_scroll_bar_none, vertical_scroll_bar_left, vertical_scroll_bar_right }; 39 { vertical_scroll_bar_none, vertical_scroll_bar_left, vertical_scroll_bar_right };
40 40
41 struct frame 41 struct frame
179 enum output_method output_method; 179 enum output_method output_method;
180 180
181 /* A structure of auxiliary data used for displaying the contents. 181 /* A structure of auxiliary data used for displaying the contents.
182 struct x_output is used for X window frames; 182 struct x_output is used for X window frames;
183 it is defined in xterm.h. 183 it is defined in xterm.h.
184 struct win32_output is used for Win32 window frames; 184 struct w32_output is used for W32 window frames;
185 it is defined in w32term.h. */ 185 it is defined in w32term.h. */
186 union output_data { struct x_output *x; struct win32_output *win32; int nothing; } output_data; 186 union output_data { struct x_output *x; struct w32_output *w32; int nothing; } output_data;
187 187
188 #ifdef MULTI_KBOARD 188 #ifdef MULTI_KBOARD
189 /* A pointer to the kboard structure associated with this frame. 189 /* A pointer to the kboard structure associated with this frame.
190 For termcap frames, this points to initial_kboard. For X frames, 190 For termcap frames, this points to initial_kboard. For X frames,
191 it will be the same as display.x->display_info->kboard. */ 191 it will be the same as display.x->display_info->kboard. */
307 #define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME)) 307 #define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME))
308 308
309 #define WINDOW_FRAME(w) (w)->frame 309 #define WINDOW_FRAME(w) (w)->frame
310 310
311 #define FRAME_X_P(f) ((f)->output_method == output_x_window) 311 #define FRAME_X_P(f) ((f)->output_method == output_x_window)
312 #define FRAME_WIN32_P(f) ((f)->output_method == output_win32) 312 #define FRAME_W32_P(f) ((f)->output_method == output_w32)
313 #define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw) 313 #define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
314 314
315 /* FRAME_WINDOW_P tests whether the frame is a window, and is 315 /* FRAME_WINDOW_P tests whether the frame is a window, and is
316 defined to be the predicate for the window system being used. */ 316 defined to be the predicate for the window system being used. */
317 #ifdef HAVE_X_WINDOWS 317 #ifdef HAVE_X_WINDOWS
318 #define FRAME_WINDOW_P(f) FRAME_X_P (f) 318 #define FRAME_WINDOW_P(f) FRAME_X_P (f)
319 #endif 319 #endif
320 #ifdef HAVE_NTGUI 320 #ifdef HAVE_NTGUI
321 #define FRAME_WINDOW_P(f) FRAME_WIN32_P (f) 321 #define FRAME_WINDOW_P(f) FRAME_W32_P (f)
322 #endif 322 #endif
323 #ifndef FRAME_WINDOW_P 323 #ifndef FRAME_WINDOW_P
324 #define FRAME_WINDOW_P(f) (0) 324 #define FRAME_WINDOW_P(f) (0)
325 #endif 325 #endif
326 326