|
|
1.1 root 1:
2: /* $Header: XMenuInt.h,v 1.1 87/08/04 10:29:03 toddb Exp $ */
3: /* Copyright Massachusetts Institute of Technology 1985 */
4:
5: /*
6: * XMenu: MIT Project Athena, X Window system menu package
7: *
8: * XMenuInternal.h - Internal menu system include file for the
9: * MIT Project Athena XMenu X window system
10: * menu package.
11: *
12: * Author: Tony Della Fera, DEC
13: * October, 1985
14: */
15:
16: #ifndef _XMenuInternal_h_
17: #define _XMenuInternal_h_
18:
19: #include <X11/Xlib.h>
20: #include <X11/X10.h>
21: #include <stdio.h>
22: #include "XMenu.h"
23:
24: #define min(x, y) ((x) <= (y) ? (x) : (y))
25: #define max(x, y) ((x) >= (y) ? (x) : (y))
26: #define abs(a) ((a) < 0 ? -(a) : (a))
27:
28: #define _X_FAILURE -1
29:
30: #define _SUCCESS 1
31: #define _FAILURE -1
32:
33: /*
34: * XMenu internal event handler variable.
35: */
36: extern int (*_XMEventHandler)();
37:
38: #ifndef Pixel
39: #define Pixel unsigned long
40: #endif
41:
42: /*
43: * Internal routine declarations.
44: */
45: int _XMWinQueInit(); /* No value actually returned. */
46: int _XMWinQueAddPane();
47: int _XMWinQueAddSelection();
48: int _XMWinQueFlush();
49: XMPane *_XMGetPanePtr();
50: XMSelect *_XMGetSelectionPtr();
51: int _XMRecomputeGlobals(); /* No value actually returned. */
52: int _XMRecomputePane();
53: int _XMRecomputeSelection();
54: int _XMTransToOrigin(); /* No value actually returned. */
55: int _XMRefreshPane(); /* No value actually returned. */
56: int _XMRefreshSelections(); /* No value actually returned. */
57: int _XMHighlightSelection(); /* No value actually returned. */
58:
59: #endif
60: /* Don't add stuff after this #endif */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.