using Colors in code
Posted: Wed Mar 21, 2007 2:45 pm
I need to use some colors to set background etc. within the code. Where can I find the color definitions?
I need to do something like this:
mChart.GetGradient().SetMidColor(Yellow)
mChart.GetGradient().SetEndColor(White)
mChart.GetGradient().SetStartColor(Red)
What is the #define for Yellor or Red or White? Which header file do I have to include in my .cpp file to use the #defines?
Thanks.
I need to do something like this:
mChart.GetGradient().SetMidColor(Yellow)
mChart.GetGradient().SetEndColor(White)
mChart.GetGradient().SetStartColor(Red)
What is the #define for Yellor or Red or White? Which header file do I have to include in my .cpp file to use the #defines?
Thanks.