Module Duplex.UILed

The UILed is a simple control with no internal state, and no events.

It's entirely up to you to control its visual state via set()

Functions

__init (app, map) Initialize the UILed class
set (val) method for setting the palette
draw () Update the appearance - inherited from UIComponent


Functions

__init (app, map)
Initialize the UILed class

Parameters:

set (val)
method for setting the palette

Parameters:

  • val (table), new color/text values
draw ()
Update the appearance - inherited from UIComponent

See also:

generated by LDoc 1.4.2