home *** CD-ROM | disk | FTP | other *** search
- Structures & Variables
- ----------------------
-
- Links
- -----
- +0 ptr to next OR 0
- +4 ptr to href FIELD
- +8 flags
- 0 = link has an image map
- +12..+32 iconhandles or icons for this link
-
- Form
- ----
-
- +0 ptr to next form
- +4 ptr to contents
- +8 method 0 - POST
- 1 - GET
- 2 - sendmail
- +12.. Action
-
- Form Contents
- -------------
- Type 0 - Text Field
- +0 ptr to next Content
- +4 type
- +8 Icon handle
- +12.. name$,default_value$
-
- Type 1 - Check box / Radio
- +0 ptr to next Content
- +4 type
- +8 Icon Handle
- +12 Selected? (0 = No, 1 = Yes)
- +16.. name$,value_if_checked$
-
- Type 2 = Submit
- +0 ptr to next Content
- +4 type
- +8 Icon Handle
- +12 1 if clicked on
- +16 Name
-
- Type 3 = Reset
- +0 ptr to next Content
- +4 type
- +8 Icon Handle
-
- Type 4 = Option
- +0 ptr to next Content
- +4 type
- +8 Value Icon Handle
- +12 Menu Icon Handle
- +16 ptr to menu
- +20 ptr to default menu
- +24 size of menu
- +28.. NAME
-
- Type 5 = Option, Multiple Selections
- +0 ptr to next Content
- +4 type
- +8 Value Icon Handle
- +12 Menu Icon Handle
- +16 ptr to menu
- +20 ptr to default menu
- +24.. NAME
-
- Type 6 = TextArea
- +0 ptr to next Content
- +4 type
- +8 icon%
- +12 Rows
- +16 Cols
- +20 ptr to original data lines
- +24 ptr to new data lines
- +28 xoffset
- +32 yoffset
- +36 up icon
- +40 down icon
- +44 Max line length
- +48 current cursor x
- +52 current cursor Y
- +56 X position
- +60 Y position
- +64 no of lines * 4
- +68 left icon
- +72 right icon
- +76 .. name$
-
- Type 7 = ImageMap - Not yet sendable
- +0 ptr to next Content
- +4 type
- +8 Value Icon Handle
- +12.. NAME
-
- Type 8 - Range (HTML 3)
- +0 ptr to next Content
- +4 type
- +8 Icon Handle
- +12 ptr to min (REAL VALUE)
- +16 ptr to max (REAL VALUE)
- +20.. name$,value$
-
- Misc
- ----
- Intermediate structure for <OPTION> value parts of
- <SELECT>..</SELECT>
-
- +0 ptr to next
- +4 FLAG bit 0 = Selected, 1 = Shaded
- +8... CONTENT
-
- HotList
- -------
- +0 Next
- +4 window handle
- +8 contents
- +12 Height (pixels)
- +16 Count for selected entry
- +20 Height (Lines)
- +24 open flag
-
- Lists Contents
- --------------
- +0 ptr to next
- +4 spare
- +8 ptr to name
- +12 ptr to url
- +16 ptr to goto string (History list only)
- +20 Windows scroll value (History list only)
- +24 Windows height (History list only)
-
- Method flags - mf%()
- --------------------
- 0 - Ignore
- 1 - Standard Fetcher
- 2 - Command line
- 3 - Open Edit Window
- 4 - Open Save Window
- 5 - Standard Fetcher with an Extended URL
-
- Cache variables
- ---------------
- cs% - Cache Status (Pointer to an array of integers)
-
- -2 - Closed waiting for 'finished' message from fetcher.
- -1 - Unused cache%=9999+
- 0 - Available cache%=Age of entry (from 1)
- 1 - Fetching cache%= -(task handle)
- csp% = Handle of file to contain Result +
- 0x10000* Handle of file holding URL (if an Extended URL)
- csp% = 0 if pure command line
- 2 - Fetching cache%= -(Fetch Message Referance)
- csp% = Handle of file to contain Result +
- 0x10000* Handle of file holding URL (if an Extended URL)
- [next is 0 for fetch complete or 3 for 'inprogress' message received]
- 3 - File Available, but fetch is still in progress and browser CAN read the file.
- csp% = Handle of file containing the fetched data +
- 0x10000* Handle of file holding URL.
- [next is 4 when browser starts reading, or 5 for errors or finished
- fetch]
- 4 - inuse cache% = 0,
- Fetch is still in progress, browser *is* or *Has been* reading the
- file. Decode section must close the files.
- [next is 5 when fetch complete]
- 5 - Fetch complete, but was in state 3 or 4 so something is still in progress
- if it was not in state 3 or 4, state changes to 0 not 5.
- URL file is closed, but main data file still open.
-
- 6 - currently scanning the file to find the size.
- If 'Finish message' is received, goto state 4, this aborts peeking.
- When peeking is finished it is always set to 4
- 7 - Image decode in progress
- cache%= -task handle
-
- csp% - More Cache Status info, See above
- (Pointer to an array of integers)
-
- cache% - Cache time, See above (Pointer to
- an array of integers)
-
- cachet% - Filetype (Array of pointers to a string)
-
- cacheu% - The cached URL (Array of pointers to a string,
- in Capitals when fetched)
-
- List Types
- ----------
- 0 - UL
- 1 - OL
- 2 - DIR
- 3 - MENU
-
- Image alignment flags
- ---------------------
- 0 - left
- 1 - right
- 2 - top, texttop
- 3 - bottom, baseline
- 4 - middle, absmiddle
-
- Choices flags (in MF%)
- ----------------------
- 1 - Window shift thingy
- 2 - Keep Main window on screen
- 4 - Can Toggle to screen width
- 8 - Single Click Follows links
-
- Run Types
- ---------
- 0 - Nothing
- 1 - Filer_Run
- 2 - Load into Webster
- 3 - Command line
- 4 - Save Window
-
- Image Cache
- -----------
- +0 - Next
- +4 - ptr to sprite area containing image
- in 'missing' list, icon to fill in.
- +8 - Age decremented at every page, entry is freed when zero
- in 'missing' list 0 - Unknown size,
- 1 - size known
- +12 - X size of image
- +16 - Y size of image
- +20 - ptr to image name
- in missing list, ptr to main disc cache entry
- +24 to end - url of image
-
- Realms (Authentication data)
- ------
- +0 - Next
- +4 - ptr to coded password info
- +8
- ..
- n - url the authentication applies to.
-
- Displays - Images etc display manually
- --------
- +0 - next
- +4 - plot type
- - 1 = jpeg image
- - 2 = Text area
- For 1
- +8 - left x
- +12 - bottom y
- +16 - rightx
- +20 - top y
- +24 - *jpeg data
- +28 - length of above
-
- For 2 and 3 (Coordinates need fixing for 2, set to 3 whn fixed)
- +8 - left x
- +12 - bottom y
- +16 - rightx
- +20 - top y
- +24 - icon
- +28 - ptr to textarea object
-
- Window Data
- -----------
- +0 - Next
- +4 - input filehandle (-1 if not decoding)
- +8 - Window Handle
- +12 - Current Cache pointer (-1 If a local file)
- +16 - pc% (Last endofline character)
- +20 - lx%
- +24 - ly%
- +28 - lt%
- +32 - rx%
- +36 - ry%
- +40 - rt%
- +44 - tx%
- +48 - ty%
- +52 - iy%
- +56 - maxy%
- +60 - bq%
- +64 - ptr to align$
- +68 - ptr to oalign$
- +72 - FM%
- +76 - Fm%
- +80 - history%
- +84 - interval%
- +88 - ptr to refurl
- +92 - phist%
- +96 - toolbar window handle
- +100 - history window handle
- +104 - nhist% (no of history entries)
- +108 - hsel% (selected history entry)
- +112 - timeloaded
- +116 - url$
- +120 - nexturl$
- +124 - skipc%
- +128 - display%
- +132 - links%
- +136 - miss%
- +140 - displayc%
- +144 - forms%
- +148 - title%
- +152 - def% (Default font)
- +156 - minx%
- +160 - top%
-