1 /* Copyright Massachusetts Institute of Technology 1985 */
7 * XMenu: MIT Project Athena, X Window system menu package
9 * XMenuInternal.h - Internal menu system include file for the
10 * MIT Project Athena XMenu X window system
13 * Author: Tony Della Fera, DEC
17 #ifndef _XMenuInternal_h_
18 #define _XMenuInternal_h_
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. */
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))
38 * XMenu internal event handler variable.
40 extern int (*_XMEventHandler
)();
43 #define Pixel unsigned long
47 * Internal routine declarations.
49 int _XMWinQueInit(); /* No value actually returned. */
50 int _XMWinQueAddPane();
51 int _XMWinQueAddSelection();
53 XMPane
*_XMGetPanePtr();
54 XMSelect
*_XMGetSelectionPtr();
55 int _XMRecomputeGlobals(); /* No value actually returned. */
56 int _XMRecomputePane();
57 int _XMRecomputeSelection();
58 int _XMTransToOrigin(); /* No value actually returned. */
59 int _XMRefreshPane(); /* No value actually returned. */
60 int _XMRefreshSelections(); /* No value actually returned. */
61 int _XMHighlightSelection(); /* No value actually returned. */
64 /* Don't add stuff after this #endif */
66 /* arch-tag: 00640af1-9386-48b5-a4be-35620b8cd3aa
67 (do not change this comment) */