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

  1. extern char *IViewDataNew(), *IViewDataStringString();
  2. extern long IViewWindowGetRefCon();
  3. extern char *IViewDataVariableLabel(), *IViewDataPointLabel();
  4. extern PointState IViewDataPointState(), IViewDataPointScreenState();
  5. extern double IViewDataPointValue(), IViewDataLineValue(), IViewDataStringValue();
  6. extern double **IViewDataTransformation();
  7.  
  8. /* General Data Macros */
  9. #define IViewNumVariables(w) IViewDataNumVariables(IViewData(w))
  10. #define IViewSetVariableLabel(w, var, s) IViewDataSetVariableLabel(IViewData(w), var, s)
  11. #define IViewVariableLabel(w, var) IViewDataVariableLabel(IViewData(w), var)
  12. #define IViewSetRange(w, var, low, high) IViewDataSetRange(IViewData(w), var, low, high)
  13. #define IViewGetRange(w, var, low, high) IViewDataGetRange(IViewData(w), var, low, high)
  14. #define IViewSetScreenRange(w, var, low, high) IViewDataSetScreenRange(IViewData(w), var, low, high)
  15. #define IViewGetScreenRange(w, var, low, high) IViewDataGetScreenRange(IViewData(w), var, low, high)
  16. #define IViewSetIdentityTransformation(w) IViewDataSetIdentityTransformation(IViewData(w))
  17. #define IViewSetTransformation(w, a) IViewDataSetTransformation(IViewData(w), a)
  18. #define IViewTransformation(w) IViewDataTransformation(IViewData(w))
  19. #define IViewIsTransformed(w) IViewDataIsTransformed(IViewData(w))
  20. #define IViewApplyTransformation(w, a, inbasis) IViewDataApplyTransformation(IViewData(w), a, inbasis)
  21.  
  22. /* Point Data Macros */
  23. #define IViewAddPoints(w, n) IViewDataAddPoints(IViewData(w), n)
  24. #define IViewClearPoints(w) IViewDataClearPoints(IViewData(w))
  25. #define IViewNumPoints(w) IViewDataNumPoints(IViewData(w))
  26. #define IViewSetPointValue(w, var, point, value) IViewDataSetPointValue(IViewData(w), var, point, value)
  27. #define IViewPointValue(w, var, point) IViewDataPointValue(IViewData(w), var, point)
  28. #define IViewPointScreenValue(w, var, point) IViewDataPointScreenValue(IViewData(w), var, point)
  29. #define IViewGetScreenPointValues(w, point, x) IViewDataGetScreenPointValues(IViewData(w), point, x)
  30. #define IViewSetPointMask(w, point, masked) IViewDataSetPointMask(IViewData(w), point, masked)
  31. #define IViewPointMasked(w, point) IViewDataPointMasked(IViewData(w),  point)
  32. #define IViewSetPointState(w, point, state) (IViewDataSetPointState(IViewData(w), point, state), \
  33.   if (IViewIsLinked(w)) IViewMatchPointState(w, point))
  34. #define IViewPointState(w, point) IViewDataPointState(IViewData(w),  point)
  35. #define IViewSetPointScreenState(w, point, state) IViewDataSetPointScreenState(IViewData(w), point, state)
  36. #define IViewPointScreenState(w, point) IViewDataPointScreenState(IViewData(w),  point)
  37. #define IViewResetScreenStates(w) IViewDataResetScreenStates(IViewData(w))
  38. #define IViewSetPointMark(w, point, marked) IViewDataSetPointMark(IViewData(w), point, marked)
  39. #define IViewPointMarked(w, point) IViewDataPointMarked(IViewData(w),  point)
  40. #define IViewClearPointMarks(w) IViewDataClearPointMarks(IViewData(w))
  41. #define IViewSetPointLabel(w, point, s) IViewDataSetPointLabel(IViewData(w), point, s)
  42. #define IViewPointLabel(w, point) IViewDataPointLabel(IViewData(w), point)
  43. #define IViewSetPointSymbol(w, point, sym, hsym) IViewDataSetPointSymbol(IViewData(w),  point, sym, hsym)
  44. #define IViewGetPointSymbol(w, point, sym, hsym) IViewDataGetPointSymbol(IViewData(w),  point, sym, hsym)
  45.  
  46. /* Line Data Macros */
  47. #define IViewNumLines(w) IViewDataNumLines(IViewData(w))
  48. #define IViewAddLines(w, n) IViewDataAddLines(IViewData(w), n)
  49. #define IViewClearLines(w) IViewDataClearLines(IViewData(w))
  50. #define IViewSetLineValue(w, var, line, value) IViewDataSetLineValue(IViewData(w), var, line, value)
  51. #define IViewLineValue(w, var, line) IViewDataLineValue(IViewData(w), var, line)
  52. #define IViewLineScreenValue(w, var, line) IViewDataLineScreenValue(IViewData(w), var, line)
  53. #define IViewSetLineMask(w, line, masked) IViewDataSetLineMask(IViewData(w), line, masked)
  54. #define IViewLineMasked(w, line) IViewDataLineMasked(IViewData(w),  line)
  55. #define IViewSetNextLine(w, line, next) IViewDataSetNextLine(IViewData(w), line, next)
  56. #define IViewNextLine(w, line) IViewDataNextLine(IViewData(w), line)
  57. #define IViewSetLineType(w, line, type) IViewDataSetLineType(IViewData(w), line, type)
  58. #define IViewLineType(w, line) IViewDataLineType(IViewData(w), line)
  59.  
  60. /* String Data Macros */
  61. #define IViewNumStrings(w) IViewDataNumStrings(IViewData(w))
  62. #define IViewAddStrings(w, n) IViewDataAddStrings(IViewData(w), n)
  63. #define IViewClearStrings(w) IViewDataClearStrings(IViewData(w))
  64. #define IViewSetStringValue(w, var, string, value) IViewDataSetStringValue(IViewData(w), var, string, value)
  65. #define IViewStringValue(w, var, string) IViewDataStringValue(IViewData(w), var, string)
  66. #define IViewStringScreenValue(w, var, string) IViewDataStringScreenValue(IViewData(w), var, string)
  67. #define IViewSetStringMask(w, string, masked) IViewDataSetStringMask(IViewData(w), string, masked)
  68. #define IViewStringMasked(w, string) IViewDataStringMasked(IViewData(w),  string)
  69. #define IViewSetStringString(w, string, str) IViewDataSetStringString(IViewData(w), string, str)
  70. #define IViewStringString(w, string) IViewDataStringString(IViewData(w), string)
  71. #define IViewSetStringModifiers(w, string, up, h, v) IViewDataSetStringModifiers(IViewData(w), string, up, h, v)
  72. #define IViewGetStringModifiers(w, string, up, h, v) IViewDataSetStringModifiers(IViewData(w), string, up, h, v)
  73.     
  74.