*** empty log message ***
[bpt/emacs.git] / oldXMenu / XMenuInt.h
CommitLineData
e745ede7 1/* Copyright Massachusetts Institute of Technology 1985 */
e4187bb0
GM
2
3#include "copyright.h"
4
e745ede7
DL
5
6/*
7 * XMenu: MIT Project Athena, X Window system menu package
8 *
9 * XMenuInternal.h - Internal menu system include file for the
10 * MIT Project Athena XMenu X window system
11 * menu package.
177c0ea7 12 *
e745ede7
DL
13 * Author: Tony Della Fera, DEC
14 * October, 1985
15 */
16
17#ifndef _XMenuInternal_h_
18#define _XMenuInternal_h_
19
20/* Avoid warnings about redefining NULL by including <stdio.h> first;
21 the other file which wants to define it (<stddef.h> on Ultrix
22 systems) can deal if NULL is already defined, but <stdio.h> can't. */
23#include <stdio.h>
24#include <X11/Xlib.h>
25#include "X10.h"
26#include "XMenu.h"
27
28#define min(x, y) ((x) <= (y) ? (x) : (y))
29#define max(x, y) ((x) >= (y) ? (x) : (y))
30#define abs(a) ((a) < 0 ? -(a) : (a))
31
32#define _X_FAILURE -1
33
34#define _SUCCESS 1
35#define _FAILURE -1
36
37/*
38 * XMenu internal event handler variable.
39 */
40extern int (*_XMEventHandler)();
41
42#ifndef Pixel
43#define Pixel unsigned long
44#endif
45
46/*
47 * Internal routine declarations.
48 */
49int _XMWinQueInit(); /* No value actually returned. */
50int _XMWinQueAddPane();
51int _XMWinQueAddSelection();
52int _XMWinQueFlush();
53XMPane *_XMGetPanePtr();
54XMSelect *_XMGetSelectionPtr();
55int _XMRecomputeGlobals(); /* No value actually returned. */
56int _XMRecomputePane();
57int _XMRecomputeSelection();
58int _XMTransToOrigin(); /* No value actually returned. */
59int _XMRefreshPane(); /* No value actually returned. */
60int _XMRefreshSelections(); /* No value actually returned. */
61int _XMHighlightSelection(); /* No value actually returned. */
62
63#endif
64/* Don't add stuff after this #endif */
ab5796a9
MB
65
66/* arch-tag: 00640af1-9386-48b5-a4be-35620b8cd3aa
67 (do not change this comment) */