PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   TP2 Themes & Software (http://forum.ppcgeeks.com/forumdisplay.php?f=109)
-   -   [CHT TEXT] Battery Widget (progression) (http://forum.ppcgeeks.com/showthread.php?t=140860)

lnando84 02-13-2011 04:01 AM

[CHT TEXT] Battery Widget (progression)
 
2 Attachment(s)
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. .

http://img600.imageshack.us/img600/844/textbattery.png


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.

PPCFreak 02-21-2011 08:26 AM

Re: [CHT TEXT] Battery Widget (progression)
 
what theme is that in the posted pics?

Would like to try that out. Looks very nice and simple.

Thanks.


All times are GMT -4. The time now is 08:33 AM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0