T
theinvisibleGhost
Hi,
I'm creating a user control that simulates an LED.
I've got a bitmap currently for the LED in 3 states
Red, Green, and Grey.
It would be really good if I could just take one of those
bitmaps and apply a colour mask (Or something(don't really know what
I'm talking about here!)
So that I could change the LED to be any colour.
The original green bitmap is made up of many shades
of green with a metal like ring surrounding it.
I created the Red bitmap with Photoshop.
Is there an easy way of doing this in C#?
What I'm aiming is to have a method on the user control
along the lines of
public void setColour(Color newColour)

Thanks
Chris
I'm creating a user control that simulates an LED.
I've got a bitmap currently for the LED in 3 states
Red, Green, and Grey.
It would be really good if I could just take one of those
bitmaps and apply a colour mask (Or something(don't really know what
I'm talking about here!)
So that I could change the LED to be any colour.
The original green bitmap is made up of many shades
of green with a metal like ring surrounding it.
I created the Red bitmap with Photoshop.
Is there an easy way of doing this in C#?
What I'm aiming is to have a method on the user control
along the lines of
public void setColour(Color newColour)

Thanks
Chris