browser.tfile | source file |
Classes Summary | Objects Summary | Functions Summary Details |
TADS 3 Library - browser (Web UI) input/output manager
This module defines the low-level functions for handling input and output via the Web UI.
The functions in this module are designed primarily for internal use within the library itself. Games should use the higher level objects and functions defined in input.t and output.t instead of directly calling the functions defined here. The reason for separating these functions is to make the UI selection pluggable, so that the same game can be compiled for either the traditional UI or the Web UI simply by plugging in the correct i/o module.
WebBannerWin
WebWinOutputStream
browserGlobals
commandWin
statuslineBanner
aHref
aHrefAlt
aioClearScreen
aioInputDialog
aioInputEvent
aioInputFile
aioInputLineCancel
aioInputLineTimeout
aioLogInputEvent
aioMorePrompt
aioSay
aioSetLogFile
checkHtmlMode
evtCharForScript
initDisplay
initUI
readingEventScript
readingScript
statusHTML
terminateUI
aHref (href, txt?, title?, flags, =, 0) | browser.t[642] |
If the display text is included, we'll generate the entire link, including the <A HREF> tag, the hyperlinked text contents, and the </A> end tag. If the text is omitted, we'll simply generate the <A HREF> tag itself, leaving it to the caller to display the text and the </A>.
The optional 'flags' is a combination of AHREF_xxx flags indicating any special properties of the hyperlink.
aHrefAlt (href, linkedText, altText, title?) | browser.t[667] |
aioClearScreen ( ) | browser.t[277] |
aioInputDialog (icon, prompt, buttons, defaultButton, cancelButton) | browser.t[398] |
aioInputEvent (timeout) | browser.t[241] |
aioInputFile (prompt, dialogType, fileType, flags) | browser.t[288] |
aioInputLineCancel (reset) | browser.t[230] |
aioInputLineTimeout (timeout) | browser.t[195] |
aioLogInputEvent (evt) | browser.t[525] |
aioMorePrompt ( ) | browser.t[267] |
aioSay (txt) | browser.t[163] |
aioSetLogFile (fname, typ, =, LogTypeTranscript) | browser.t[429] |
checkHtmlMode ( ) | browser.t[147] |
evtCharForScript (c) | browser.t[613] |
initDisplay ( ) | browser.t[72] |
initUI ( ) | browser.t[48] |
readingEventScript ( ) | browser.t[185] |
readingScript ( ) | browser.t[177] |
statusHTML (stage) | browser.t[688] |
terminateUI ( ) | browser.t[113] |