Home » U++ Library support » Slider&ProgressIndicator » Please, add SetColor function to ProgressIndicator
Re: Please, add SetColor function to ProgressIndicator [message #12327 is a reply to message #12315] |
Thu, 25 October 2007 08:16   |
spidertp
Messages: 16 Registered: October 2007 Location: Poland
|
Promising Member |
|
|
Quote: | ChPaint uses two 'HotSpots' to determine how to stretch the image. These can be set in the image editor by selecting the little orange dot on the second row of tools, then using the right and left mouse buttons to place them. If you duplicate the positioning in the original image it should work.
Also, you can set styles more easily if you copy the default style and just change what you need:
style = ProgressIndicator::DefaultStyle();
style.vchunk = Images::VPICblue();
This method will also addapt better to different global Chameleon styles.
|
Thanks James. Without your help I think I would be not able to find the meaning of those hotspots.
But I still don't understand the difference between blue hotspot and orange one (e.g. why the blue one is before the orange one?).
I copied the hotspots from Ctrls.iml but ProgressIndicator doesn't look equally.
Can anybody explain to me the use of hotspots a little bit more (especially, how can I change their position by code)?
Best regards,
Tomek
[Updated on: Fri, 26 October 2007 12:38] 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: Tue Jul 15 15:37:54 CEST 2025
Total time taken to generate the page: 0.03433 seconds
|