home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Graphics / PPT / include / fd / pptsupp_lib.fd < prev   
Text File  |  1999-09-05  |  2KB  |  96 lines

  1. *    FD file for the PPT internal support functions.
  2. *    $Id: pptsupp_lib.fd,v 6.0 1999/09/05 16:19:27 jj Exp jj $
  3. *
  4. *    Use ##public to create public funcs
  5. *    Use ##private to declare private stuff
  6. ##base _PPTBase
  7. ##bias 30
  8. ##public
  9. *
  10. *---- Frame handling functions ------
  11. *
  12. NewFrame(height,width,components)(d0/d1/d2)
  13. MakeFrame(frame)(a0)
  14. InitFrame(frame)(a0)
  15. RemFrame(frame)(a0)
  16. DupFrame(frame,flags)(a0,d0)
  17. FindFrame(id)(D0)
  18. *
  19. *---- Pixels and pixelrows -------
  20. *
  21. GetPixel(frame,row,col)(A0,D0,D1)
  22. PutPixel(frame,row,col,data)(A0,D0,D1,A1)
  23. GetPixelRow(frame,row)(A0,D0)
  24. PutPixelRow(frame,row,data)(A0,D0,A1)
  25. GetNPixelRows(frame,buf,row,nRows)(A0/A1,D0/D1)
  26. PutNPixelRows(frame,buf,row,nRows)(A0/A1,D0/D1)
  27. GetBitMapRow(frame,row)(A0,D0)
  28. *
  29. *----- Progress'O'Meter
  30. *
  31. ##private
  32. UpdateProgress(frame,txt,done)(A0/A1,D0)
  33. ##public
  34. InitProgress(frame,txt,min,max)(A0/A1,D0/D1)
  35. Progress(frame,done)(A0/D0)
  36. FinishProgress(frame)(A0)
  37. ClearProgress(frame)(A0)
  38. *
  39. *----- Error settings
  40. *
  41. SetErrorCode(frame,error)(A0,D0)
  42. SetErrorMsg(frame,errorstring)(A0/A1)
  43. *
  44. *----- Our GUI builder
  45. *
  46. AskReqA(frame,objectlist)(A0/A1)
  47. *
  48. *----- Format conversion functions
  49. *
  50. PlanarToChunky(source,dest,width,depth)(A0/A1,D0/D1)
  51. ##private
  52. ChunkyToPlanar()()
  53. ##public
  54. *
  55. *----- Miscallaneous support functions
  56. *
  57. GetStr(string)(A0)
  58. TagData(tagvalue,list)(d0/a0)
  59. *
  60. *----- Frame input methods
  61. *
  62. StartInput(frame,mid,area)(A0,D0,A1)
  63. StopInput(frame)(A0)
  64. *
  65. *----- Gets a background color
  66. *
  67. GetBackgroundColor(frame,pixel)(A0/A1)
  68. *
  69. *----- Options settings
  70. *
  71. GetOptions(name)(A0)
  72. PutOptions(name,data,len)(A0/A1,D0)
  73. *
  74. *----- Extensions
  75. *
  76. AddExtension(frame,name,data,len,flags)(A0/A1/A2,D0/D1)
  77. FindExtension(frame,name)(A0/A1)
  78. RemoveExtension(frame,name)(A0/A1)
  79. *
  80. *----- Previews (V4)
  81. *
  82. ObtainPreviewFrameA(frame,tags)(A0,A1)
  83. ReleasePreviewFrame(frame)(A0)
  84. RenderFrame(frame,rastport,location,flags)(A0,A1,A2,D0)
  85. CopyFrameData(src,dest,flags)(A0,A1,D0)
  86. *
  87. *----- Start of V5 additions
  88. *
  89. CloseProgress(frame)(A0)
  90. SetRexxVariable(frame,var,value)(A0,A1,A2)
  91. *
  92. *----- Start of V6 additions
  93. *
  94. SPrintFA(buffer,format,args)(A0,A1,A2)
  95. ##end
  96.