home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / webster / !Webster / Docs / structures < prev    next >
Text File  |  1995-07-24  |  3KB  |  160 lines

  1. Structures & Variables
  2. ----------------------
  3.  
  4. Links
  5. -----
  6. +0 ptr to next OR 0
  7. +4 ptr to href FIELD
  8. +8 flags
  9.    0 = link has an image map
  10. +12..+32 iconhandles or icons for this link
  11.  
  12. Form
  13. ----
  14.  
  15. +0 ptr to next form
  16. +4 ptr to contents
  17. +8 method 0 - POST
  18.           1 - GET 
  19.           2 - sendmail
  20. +12.. Action
  21.  
  22. Form Contents
  23. -------------
  24. Type 0 - Text Field
  25. +0 ptr to next Content
  26. +4 type
  27. +8 Icon handle
  28. +12.. name$,default_value$
  29.  
  30. Type 1 - Check box / Radio
  31. +0 ptr to next Content
  32. +4 type
  33. +8 Icon Handle
  34. +12 Selected? (0 = No, 1 = Yes)
  35. +16.. name$,value_if_checked$
  36.  
  37. Type 2 = Submit
  38. +0 ptr to next Content
  39. +4 type
  40. +8 Icon Handle
  41.  
  42. Type 3 = Reset
  43. +0 ptr to next Content
  44. +4 type
  45. +8 Icon Handle
  46.  
  47. Type 4 = Option
  48. +0 ptr to next Content
  49. +4 type
  50. +8 Value Icon Handle
  51. +12 Menu Icon Handle
  52. +16 ptr to menu
  53. +20 ptr to default menu
  54. +24.. NAME
  55.  
  56. Type 5 = Option, Multiple Selections
  57. +0 ptr to next Content
  58. +4 type
  59. +8 Value Icon Handle
  60. +12 Menu Icon Handle
  61. +16 ptr to menu
  62. +20 ptr to default menu
  63. +24.. NAME
  64.  
  65. Type 6 = TextArea 
  66. +0 ptr to next Content
  67. +4 type
  68. +8 icon%
  69. +12 Rows
  70. +16 Cols
  71. +20 ptr to data lines
  72. +24 .. name$
  73.  
  74. Type 7 = ImageMap       - Not yet sendable
  75. +0 ptr to next Content
  76. +4 type
  77. +8 Value Icon Handle
  78. +12.. NAME
  79.  
  80. Misc
  81. ----
  82. Intermediate structure for <OPTION> value parts of
  83. <SELECT>..</SELECT>
  84.  
  85. +0 ptr to next
  86. +4 FLAG bit 0 = Selected, 1 = Shaded
  87. +8... CONTENT
  88.  
  89. Lists
  90. -----
  91. +0 ptr to next
  92. +4  spare
  93. +8  ptr to name
  94. +12 ptr to url
  95. +16 ptr to goto string (History list only)
  96. +20 Windows scroll value (History list only)
  97. +24 Windows height (History list only)
  98.  
  99. Method flags - mf%()
  100. --------------------
  101. 0 - Ignore
  102. 1 - Standard Fetcher
  103. 2 - Command line
  104. 3 - Open Edit Window
  105. 4 - Open Save Window
  106. 5 - Standard Fetcher with an Extended URL
  107.  
  108. Cache variables
  109. ---------------
  110. cs% - Cache Status (Pointer to an array of integers)
  111.  
  112. -1 - Unused     cache%=9999+
  113.  0 - Available  cache%=Age of entry (from 1)
  114.  1 - Fetching   cache%= -(task handle)
  115.  2 - Fetching   cache%= -(Fetch Message Referance)
  116.                 csp%= Handle of file to contain Result
  117.                         1024* Handle of file holding URL (if an Extended URL)
  118.                         
  119.  3 - inuse      cache%=0
  120.  
  121. csp% - More Cache Status info, See above
  122.        (Pointer to an array of integers)
  123.  
  124. cache% - Cache time, See above (Pointer to
  125.          an array of integers)
  126.  
  127. cachet% - Filetype (Array of pointers to a string)
  128.  
  129. cacheu% - The cached URL (Array of pointers to a string,
  130.           in Capitals when fetched)
  131.  
  132. List Types
  133. ----------
  134.  
  135. 0 - UL
  136. 1 - OL
  137. 2 - DIR
  138. 3 - MENU
  139.  
  140. Image alignment flags
  141. ---------------------
  142. 0 - left
  143. 1 - right
  144. 2 - top, texttop
  145. 3 - bottom, baseline
  146. 4 - middle, absmiddle
  147.  
  148. Choices flags (in MF%)
  149. 1 - Window shift thingy
  150. 2 - Keep Main window on screen
  151. 4 - Can Toggle to screen width
  152. 8 - Single Click Follows links
  153.  
  154. Run Types
  155. 0 - Nothing
  156. 1 - Filer_Run
  157. 2 - Load into Webster
  158. 3 - COmmand line
  159. 4 - Save Window
  160.