wiki:plugin_test

Test plugin

This plugin provides two functions primary for testing purposes.


Functions:

test:bar(index, max, start, delta)returns a value between 0 and max
test::onoff(index)returns 1 and -1 in turn every time called

The test::bar function is used for testing bars. It keeps values for up to 10 bars (specified with the <index> parameter) which are incremented and decremented between 0 and <max> by amount <delta> every time they are read. Starting value is <start>.

The test::onoff function is used for testing the visibility of icons. It provides up to 10 values (specified with the <index> parameter) which switch between -1 and 1 every time it is called.


Last modified 14 years ago Last modified on 04/03/05 09:35:25