home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / xlispstat_386.lzh / XLispStat / src3.lzh / Original_Headers / StGWWindow.h < prev    next >
C/C++ Source or Header  |  1990-07-30  |  1KB  |  53 lines

  1. #define nil 0L
  2.  
  3. typedef int ColorCode;
  4.  
  5. typedef enum {
  6.   MouseClick = 0,
  7.   MouseMove = 1
  8. } MouseEventType;
  9.  
  10. typedef enum {
  11.   NoModifiers = 0,
  12.   ExtendModifier = 1,
  13.   OptionModifier = 2,
  14.   OptionExtendModifier = 3
  15. } MouseClickModifier;
  16.  
  17. typedef enum {
  18.   pointInvisible,
  19.   pointNormal,
  20.   pointHilited,
  21.   pointSelected
  22. } PointState;
  23.  
  24. typedef enum {
  25.   selecting,
  26.   brushing,
  27.   usermode
  28. } MouseMode;
  29.  
  30. extern char *StCalloc();
  31. extern long StGWGetObject();
  32. extern char *StGWObWinInfo();
  33. extern ColorCode StGWDrawColor();
  34. extern ColorCode StGWBackColor();
  35. extern long StGWGetRefCon();
  36. extern long StGWGetColRefCon();
  37. extern long StGWGetCursRefCon();
  38. extern long StGWGetSymRefCon();
  39.  
  40. extern long IViewWindowGetObject();
  41. extern long IViewGetRefCon();
  42. extern char *IViewWindowWinInfo();
  43.  
  44. #define ARROW_CURSOR      0
  45. #define WATCH_CURSOR      1
  46. #define CROSS_CURSOR      2
  47. #define BRUSH_CURSOR      3
  48. #define HAND_CURSOR       4
  49. #define FINGER_CURSOR     5
  50. #define HOUR_GLASS_CURSOR 6
  51. #define TRASH_BAG_CURSOR  7
  52. #define TRASH_CAN_CURSOR  8
  53.