The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ColourU.h File Reference
#include "graphics.hpp"

Go to the source code of this file.

Functions

double periodic (double percent)
TColor rainbowColour (int value)

Function Documentation

double periodic ( double  percent)

Returns a periodic (cos ^2) function from any real input the periodicity is 1

Parameters:
percent
Returns:
the result

Definition at line 30 of file ColourU.cpp.

Referenced by rainbowColour(), and TEST_CASE().

TColor rainbowColour ( int  value)

Yields a 32 bit RGB colour value from the input value

Parameters:
value
Returns:
the colour

Definition at line 37 of file ColourU.cpp.

Referenced by TEST_CASE(), and TfrmMessage::tmrAnimateTimer().