It is currently May 18th, 2024, 11:02 am

Battery image meter?

Get help with creating, editing & fixing problems with skins
Isuckatthis
Posts: 2
Joined: November 28th, 2012, 6:24 pm

Battery image meter?

Post by Isuckatthis »

So I've made part of a skin in which I have the percent of my battery left displayed numerically on my desktop. However, I was hoping to create some kind of image meter that changes depending on remaining battery (like an image of a bar of certain length at 100%, which would change to a slightly shorter one at 80%, etc.)
However, I don't know what kind of code to use. Anybody who can help me out here?
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Battery image meter?

Post by Seahorse »

Bar meters would be the place to start, that and having a look at the code of the many skins out there that already do this...
Last edited by Seahorse on November 30th, 2012, 9:50 pm, edited 1 time in total.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
jsmorley
Developer
Posts: 22633
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Battery image meter?

Post by jsmorley »

Isuckatthis
Posts: 2
Joined: November 28th, 2012, 6:24 pm

Re: Battery image meter?

Post by Isuckatthis »

Seahorse wrote:Bar meters would be the place to start, that and having a look at the code of the may skins out there that already do this...
Oh, amazing. This is exactly what I was looking for, thanks very much!