Vista Style Builder

   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: WEI background  (Read 36835 times)
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« on: July 25, 2011, 01:28:14 pm »

I checked images and uifile files in-
perfcentercpl.dll
shell32.dll
duser.dll
I looked for these rgb subscore 255,255,255 - base score 228,231,242
am I even close?  Tongue   I did find the little blue square in the middle.
If someone would point me in the right direction it would be very much appreciated.
Thank you
Jerry
Logged
3am
Beta Tester
Dedicated Helper
*
Posts: 2428



View Profile
« Reply #1 on: July 25, 2011, 01:33:21 pm »

The light blue part rgb(228,231,242 ) hex value e4e7f2 has to be hex-edited in PerfCenterCPL.dll. The white part I don't know.
« Last Edit: July 25, 2011, 01:41:16 pm by 3am » Logged
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« Reply #2 on: July 25, 2011, 01:42:21 pm »

Thank You 3am I will quit looking
Jerry
Logged
3am
Beta Tester
Dedicated Helper
*
Posts: 2428



View Profile
« Reply #3 on: July 25, 2011, 01:51:15 pm »

Don't know how much you know about hex editing. Maybe this will help.

Download hxd hex editor. Open up PerfCenterCPL.dll in hxd from your desktop. Click Search. Click Replace. On Replace screen under Search For put the hex value of the color you want to replace ( in this case e4e7f2). Under Replace With put the hex value of the color you want. Make sure you click Hex Values under Datatype. Then click Replace All. Click ok. Then click Save. It will also save a backup. Now just replace the file as usual and reboot. That's how I did it anyway...



« Last Edit: July 25, 2011, 03:02:18 pm by 3am » Logged
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« Reply #4 on: July 25, 2011, 03:51:05 pm »

I will give that a try I have never done any hex editing
Thank You 3am
Jerry
Logged
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« Reply #5 on: July 25, 2011, 06:23:05 pm »

That was not to hard to do.
Thanks for your help 3am
Jerry
Logged
Dave Senior
Beta Tester
Dedicated Themer
*
Posts: 235

Why Windows 10 ? > 7 8 9 ??


View Profile
« Reply #6 on: July 25, 2011, 07:23:33 pm »

I got this so far,a little fine tuning to do then I'll update the post.

Logged
3am
Beta Tester
Dedicated Helper
*
Posts: 2428



View Profile
« Reply #7 on: July 25, 2011, 07:37:02 pm »

How'd you get rid of the white bits?
Logged
Dave Senior
Beta Tester
Dedicated Themer
*
Posts: 235

Why Windows 10 ? > 7 8 9 ??


View Profile
« Reply #8 on: July 25, 2011, 08:05:21 pm »

  To hide the white  WEI  score boxes---

 Copy  PerfCenterCPL.dll to your desktop, open it with   in Restorator   etc  ... , extract  the 101UIFILE  to desktop ,open it in notepad or whatever text editor you use -  find this line  -

 perfhub_content_text_metrics   - ( it's near the top)
  
 Now edit the  element padding line  rp's , use the values below as a guide line ...

            (-12rp,-11rp,-15rp,-3rp)     - Note 1 :In UIFILES --(-RP, -RP, -, RP, -RP) = Left,Top,Right,Bottom

 It should look like this when you're done

 <if class="perfhub_content_text_metrics">
 <element padding="rect(-12rp,-11rp,-15rp,-3rp)"            

 This doesn't get rid of the white boxes it just  shrinks them to around 1px ,those "rp" settings should position  it  on the "point"  between your scores  ( 5.9   etc)..

These   rp  settings work fine for me  using a size 9 font  but you'll have to make small adjustments  to them  depending on the size/style  of  font you are using at that location .
     When testing ,  if I made the  -rp  numbers  too high all the scores vanished,there has to be a  pixel left for this to work, hopefully screen resolutions won't affect the results.. If the scores  do vanish try lowering the rp numbers and they'll come back.

Note2 :Try this out using Res Spy first.  Make a backup of your original file.

« Last Edit: July 26, 2011, 03:09:16 pm by davesenior » Logged
Panda X
Administrator
Dedicated Helper
*****
Posts: 1645



View Profile
« Reply #9 on: July 25, 2011, 08:14:11 pm »

What happens if you add the background attribute to it?
Logged
Dave Senior
Beta Tester
Dedicated Themer
*
Posts: 235

Why Windows 10 ? > 7 8 9 ??


View Profile
« Reply #10 on: July 25, 2011, 08:17:57 pm »

What happens if you add the background attribute to it?

  I'll give it a try next , good idea.  Smiley
Logged
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« Reply #11 on: July 25, 2011, 10:53:13 pm »

Thanks Dave will try that tomorrow  Tongue
Jerry
Logged
Bongo
Beta Tester
Dedicated Themer
*
Posts: 227



View Profile
« Reply #12 on: July 26, 2011, 02:17:16 pm »

 These   rp  settings work fine for me but you'll have to make small adjustments  to them  depending on the size of font you are using at that location .
    
Note2 :Try this out using Res Spy first.  Make a backup of your original file.

That worked perfect Dave I am using a size 11 font and I had to tweak a little
and ended up using this -17rp,-15rp,-20rp,-5rp

Thanks for the suggestion of using Res Spy that made it a lot easier getting it just right.
Thank you 3am and Dave for all your help
Jerry
Logged
Dave Senior
Beta Tester
Dedicated Themer
*
Posts: 235

Why Windows 10 ? > 7 8 9 ??


View Profile
« Reply #13 on: July 26, 2011, 02:38:22 pm »

 Cool
  Thanks for including your settings Smiley
Logged
charleston2378
Beginner
*
Posts: 42



View Profile
« Reply #14 on: July 28, 2011, 04:49:06 pm »

How u make score number white and where is the blue square ?
Logged
Dave Senior
Beta Tester
Dedicated Themer
*
Posts: 235

Why Windows 10 ? > 7 8 9 ??


View Profile
« Reply #15 on: July 28, 2011, 05:04:08 pm »

How u make score number white and where is the blue square ?

Individual score numbers are here-

Styles > ControlPanelStyle > BodyText > textcolor:color

Blue square Image is bitmaps in -
  WinSATAPI.dll   (numbers 211 and 212)
Logged
charleston2378
Beginner
*
Posts: 42



View Profile
« Reply #16 on: July 28, 2011, 05:42:19 pm »

Individual score numbers are here-

Styles > ControlPanelStyle > BodyText > textcolor:color

Blue square Image is bitmaps in -
  WinSATAPI.dll   (numbers 211 and 212)


thank you very much
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!