The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 08-18-2009, 08:06 AM
Stimpy5050's Avatar
Green Apple
 
Join Date: Feb 2008
Posts: 77
Thanks: 0
Thanked 22 Times in 13 Posts
Battery Control Themeing

With the release of Battery Control 1.0.0, there is a premium feature that allows themeing of the percentage in the status bar either through the settings application (limited to color and font size there) or full-fledged CSS in a WinterBoard theme. There are three different themes supported: Default, Charging and Low Battery. To theme them, create a plist in your theme at:

<theme>/Bundles/com.apple.springboard/com.ashman.BatteryControl.plist

In the plist, you can write CSS for both the default and home screen (FSO) status bars:

For the default theme:
Code:
<key>Style</key>
<string>font-weight: bold; font-size: 16px;</string>
<key>StyleFSO</key>
<string>font-weight: bold; font-style: italic;</string>
For the charging theme:
Code:
<key>ChargingStyle</key>
<string>font-weight: bold; font-size: 16px;</string>
<key>ChargingStyleFSO</key>
<string>font-weight: bold; font-style: italic;</string>
For the low batterytheme:
Code:
<key>LowBatteryStyle</key>
<string>font-weight: bold; font-size: 16px;</string>
<key>LowBatteryStyleFSO</key>
<string>font-weight: bold; font-style: italic;</string>
The default theme will always be applied, both to charging and low battery, but the charging and low battery can "cascade" over those themes to control the look for those states. FYI, the low battery and charging are mutually exclusive (only one will be in effect at a time) and charging takes precedence over low battery.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Stimpy5050 For This Useful Post:
Late_Nights (08-18-2009)
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 04:24 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top