U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Slider&ProgressIndicator » Please, add SetColor function to ProgressIndicator
Re: Please, add SetColor function to ProgressIndicator [message #12315 is a reply to message #12307] Wed, 24 October 2007 16:37 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
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.

Hope that helped,
James
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ProgressIndicator in StatusBar
Next Topic: ProgressIndicator in ArrayCtrl
Goto Forum:
  


Current Time: Sat Jul 25 13:34:14 GMT+2 2026

Total time taken to generate the page: 0.01046 seconds