diff options
| author | Richard M. Stallman | 1994-01-18 23:52:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-18 23:52:19 +0000 |
| commit | 40a6a4dd2fb9e31c2da2f5924356baf16ca47ffd (patch) | |
| tree | c3a10075b5f79e4d186929b98fde7fa13f172219 /src | |
| parent | e7818b5ac8611c09fea3ce9635128414d69f6462 (diff) | |
| download | emacs-40a6a4dd2fb9e31c2da2f5924356baf16ca47ffd.tar.gz emacs-40a6a4dd2fb9e31c2da2f5924356baf16ca47ffd.zip | |
entered into RCS
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgetprv.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/src/widgetprv.h b/src/widgetprv.h new file mode 100644 index 00000000000..ef335509f39 --- /dev/null +++ b/src/widgetprv.h | |||
| @@ -0,0 +1,78 @@ | |||
| 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 | ||
| 18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
| 19 | |||
| 20 | /* Emacs 19 face widget ported by Fred Pierresteguy */ | ||
| 21 | |||
| 22 | #ifndef _EmacsFrameP_h | ||
| 23 | #define _EmacsFrameP_h | ||
| 24 | |||
| 25 | #include <X11/IntrinsicP.h> | ||
| 26 | #include <X11/CoreP.h> | ||
| 27 | #include "widget.h" | ||
| 28 | |||
| 29 | typedef struct { | ||
| 30 | struct frame* frame; /* the *emacs* frame object */ | ||
| 31 | |||
| 32 | /* Resources that can't be done from lisp. | ||
| 33 | */ | ||
| 34 | char* geometry; /* geometry spec of this frame */ | ||
| 35 | Boolean iconic; /* whether this frame is iconic */ | ||
| 36 | |||
| 37 | /* The rest of this is crap and should be deleted. | ||
| 38 | */ | ||
| 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 */ | ||
| 43 | |||
| 44 | int internal_border_width; /* internal borders */ | ||
| 45 | int interline; /* skips between lines */ | ||
| 46 | |||
| 47 | XFontStruct* font; /* font */ | ||
| 48 | Pixel foreground_pixel; /* foreground */ | ||
| 49 | |||
| 50 | Pixel cursor_color; /* text cursor color */ | ||
| 51 | Boolean bar_cursor; /* 1 if bar, 0 if block */ | ||
| 52 | |||
| 53 | Boolean visual_bell; /* flash instead of beep */ | ||
| 54 | int bell_volume; /* how loud is beep */ | ||
| 55 | |||
| 56 | /* private state */ | ||
| 57 | |||
| 58 | } EmacsFramePart; | ||
| 59 | |||
| 60 | typedef struct _EmacsFrameRec { /* full instance record */ | ||
| 61 | CorePart core; | ||
| 62 | EmacsFramePart emacs_frame; | ||
| 63 | } EmacsFrameRec; | ||
| 64 | |||
| 65 | typedef struct { /* new fields for EmacsFrame class */ | ||
| 66 | int dummy; | ||
| 67 | } EmacsFrameClassPart; | ||
| 68 | |||
| 69 | typedef struct _EmacsFrameClassRec { /* full class record declaration */ | ||
| 70 | CoreClassPart core_class; | ||
| 71 | EmacsFrameClassPart emacs_frame_class; | ||
| 72 | } EmacsFrameClassRec; | ||
| 73 | |||
| 74 | extern EmacsFrameClassRec emacsFrameClassRec; /* class pointer */ | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | #endif /* _EmacsFrameP_h */ | ||