home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / demobook / menuglo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  2.6 KB  |  95 lines

  1. /*
  2.  * Copyright 1993, 1994, Silicon Graphics, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  6.  * the contents of this file may not be disclosed to third parties, copied or
  7.  * duplicated in any form, in whole or in part, without the prior written
  8.  * permission of Silicon Graphics, Inc.
  9.  *
  10.  * RESTRICTED RIGHTS LEGEND:
  11.  * Use, duplication or disclosure by the Government is subject to restrictions
  12.  * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  13.  * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  14.  * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  15.  * rights reserved under the Copyright Laws of the United States.
  16.  */
  17. #ifndef MENU_H
  18. #define MENU_H
  19.  
  20. #define MENUBLANK 0
  21. #define MENUWHITE 1
  22. #define MENUGREY 2
  23. #define MENUBLACK 3
  24. #define PDHEIGHT 27
  25.    /* these are regions in the regionlist */
  26. #define DRAWRegion 0
  27. #define PDRegion 1
  28. #define GRPRegion 2
  29. #define ADRegion 3
  30. #define IDXRegion 4
  31. #define SARegion 5
  32. #define RDRegion 6
  33. #define ReRegion 7
  34. #define CBRegion 8
  35. #define Z1Region 9
  36. #define Z2Region 10
  37.    /* these are regions in the MSrgnlist */
  38. #define MSCONTRegion 0
  39.    /* these are regions in the INDXrgnlist */
  40. #define IDNRegion 0
  41. #define ICNCLRegion 1
  42.    /* these are regions in the ADrgnlist */
  43. #define ADNRegion 1
  44. #define ADCRegion 2
  45. #define ADKRegion 3
  46. #define ADDLTRegion 4
  47. #define ADDNRegion 5
  48. #define ADCNCLRegion 6
  49. #define ADNXTRegion 7
  50. #define ADWSIFRegion 8
  51. #define ADIMIFRegion 9
  52. #define ADGRegion 10
  53. #define ADFRegion 11
  54. #define ADFLRegion 12
  55. #define ADDLT2Region 13
  56.    /* these are the regions for the save as window SArgnlist */
  57. #define SATRegion 0
  58. #define SACNCLRegion 1
  59. #define SADNRegion 2
  60.    /* these are the regions for the read window RDrgnlist */
  61. #define RDTRegion 0
  62. #define RDCNCLRegion 1
  63. #define RDDNRegion 2
  64.    /* these are regions in the AGrgnlist */
  65. #define AGNRegion 0
  66. #define AGKRegion 1
  67. #define AGDLTRegion 2
  68. #define AGDNRegion 3
  69. #define AGCNCLRegion 4
  70. #define AGNXTRegion 5
  71.    /* these are the regions for the rearrange window Rergnlist*/
  72. #define ReCNCLRegion 0
  73. #define ReDNRegion 1
  74.  
  75. #define REGIONCOUNT 15
  76. #define PDCOUNT 5
  77. #define PDENTWIDTH 70
  78. #define PDENTHEIGHT 20
  79.  
  80.    typedef struct {
  81.    long        xmin, xmax, ymin, ymax;
  82.    } Regiondesc;
  83.  
  84. Regiondesc regionlist[REGIONCOUNT];
  85. Regiondesc ADrgnlist[REGIONCOUNT];
  86. Regiondesc AGrgnlist[REGIONCOUNT];
  87. Regiondesc SArgnlist[REGIONCOUNT];
  88. Regiondesc RDrgnlist[REGIONCOUNT];
  89. Regiondesc AGrgnlist[REGIONCOUNT];
  90. Regiondesc INDXrgnlist[REGIONCOUNT];
  91. Regiondesc Rergnlist[REGIONCOUNT];
  92. Regiondesc MSrgnlist[REGIONCOUNT];
  93.  
  94. #endif
  95.