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