[HD2 Windows Mobile 6.5 Themes and Apps] Dunc001:
I have been working on a couple of new battery widgets for CHT 2.0 and here is the first one. It 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.Percent.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.ValueColor

HKCU\Software\HTC\Manila\CHT.duncTextBattery.PercentColor

HKCU\Software\HTC\Manila\CHT.duncTextBattery.ChargingColor

Values are RGB and need to be in this format - 255,255,255 - with no spaces.

If anyone is interested the colour code I 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.

Any questions please ask!

For those of you having an issue with the widget displaying as a white box I apologise - this is caused by the qtc image file not conforming to a recognised size. I have amended the qtc now and updated the widget cab and the Remove Background cab, but for anyone who has already installed the widget and has this issue just download and install the White Box Fix cab and restart Sense - should be OK then.

2/2/11 Charging color fix - the first and second versions of the widget cab had an issue where the Charging text color did not change regardless of the value set in the registry. This was due to one typo in the lua script (Tect instead of Text!). The widget cab now attached has the fix included, however if you have already installed then simply download and install the Charging Color Fix cab. Might need a Sense restart for the fix to take effect.

For anyone who wants them I have also attached the files for the Comm Switches (cab) and the softkeys used in the screenshots. In the softkey zip you'll find the ones I use as pngs to copy/paste into windows, the manila file for the menu background to do the same, and the psd template in case you want to make any of your own.

The icons down the left side of the screen are the page switch links and notification icons (mail and messages) that I made for BLUE SK-i. You can download the switch links cab and the BLUE SK-i skin for them in THIS post, but unfortunately I can't find the skin shown above for them anywhere (must have deleted them by mistake) so you'll need to use the psd template from there to remake them if you want this look.