statusLineobject | status.t[173] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
We provide two main methods: showStatusHtml, which shows the status line in HTML format, and showStatusText, which shows the status line in plain text mode. To display the status line, we invoke one or the other of these methods, according to the current mode, to display the statusline. The default implementations of these methods generate the appropriate formatting codes for a statusline with a left part and a right part, calling showStatusLeft and showStatusRight, respectively, to display the text for the parts.
Games can customize the statusline at two levels. At the simpler level, a game can modify showStatusLeft and/or showStatusRight to change the text displayed on the left and/or right of the statusline. Since these two methods are used regardless of the statusline style of the underlying interpreter, games don't have to worry about the different modes when overriding these.
At the more complex level, a game can modify showStatusHtml and/or showStatusText. Modifying these routines provides complete control over the formatting of the entir status line. If a game wants to use something other than the traditional left/right display, it must modify these methods.
This object is transient, because the statusline style is a function of the interpreter we're currently running on, and thus isn't suitable for saving persistently.
transient statusLine : object
beginStatusLine
endStatusLine
getEstimatedHeightHtml
initBannerWindow
setColorScheme
showStatusHtml
showStatusLeft
showStatusLine
showStatusLineDaemon
showStatusRight
showStatusText
statusDispMode | status.t[564] |
beginStatusLine ( ) | status.t[392] |
endStatusLine (oldStr) | status.t[470] |
getEstimatedHeightHtml ( ) | status.t[294] |
If showStatusHtml() is overridden to display more or fewer lines of text than the basic implementation here, then this routine must be overridden as well to reflect the new height.
initBannerWindow (win) | status.t[513] |
setColorScheme ( ) | status.t[381] |
showStatusHtml ( ) | status.t[252] |
showStatusLeft ( ) | status.t[337] |
showStatusLine ( ) | status.t[180] |
showStatusLineDaemon ( ) | status.t[232] |
showStatusRight ( ) | status.t[358] |
showStatusText ( ) | status.t[317] |