Mercurial > emacs
comparison src/frame.h @ 5657:ac0f9da25111
(struct frame): New field external_menu_bar.
(FRAME_EXTERNAL_MENU_BAR): New macro.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 21 Jan 1994 20:43:07 +0000 |
parents | e52308087b66 |
children | 242d3fed9285 |
comparison
equal
deleted
inserted
replaced
5656:94f317eca45d | 5657:ac0f9da25111 |
---|---|
149 it is defined in xterm.h. */ | 149 it is defined in xterm.h. */ |
150 union display { struct x_display *x; int nothing; } display; | 150 union display { struct x_display *x; int nothing; } display; |
151 | 151 |
152 /* Number of lines of menu bar. */ | 152 /* Number of lines of menu bar. */ |
153 int menu_bar_lines; | 153 int menu_bar_lines; |
154 | |
155 #ifdef USE_X_TOOLKIT | |
156 /* Nonzero means using a menu bar that comes from the X toolkit. */ | |
157 int external_menu_bar; | |
158 #endif | |
154 | 159 |
155 /* Nonzero if last attempt at redisplay on this frame was preempted. */ | 160 /* Nonzero if last attempt at redisplay on this frame was preempted. */ |
156 char display_preempted; | 161 char display_preempted; |
157 | 162 |
158 /* visible is nonzero if the frame is currently displayed; we check | 163 /* visible is nonzero if the frame is currently displayed; we check |
251 #define FRAME_HEIGHT(f) (f)->height | 256 #define FRAME_HEIGHT(f) (f)->height |
252 #define FRAME_WIDTH(f) (f)->width | 257 #define FRAME_WIDTH(f) (f)->width |
253 #define FRAME_NEW_HEIGHT(f) (f)->new_height | 258 #define FRAME_NEW_HEIGHT(f) (f)->new_height |
254 #define FRAME_NEW_WIDTH(f) (f)->new_width | 259 #define FRAME_NEW_WIDTH(f) (f)->new_width |
255 #define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines | 260 #define FRAME_MENU_BAR_LINES(f) (f)->menu_bar_lines |
261 #define FRAME_EXTERNAL_MENU_BAR(f) (f)->external_menu_bar | |
256 #define FRAME_CURSOR_X(f) (f)->cursor_x | 262 #define FRAME_CURSOR_X(f) (f)->cursor_x |
257 #define FRAME_CURSOR_Y(f) (f)->cursor_y | 263 #define FRAME_CURSOR_Y(f) (f)->cursor_y |
258 #define FRAME_VISIBLE_P(f) ((f)->visible != 0) | 264 #define FRAME_VISIBLE_P(f) ((f)->visible != 0) |
259 #define FRAME_SET_VISIBLE(f,p) \ | 265 #define FRAME_SET_VISIBLE(f,p) \ |
260 ((f)->async_visible = (p), FRAME_SAMPLE_VISIBILITY (f)) | 266 ((f)->async_visible = (p), FRAME_SAMPLE_VISIBILITY (f)) |