home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 287.lha / TY_v1.3 / src / cmd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-07  |  1.6 KB  |  52 lines

  1. /*************************************************************************
  2.  ***                        command.h                    (JJB TEMPLAR) ***
  3.  *** Date begun: 8/8/89.                                               ***
  4.  *** Last modified: 27/8/89.                                           ***
  5.  *************************************************************************/
  6. /*** #defines for commands. Shared by both keyboard and gadgets.       ***
  7.  *************************************************************************/
  8.  
  9. struct cmdmap {
  10.     UBYTE   code;
  11.     UBYTE   command;
  12. };
  13.  
  14. #define C_UNKNOWN       0
  15. #define C_INNOCUOUS     1
  16. #define C_QUIT          2
  17. #define C_FORW_LINE     3
  18. #define C_BACK_LINE     4
  19. #define C_FORW_PAGE     5
  20. #define C_BACK_PAGE     6
  21. #define C_LEFT          7
  22. #define C_RIGHT         8
  23. #define C_FORW_FILE     9
  24. #define C_BACK_FILE     10
  25. #define C_HELP          11
  26. #define C_ABOUT         12
  27. #define C_TOP           13
  28. #define C_BOTTOM        14
  29. #define C_VERSION       15
  30. #define C_REPAINT       16
  31. #define C_INFO          17
  32. #define C_SCROLL        18
  33. #define C_RESIZE        19
  34. #define C_BOOM          20
  35. #define C_SEARCH_F      21
  36. #define C_SEARCH_B      22
  37. #define C_SLEFT         23
  38. #define C_SRIGHT        24
  39. #define C_SET_MARK      25
  40. #define C_GO_MARK       26
  41. #define C_PERCENT       27
  42. #define C_ICONIFY       28
  43. #define C_SEARCH_FNC    29          /* Search foward, no new string */
  44. #define C_SEARCH_BNC    30
  45. #define C_PRINT         31
  46. #define C_HSCROLL       32
  47. #define C_MODE_ON       33
  48. #define C_MODE_OFF      34
  49. #define C_NEWCLI        35
  50. #define C_EDITOR        36
  51. #define C_ADDFILE       37
  52.