home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / IRITS.ZIP / GRAPHGNL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-05  |  1.2 KB  |  35 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d polygonal solid modeller.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, Mar. 1990   *
  5. ******************************************************************************
  6. * General, local to module, definitions of GraphGen module.             *
  7. *****************************************************************************/
  8.  
  9. #ifndef    GRAPH_GENERAL_LH                /* Define only once. */
  10. #define    GRAPH_GENERAL_LH
  11.  
  12. #define    CURSOR_IMAGE_X  24                   /* Cursor dimensions. */
  13. #define    CURSOR_IMAGE_Y  24
  14.  
  15. #define    POINT_SIZE 0.05                  /* Size of + marker drawn. */
  16. #define    POINT_TITLE 0.02       /* Distance between point title and + marker. */
  17.  
  18. /* And finally the static (internal) function prototypes: */
  19.  
  20. static int GGUpdateGetPointKbd(int *x, int *y);
  21. static int GGGetKey(void);
  22.  
  23. #define KEY_LEFT     256     /* Key Codes returned for operational keys. */
  24. #define KEY_RIGHT    257
  25. #define KEY_UP         258
  26. #define KEY_RETURN   259
  27. #define KEY_DELETE   260
  28. #define KEY_INSERT   261
  29. #define KEY_BSPACE   262
  30. #define KEY_ESC      263
  31. #define KEY_HOME     264
  32. #define KEY_END      265
  33.  
  34. #endif    /* GRAPH_GENERAL_LH */
  35.