(debug, debugger-eval-expression): Preserve match-data.
[emacs.git] / src / widgetprv.h
blobef335509f39e2d505af809f24f6349e60367bfc5
1 /* The emacs frame widget private header file.
2 Copyright (C) 1993 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20 /* Emacs 19 face widget ported by Fred Pierresteguy */
22 #ifndef _EmacsFrameP_h
23 #define _EmacsFrameP_h
25 #include <X11/IntrinsicP.h>
26 #include <X11/CoreP.h>
27 #include "widget.h"
29 typedef struct {
30 struct frame* frame; /* the *emacs* frame object */
32 /* Resources that can't be done from lisp.
34 char* geometry; /* geometry spec of this frame */
35 Boolean iconic; /* whether this frame is iconic */
37 /* The rest of this is crap and should be deleted.
39 int minibuffer; /* 0: normal frames with minibuffers.
40 * 1: frames without minibuffers
41 * 2: minibuffer only. */
42 Boolean unsplittable; /* frame can only have one window */
44 int internal_border_width; /* internal borders */
45 int interline; /* skips between lines */
47 XFontStruct* font; /* font */
48 Pixel foreground_pixel; /* foreground */
50 Pixel cursor_color; /* text cursor color */
51 Boolean bar_cursor; /* 1 if bar, 0 if block */
53 Boolean visual_bell; /* flash instead of beep */
54 int bell_volume; /* how loud is beep */
56 /* private state */
58 } EmacsFramePart;
60 typedef struct _EmacsFrameRec { /* full instance record */
61 CorePart core;
62 EmacsFramePart emacs_frame;
63 } EmacsFrameRec;
65 typedef struct { /* new fields for EmacsFrame class */
66 int dummy;
67 } EmacsFrameClassPart;
69 typedef struct _EmacsFrameClassRec { /* full class record declaration */
70 CoreClassPart core_class;
71 EmacsFrameClassPart emacs_frame_class;
72 } EmacsFrameClassRec;
74 extern EmacsFrameClassRec emacsFrameClassRec; /* class pointer */
78 #endif /* _EmacsFrameP_h */