Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
spidertp is currently offline  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
  • Attachment: Chameleon.jpg
    (Size: 11.36KB, Downloaded 602 times)

[Updated on: Fri, 26 October 2007 12:38]

Report message to a moderator

 
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: Tue Jul 15 15:37:54 CEST 2025

Total time taken to generate the page: 0.03433 seconds