It is currently May 4th, 2024, 7:19 pm

Rainmeter Bar Meter Help

Get help with creating, editing & fixing problems with skins
DukeMagnum
Posts: 1
Joined: April 23rd, 2010, 6:10 am

Rainmeter Bar Meter Help

Post by DukeMagnum »

OK, so I am in the process of making a skin and I want to have a bar graph that is not a straight line/rectangle/square.

Here it is:
Image

Yes, I know it looks like crap, but I just wanted to throw something up to have an example when I asked for advice. Otherwise I might spend a lot of time making an image that I'd have to change.

Anyway, is there a way I could make the graph fill the red shapes without spilling outside them as it makes the usual straight bar?

I have figured out a cheap way of doing it (creating an image of the empty space and writing it in to where it hides the overflow from the bar) but I wondered if there was a better way, since I'm kind of new at this.
User avatar
kenz0
Developer
Posts: 263
Joined: July 31st, 2009, 2:23 pm
Location: Tokyo, JPN

Re: Rainmeter Bar Meter Help

Post by kenz0 »

If you use image instead of solid color, you can use it as a bar even if it is any shapes.
However, you need to make image file used as BarImage.

Here is a simple example.

Code: Select all

[MeasureTime]
Measure=Time
Format=%S
MaxValue=60

[MeterBar]
Meter=BAR
MeasureName=MeasureTime
W=78
H=78
BarImage=#SKINSPATH#Enigma\Resources\Images\Home\Instructions.png
BarOrientation=VERTICAL
.
Image