1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XMenuInternal.h,v 10.9 86/02/01 16:15:21 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. */

Defined enum's

_bool defined in line 38; never used

Defined typedef's

Defined macros

_FAILURE defined in line 28; used 16 times
_SUCCESS defined in line 27; used 5 times
abs defined in line 23; never used
max defined in line 22; used 5 times
min defined in line 21; never used

Usage of this include

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 983
Valid CSS Valid XHTML 1.0 Strict