It is currently May 4th, 2024, 2:43 am

Changing the Layering of Elements Within My Skin

Get help with creating, editing & fixing problems with skins
Confuzzler
Posts: 4
Joined: June 2nd, 2011, 4:53 am

Changing the Layering of Elements Within My Skin

Post by Confuzzler »

I'm having trouble trying to get the background (STRIPE) of my skin to sit under the text. Currently it is on top which makes it impossible to see the text on black wallpaper. How can I change this? I've fiddled around with it a bit but I've run out of ideas.

Code: Select all

[Rainmeter]
Update=1000

[Variables]
@include="C:\Users\******\Documents\Rainmeter\Skins\Mine\Resources\Bar Styles.inc"

;---------------------------------------------MEASURES------------

[MeasureCPU]
Measure=CPU

;----------------------------------------------METERS-------------

[CPU]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureCPU
X=(#SCREENAREAWIDTH#/2)
Text="Central Processing Unit: %1%"

;-----------------------------------------------STRIPE------------

[StyleStripe]
W=#SCREENAREAWIDTH#
SolidColor=200, 200, 200, 85

[Top]
Meter=IMAGE
MeterStyle=StyleStripe
y=5
H=1

[Bottom]
Meter=IMAGE
MeterStyle=StyleStripe
H=1
y=29

[Main]
Meter=IMAGE
MeterStyle=StyleStripe
y=5
H=25

[Spacer]
Meter=IMAGE
MeterStyle=StyleStripe
SolidColor=0, 0, 0, 1
H=35
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: Changing the Layering of Elements Within My Skin

Post by GHOST® »

Confuzzler wrote:I'm having trouble trying to get the background (STRIPE) of my skin to sit under the text. Currently it is on top which makes it impossible to see the text on black wallpaper. How can I change this? I've fiddled around with it a bit but I've run out of ideas.
Rainmeter is Order Specific, list your background before your text in your code.

;-----------------------------------------------STRIPE------------

[StyleStripe]
W=#SCREENAREAWIDTH#
SolidColor=200, 200, 200, 85

CPU]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureCPU
X=(#SCREENAREAWIDTH#/2)
Text="Central Processing Unit: %1%"

:o)
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"
Confuzzler
Posts: 4
Joined: June 2nd, 2011, 4:53 am

Re: Changing the Layering of Elements Within My Skin

Post by Confuzzler »

Urgh, Thanks. I previously had it in the .inc file with the text style, then tampered and put it at the bottom of the main .ini file but did not think to put it at the top. Thank you again :)
Confuzzler
Posts: 4
Joined: June 2nd, 2011, 4:53 am

Re: Changing the Layering of Elements Within My Skin

Post by Confuzzler »

How could I include the STRIPE settings in the .inc file and have it correctly ordered?
I have multiple .ini files with a STRIPE and I want them to all be the same without having to change them individually.
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: Changing the Layering of Elements Within My Skin

Post by GHOST® »

Confuzzler wrote:How could I include the STRIPE settings in the .inc file and have it correctly ordered?
I have multiple .ini files with a STRIPE and I want them to all be the same without having to change them individually.
[StyleStripe.inc]
W=#SCREENAREAWIDTH#
SolidColor=200, 200, 200, 85

--------------------------------------------------

[StyleStripe.ini]
Meter=IMAGE
MeterStyle=StyleStripe.inc

[CPU.ini]
Meter=STRING
MeterStyle=StyleText
MeasureName=MeasureCPU
X=(#SCREENAREAWIDTH#/2)
Text="Central Processing Unit: %1%"


The .inc & .ini I added here are just to differentiate what goes where & not needed. :o)
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Changing the Layering of Elements Within My Skin

Post by smurfier »

Put your stripe in the .inc file, then wherever you want it to appear in your skin, put the title.

Stripe.inc

Code: Select all

[Stripe]
Meter=Image
blah...
blah....
blah...
skin.ini

Code: Select all

[Rainmeter]
Author=you

[Variables]
Variable=Value
@include=Stripe.inc

[Stripe]

[SomeMeasure]
Measure=Something

[SomeMeter]
Meter=Something
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
User avatar
GHOST®
Posts: 55
Joined: March 11th, 2011, 6:33 pm
Location: Garden City, MI

Re: Changing the Layering of Elements Within My Skin

Post by GHOST® »

[Variables]
Variable=Value
@include=Stripe.inc

[Stripe]
Cool!! Hadn't thought about that. Nice, short, & sweet. :o)
"Do you want to be healed, now? Or would you prefer to bleed to death so I can try my hand at resurrection?"
Confuzzler
Posts: 4
Joined: June 2nd, 2011, 4:53 am

Re: Changing the Layering of Elements Within My Skin

Post by Confuzzler »

Thanks. :) problem solved.