The slider method
What we are going to do now is add a little LED-like display emitting a brief flash when changing states.
Let's just go with the
from the cFos
"Modern" skin for this section.
This section displays the value of the latency
parameter (see our skin definition reference page
which can either be 0 (low latency is off) or 1 (low latency is on).
set to 2, the original parameter is projected onto a range from 0 to 2.
In combination with stepsize
this will have the animation run through all of its three frames each time the original value changes
from 0 to 1.
Animation speed is controlled by the value entered for updatetime
, which determines the time each
frame is shown in milliseconds.
Color transformations are used here to correct some minor glitches
in the original bitmap's shadow colors.
Next step: Switching sections by using the activearea method
The text method
The activearea method