View Single Post
  #1 (permalink)  
Old 02-13-2011, 04:01 AM
lnando84's Avatar
lnando84
I BLEED GREEN!!
Offline
 
Join Date: Apr 2009
Posts: 1,091
Reputation: 9825
lnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the communitylnando84 is a trusted member of the community
Mentioned: 18 Post(s)
Tagged: 0 Thread(s)
Send a message via Skype™ to lnando84
[CHT TEXT] Battery Widget (progression)

Here's another widget for CHT 2.O. It was made by xda member Dunc001 and is based on Poyensa's original text battery kitchen but with quite a bit of modification. .




There are four layouts each giving a different text formatting option - UPPERlower, lowerUPPER, UPPERUPPER, lowerlower.

There is also the option to hide the 'percent' string, and to specify the color for each line of text through registry changes. The 'percent' string is enabled by default. To hide it use your registry editor and change HKCU\Software\HTC\Manila\CHT.duncTextBattery.Perce nt.Visible to 0

The font used is named specifically for the widget so it is easy to substitute the font for your own and it won't affect anything else - just rename your font to duncTextBatteryFont.ttf and copy/overwrite to \Windows.

You can also specify colors for each line of text through reg edit. Default is white for each line. To change edit the following registry keys:
HKCU\Software\HTC\Manila\CHT.duncTextBattery.Value Color
HKCU\Software\HTC\Manila\CHT.duncTextBattery.Perce ntColor
HKCU\Software\HTC\Manila\CHT.duncTextBattery.Charg ingColor
Values are RGB and need to be in this format - 255,255,255 - with no spaces.
If anyone is interested the colour code used for the percent string in the screenshots is 0,185,255.

The widget background is dynamic so it will change height depending on how many lines of text are visible. If you want to remove the background then just install the 'Remove TextBattery background' cab or use CFCGUI to replace the background image with a transparency of your choosing (13d93430_manila)

There is also specific behaviour built in that dictates what lines of text show when fully charged, so if battery is at 100% and on charge all that will display is 'FULLYcharged' (percent hidden even if normally there), but if at 100% and not on charge then ONEhundred will show (with percent string if not hidden by reg edit).

Resizeable and pinnable.

Pressing on the widget will take you straight to the Battery & Backlight options screen.
__________________
Click if I've helped you!!

Donations accepted not expected!


Reply With Quote
This post has been thanked 1 times.