Module ...

Module that handles a single message line, with pausing and flashing

Functions

_M:call (style, str, ...) Appends text to the log This method is set as the call methamethod too, this means it is usable like this:
log = LogDisplay.new(...)
log("foo %s", s)
_M:empty (force) Clear the log
_M:init (x, y, w, h, max, fontname, fontsize, color, bgcolor) Creates the log zone
_M:resize (x, y, w, h) Resize the display area


Functions

_M:call (style, str, ...)
Appends text to the log This method is set as the call methamethod too, this means it is usable like this:
log = LogDisplay.new(...)
log("foo %s", s)

Parameters

  • style:
  • str:
  • ...:
_M:empty (force)
Clear the log

Parameters

  • force:
_M:init (x, y, w, h, max, fontname, fontsize, color, bgcolor)
Creates the log zone

Parameters

  • x:
  • y:
  • w:
  • h:
  • max:
  • fontname:
  • fontsize:
  • color:
  • bgcolor:
_M:resize (x, y, w, h)
Resize the display area

Parameters

  • x:
  • y:
  • w:
  • h:

Valid XHTML 1.0!