Home » U++ Library support » Slider&ProgressIndicator » Please, add SetColor function to ProgressIndicator
Re: Please, add SetColor function to ProgressIndicator [message #12307 is a reply to message #12304] |
Wed, 24 October 2007 14:04   |
spidertp
Messages: 16 Registered: October 2007 Location: Poland
|
Promising Member |
|
|
Quote: | Well, anyway, ProgressIndicator now supports SetColor (fallbacks to "classic" look if color is set).
|
Thanks. Do I understand it correctly, that in a function SetColor you change style to classic automatically? If yes, that's good.
Quote: |
That is OK, but try your patch with Luna (And yes, I think these things should work no matter what 
|
So, as far I can see, I need to make my own pictures for:
hlook = CtrlsImg::PI();
hchunk = CtrlsImg::PIC();
vlook = CtrlsImg::VPI();
vchunk = CtrlsImg::VPIC();
in every color?? Pfffff...
Or write a function to copy image and change color palette to desired color?
Well, I've copied CtrlsImg::VPIC() and changed pallete to blue, but...
I changed style of ProgressIndicator and it looks ugly...
I made it with:
ProgressIndicator::Style style; // in main class declaration
style.hlook = CtrlsImg::PI();
style.hchunk = CtrlsImg::PIC();
style.vlook = CtrlsImg::VPI();
style.vchunk = Images::VPICblue();
Prog1.SetStyle(style);
What's the problem?
Best regards,
Tomek
[Updated on: Fri, 26 October 2007 12:37] Report message to a moderator
|
|
|
 |
|
Please, add SetColor function to ProgressIndicator
By: spidertp on Tue, 23 October 2007 13:09
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Tue, 23 October 2007 18:16
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Tue, 23 October 2007 20:08
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Tue, 23 October 2007 21:29
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Wed, 24 October 2007 07:41
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Wed, 24 October 2007 13:29
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Wed, 24 October 2007 13:50
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Wed, 24 October 2007 14:04
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mrjt on Wed, 24 October 2007 16:37
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Thu, 25 October 2007 08:16
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Thu, 25 October 2007 08:24
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Fri, 26 October 2007 11:07
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Fri, 26 October 2007 13:07
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: spidertp on Fri, 26 October 2007 13:19
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Fri, 26 October 2007 14:18
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: piratalp on Fri, 26 October 2007 17:54
|
 |
|
Re: Please, add SetColor function to ProgressIndicator
By: mirek on Sat, 27 October 2007 15:14
|
Goto Forum:
Current Time: Fri Jul 18 06:46:10 CEST 2025
Total time taken to generate the page: 0.00702 seconds
|