|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XMenuInternal.h,v 10.9 86/02/12 16:19:41 tony Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
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.
12: *
13: * Author: Tony Della Fera, DEC
14: * October, 1985
15: */
16:
17: #include <X/Xlib.h>
18: #include "XMenu.h"
19: #include <stdio.h>
20:
21: #define min(x, y) ((x) <= (y) ? (x) : (y))
22: #define max(x, y) ((x) >= (y) ? (x) : (y))
23: #define abs(a) ((a) < 0 ? -(a) : (a))
24:
25: #define _X_FAILURE -1
26:
27: #define _SUCCESS 1
28: #define _FAILURE -1
29:
30: /*
31: * XMenu internal event handler variable.
32: */
33: extern int (*_XMEventHandler)();
34:
35: /*
36: * Internal boolean datatype.
37: */
38: typedef enum _bool {FALSE, TRUE} Bool;
39:
40: /*
41: * Internal routine declarations.
42: */
43: int _XMWinQueInit(); /* No value actually returned. */
44: int _XMWinQueAddPane();
45: int _XMWinQueAddSelection();
46: int _XMWinQueFlush();
47: XMPane *_XMGetPanePtr();
48: XMSelect *_XMGetSelectionPtr();
49: int _XMRecomputeGlobals(); /* No value actually returned. */
50: int _XMRecomputePane();
51: int _XMRecomputeSelection();
52: int _XMTransToOrigin(); /* No value actually returned. */
53: int _XMRefreshPane(); /* No value actually returned. */
54: int _XMRefreshSelections(); /* No value actually returned. */
55: int _XMHighlightSelection(); /* No value actually returned. */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.