diff options
| author | Richard M. Stallman | 1994-01-21 20:41:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-21 20:41:49 +0000 |
| commit | 0be31d57f44f22d32ae0d4eff4f0e0858216fbb5 (patch) | |
| tree | e19bc8b56695c0a0b53323264c87ce27419a954c /src | |
| parent | 65fbf4a3eb221d73ad866ef6b674604ce0953b88 (diff) | |
| download | emacs-0be31d57f44f22d32ae0d4eff4f0e0858216fbb5.tar.gz emacs-0be31d57f44f22d32ae0d4eff4f0e0858216fbb5.zip | |
[USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h,
CoreP.h, StringDefs.h, Xaw/Box.h.
(struct x_display) [USE_X_TOOLKIT]: New fields widget, column_widget,
edit_widget, menubar_widget.
(x_any_window_to_frame) [USE_X_TOOLKIT]: Declared.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/xterm.h b/src/xterm.h index ea859116a01..7c7acbf16fe 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -28,6 +28,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 28 | #include <X/Xlib.h> | 28 | #include <X/Xlib.h> |
| 29 | #endif /* HAVE_X11 */ | 29 | #endif /* HAVE_X11 */ |
| 30 | 30 | ||
| 31 | #ifdef USE_X_TOOLKIT | ||
| 32 | #include <X11/StringDefs.h> | ||
| 33 | #include <X11/IntrinsicP.h> /* CoreP.h needs this */ | ||
| 34 | #include <X11/CoreP.h> /* foul, but we need this to use our own | ||
| 35 | window inside a widget instead of one | ||
| 36 | that Xt creates... */ | ||
| 37 | #include <X11/StringDefs.h> | ||
| 38 | #include <X11/Xaw/Box.h> | ||
| 39 | #endif | ||
| 40 | |||
| 31 | /* Define a queue for X-events. One such queue is used for mouse clicks. | 41 | /* Define a queue for X-events. One such queue is used for mouse clicks. |
| 32 | Another is used for expose events. */ | 42 | Another is used for expose events. */ |
| 33 | 43 | ||
| @@ -182,6 +192,10 @@ extern Display *x_current_display; | |||
| 182 | 192 | ||
| 183 | extern struct frame *x_window_to_frame (); | 193 | extern struct frame *x_window_to_frame (); |
| 184 | 194 | ||
| 195 | #ifdef USE_X_TOOLKIT | ||
| 196 | extern struct frame *x_any_window_to_frame (); | ||
| 197 | #endif | ||
| 198 | |||
| 185 | /* The frame (if any) which has the X window that has keyboard focus. | 199 | /* The frame (if any) which has the X window that has keyboard focus. |
| 186 | Zero if none. This is examined by Ffocus_frame in xfns.c */ | 200 | Zero if none. This is examined by Ffocus_frame in xfns.c */ |
| 187 | 201 | ||
| @@ -273,6 +287,18 @@ struct x_display | |||
| 273 | Usually but not always RootWindow. */ | 287 | Usually but not always RootWindow. */ |
| 274 | Window parent_desc; | 288 | Window parent_desc; |
| 275 | 289 | ||
| 290 | #ifdef USE_X_TOOLKIT | ||
| 291 | /* The widget of this screen. This is the window of a "shell" widget. */ | ||
| 292 | Widget widget; | ||
| 293 | /* The XmPanedWindows... */ | ||
| 294 | Widget column_widget; | ||
| 295 | /* The widget of the edit portion of this screen; the window in | ||
| 296 | "window_desc" is inside of this. */ | ||
| 297 | Widget edit_widget; | ||
| 298 | |||
| 299 | Widget menubar_widget; | ||
| 300 | #endif | ||
| 301 | |||
| 276 | /* 1 for bitmap icon, 0 for text icon. */ | 302 | /* 1 for bitmap icon, 0 for text icon. */ |
| 277 | int icon_bitmap_flag; | 303 | int icon_bitmap_flag; |
| 278 | 304 | ||