Home » U++ Library support » Slider&ProgressIndicator » Please, add SetColor function to ProgressIndicator
Re: Please, add SetColor function to ProgressIndicator [message #12369 is a reply to message #12365] |
Fri, 26 October 2007 14:18   |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
spidertp wrote on Fri, 26 October 2007 07:19 |
luzr wrote on Fri, 26 October 2007 13:07 |
spidertp wrote on Fri, 26 October 2007 05:07 |
What do you think?
|
Anyway, this thing is supposed to work (and indeed does work) even if you switch the theme in XP (e.g. to make XP look like MacOS X). And on linux too (where, admitedly, the real meat is now still missing). And in Vista.
I know, adding SetColor slightly spoils it anyway, but IMO simple uniform color bar is acceptable everywhere.
In the same time, I think your code could easily be turned in external function (or utility class). No need to change uppsrc.
Which reminds me the persistent topic, to introduce "art" or "theme" package group that would contain all visual enhancements...
Mirek
|
Well, I still need to learn a lot. But I admit, that UPP gives me a real programming pleasure 
I'm trying to make a little visualization for automation process and I'd to enhance ProgressIndicator a little bit.
Concerning new packages, maybe it's a good idea.
If you doesn't want to include my enhancements to UPPsrc, then tell me the name of a new utility class, and I wil make it.
I don't want to change my code every new version of UPP...
Best regards 
Tomek
|
Do you need a class for it?
I am not 100% sure, but I think it should be possible to make simple
void SetProgressXPColor(ProgressIndicator& pi, Color c);
function (perhaps with some static ArrayMap<Color, ProgressIndicator::Style> inside).
Mirek
|
|
|
 |
|
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: Sun Jul 13 09:21:30 CEST 2025
Total time taken to generate the page: 0.05032 seconds
|