PDA

View Full Version : ColorConverter - For MQSeq



slartibartfast
01-28-2004, 07:55 AM
Well I tidied up my color converter code so i thought i better give it to you.

ShowEQ supports any named color from rgb.txt plus explicit RGB values in the form #RRGGBB. Currently MySeq only supports a few named colours and fails to recognise the #RRGGBB values.

I have written a class which can convert either a named color or a RGB value into a colour. You can optionally load a rgb.txt file to increase .Net's native named color support.

In the example project attached "Navy Blue" is a color not recognised by .Net, but is present in the rgb.txt file.

slartibartfast
01-28-2004, 07:57 AM
Grrrr where the attachment go...

MQSEQ2
01-28-2004, 08:08 AM
Welcome to the PoS SourceForge. I posted something the other day and the post never showed up.

Once I get the 2.x stable I'm going to work on a new site that is STABLE hehe