TftSignalSet()

Library Description ›› Shapes ›› Shapes ››
Parent Previous Next

Syntax

TftSignalSet(bActiveBars As Byte)

Parameters

bActiveBars — new number of lit bars, 0 to bBarCount (clamped)


Efficiently updates an already-drawn TftSignalIcon()'s active-bar count


Efficiently updates an already-drawn TftSignalIcon()'s active-bar count, redrawing only the bars whose lit/unlit state actually changed - not the whole icon.
Reads geometry/colors directly from TftSignalIcon()'s own last-used parameters.


Requires TftSignalIcon() to have been called at least once first - this function has no way to detect that on its own.

Example

TftSetUp(0, 0)

TftResetScreen(BLACK)

TftSignalIcon(270,200, 7,2,3, 20,3, GREEN,BROWN)

DelayMS 1000

TftSignalSet(2)

DelayMS 1000

TftSignalSet(5)

DelayMS 1000

TftSignalSet(7)

DelayMS 1000

TftSignalSet(5)

DelayMS 1000

TftSignalSet(4)


Created with the Personal Edition of HelpNDoc: Streamline Your CHM Help File Creation with HelpNDoc