summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-01-21 20:41:49 +0000
committerRichard M. Stallman <rms@gnu.org>1994-01-21 20:41:49 +0000
commit0be31d57f44f22d32ae0d4eff4f0e0858216fbb5 (patch)
treee19bc8b56695c0a0b53323264c87ce27419a954c /src/xterm.h
parent65fbf4a3eb221d73ad866ef6b674604ce0953b88 (diff)
downloademacs-0be31d57f44f22d32ae0d4eff4f0e0858216fbb5.tar.gz
[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/xterm.h')
-rw-r--r--src/xterm.h26
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. */
#include <X/Xlib.h>
#endif /* HAVE_X11 */
+#ifdef USE_X_TOOLKIT
+#include <X11/StringDefs.h>
+#include <X11/IntrinsicP.h> /* CoreP.h needs this */
+#include <X11/CoreP.h> /* foul, but we need this to use our own
+ window inside a widget instead of one
+ that Xt creates... */
+#include <X11/StringDefs.h>
+#include <X11/Xaw/Box.h>
+#endif
+
/* Define a queue for X-events. One such queue is used for mouse clicks.
Another is used for expose events. */
@@ -182,6 +192,10 @@ extern Display *x_current_display;
extern struct frame *x_window_to_frame ();
+#ifdef USE_X_TOOLKIT
+extern struct frame *x_any_window_to_frame ();
+#endif
+
/* The frame (if any) which has the X window that has keyboard focus.
Zero if none. This is examined by Ffocus_frame in xfns.c */
@@ -273,6 +287,18 @@ struct x_display
Usually but not always RootWindow. */
Window parent_desc;
+#ifdef USE_X_TOOLKIT
+ /* The widget of this screen. This is the window of a "shell" widget. */
+ Widget widget;
+ /* The XmPanedWindows... */
+ Widget column_widget;
+ /* The widget of the edit portion of this screen; the window in
+ "window_desc" is inside of this. */
+ Widget edit_widget;
+
+ Widget menubar_widget;
+#endif
+
/* 1 for bitmap icon, 0 for text icon. */
int icon_bitmap_flag;