1/* The emacs frame widget public header file.
2   Copyright (C) 1993, 2001, 2002, 2003, 2004, 2005,
3                 2006, 2007  Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs; see the file COPYING.  If not, write to
19the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA.  */
21
22/* Emacs 19 face widget ported by Fred Pierresteguy */
23
24#ifndef _EmacsFrame_h
25#define _EmacsFrame_h
26
27#define XtNminibuffer "minibuffer"
28#define XtCMinibuffer "Minibuffer"
29#define XtNunsplittable "unsplittable"
30#define XtCUnsplittable "Unsplittable"
31#define XtNinternalBorderWidth "internalBorderWidth"
32#define XtCInternalBorderWidth "InternalBorderWidth"
33#define XtNinterline "interline"
34#define XtCInterline "Interline"
35
36#ifndef XtNfont
37#define XtNfont "font"
38#endif
39#ifndef XtCFont
40#define XtCFont "Font"
41#endif
42#ifndef XtNforeground
43#define XtNforeground "foreground"
44#endif
45#ifndef XtCForeground
46#define XtCForeground "Foreground"
47#endif
48
49#define XtNcursorColor "cursorColor"
50#define XtCCursorColor "CursorColor"
51#define XtNbarCursor "barCursor"
52#define XtCBarCursor "BarCursor"
53
54#define XtNvisualBell "visualBell"
55#define XtCVisualBell "VisualBell"
56#define XtCBellVolume "BellVolume"
57#define XtNbellVolume "bellVolume"
58
59#define XtNpointerBackground "pointerBackground"
60#define XtNpointerColor "pointerColor"
61
62#define XtNtextPointer "textPointer"
63#define XtNspacePointer "spacePointer"
64#define XtNmodeLinePointer "modePointer"
65#define XtNgcPointer "gcPointer"
66
67#define XtNemacsFrame "emacsFrame"
68#define XtCEmacsFrame "EmacsFrame"
69
70#ifndef XtNgeometry
71#define XtNgeometry "geometry"
72#endif
73#ifndef XtCGeometry
74#define XtCGeometry "Geometry"
75#endif
76#ifndef XtNshowGrip
77#define XtNshowGrip "showGrip"
78#endif
79#ifndef XtNallowResize
80#define XtNallowResize "allowResize"
81#endif
82#ifndef XtNresizeToPreferred
83#define XtNresizeToPreferred "resizeToPreferred"
84#endif
85
86#define XtNinitialGeometry "initialGeometry"
87#define XtCInitialGeometry "InitialGeometry"
88
89/* structures
90 */
91typedef struct _EmacsFrameRec *EmacsFrame;
92typedef struct _EmacsFrameClassRec *EmacsFrameClass;
93
94extern WidgetClass emacsFrameClass;
95
96extern struct _DisplayContext* display_context;
97
98/* Special entrypoints */
99void EmacsFrameSetCharSize P_ ((Widget, int, int));
100void widget_store_internal_border P_ ((Widget widget));
101
102#endif /* _EmacsFrame_h */
103
104/* arch-tag: 98be17cc-8878-4701-abfa-66f1c04e9cb7
105   (do not change this comment) */
106