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 #12307 is a reply to message #12304] Wed, 24 October 2007 14:04 Go to previous messageGo to previous message
spidertp is currently offline  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 Smile (And yes, I think these things should work no matter what Smile


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

 
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: Fri Jul 18 06:40:10 CEST 2025

Total time taken to generate the page: 0.03994 seconds