Mercurial > emacs
annotate src/widgetprv.h @ 58228:4d76ea02ae1a
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-696
Merge from gnus--rel--5.10
Patches applied:
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-72
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 15 Nov 2004 05:26:20 +0000 |
parents | 695cf19ef79e |
children | a8fa7c632ee4 375f2633d815 |
rev | line source |
---|---|
5628 | 1 /* The emacs frame widget private header file. |
2 Copyright (C) 1993 Free Software Foundation, Inc. | |
3 | |
4 This file is part of GNU Emacs. | |
5 | |
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. | |
10 | |
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. | |
15 | |
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 | |
14186
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
5628
diff
changeset
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
ee40177f6c68
Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents:
5628
diff
changeset
|
19 Boston, MA 02111-1307, USA. */ |
5628 | 20 |
21 /* Emacs 19 face widget ported by Fred Pierresteguy */ | |
22 | |
23 #ifndef _EmacsFrameP_h | |
24 #define _EmacsFrameP_h | |
25 | |
26 #include <X11/IntrinsicP.h> | |
27 #include <X11/CoreP.h> | |
28 #include "widget.h" | |
29 | |
30 typedef struct { | |
31 struct frame* frame; /* the *emacs* frame object */ | |
32 | |
33 /* Resources that can't be done from lisp. | |
34 */ | |
35 char* geometry; /* geometry spec of this frame */ | |
36 Boolean iconic; /* whether this frame is iconic */ | |
37 | |
38 /* The rest of this is crap and should be deleted. | |
39 */ | |
40 int minibuffer; /* 0: normal frames with minibuffers. | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
14186
diff
changeset
|
41 * 1: frames without minibuffers |
5628 | 42 * 2: minibuffer only. */ |
43 Boolean unsplittable; /* frame can only have one window */ | |
44 | |
45 int internal_border_width; /* internal borders */ | |
46 int interline; /* skips between lines */ | |
47 | |
48 XFontStruct* font; /* font */ | |
49 Pixel foreground_pixel; /* foreground */ | |
50 | |
51 Pixel cursor_color; /* text cursor color */ | |
52 Boolean bar_cursor; /* 1 if bar, 0 if block */ | |
53 | |
54 Boolean visual_bell; /* flash instead of beep */ | |
55 int bell_volume; /* how loud is beep */ | |
56 | |
57 /* private state */ | |
58 | |
59 } EmacsFramePart; | |
60 | |
61 typedef struct _EmacsFrameRec { /* full instance record */ | |
62 CorePart core; | |
63 EmacsFramePart emacs_frame; | |
64 } EmacsFrameRec; | |
65 | |
66 typedef struct { /* new fields for EmacsFrame class */ | |
67 int dummy; | |
68 } EmacsFrameClassPart; | |
69 | |
70 typedef struct _EmacsFrameClassRec { /* full class record declaration */ | |
71 CoreClassPart core_class; | |
72 EmacsFrameClassPart emacs_frame_class; | |
73 } EmacsFrameClassRec; | |
74 | |
75 extern EmacsFrameClassRec emacsFrameClassRec; /* class pointer */ | |
76 | |
77 | |
78 | |
79 #endif /* _EmacsFrameP_h */ | |
52401 | 80 |
81 /* arch-tag: 2b579b4c-f697-4f86-b27a-35b7cb1a4a1c | |
82 (do not change this comment) */ |