Hello there
I had a look in help but I couldnt understand how to create this:
I want to make a 3 button skin Turn Off - Restart - Logoff
every button must have a different image for up/down/over
and they must be inside a single box
like a single button but only the icons will change
For aesthetic purposes it would be best if I could create 3 different images that sit tight together so they look like one.
It is currently May 7th, 2024, 2:34 pm
How to create a 3 button skin with 3 different states?
-
- Posts: 9
- Joined: April 20th, 2011, 6:37 pm
-
- Posts: 83
- Joined: March 15th, 2011, 12:39 pm
- Location: Hamilton, New Jersey
Re: How to create a 3 button skin with 3 different states?
It's really not that hard at all, more-so just tedious as the image dimensions and whatnot have to be very specific in placement and size..
Have a go with this tutorial(?)
Button Meter
Have a go with this tutorial(?)
Button Meter
-
- Posts: 9
- Joined: April 20th, 2011, 6:37 pm
Re: How to create a 3 button skin with 3 different states?
I have seen the example but how I will make 3 different ones that sit together like one?
-
- Posts: 397
- Joined: June 22nd, 2010, 4:11 am
Re: How to create a 3 button skin with 3 different states?
Im not sure as to what you mean.
A Button meter is just 3 images of the exact same dimensions rolled into one image.
A Button meter is just 3 images of the exact same dimensions rolled into one image.
I have three rules when I'm trying to help you.
- Don't get mad when you don't understand something
- Be VERY specific with what you ask for.
The more specific you are, the higher the quality of support you receive. - Do not just copy and paste what I put in examples and come back saying it doesn't work.
It does work, but I purposely left blanks that you need to fill for your specific needs.
-
- Posts: 9
- Joined: April 20th, 2011, 6:37 pm
Re: How to create a 3 button skin with 3 different states?
I explained in the 1st post exactly what I want.
1 skin with 3 different buttons each one with 3 different states up/down/over
so for example I have
Turn Off | Restart | Log Off
each button will have its own different images/states
1 skin with 3 different buttons each one with 3 different states up/down/over
so for example I have
Turn Off | Restart | Log Off
each button will have its own different images/states
-
- Moderator
- Posts: 995
- Joined: June 10th, 2009, 12:44 pm
- Location: Sweden
Re: How to create a 3 button skin with 3 different states?
Then just create 3 different button meters with different images.alphaprior wrote:I explained in the 1st post exactly what I want.
1 skin with 3 different buttons each one with 3 different states up/down/over
so for example I have
Turn Off | Restart | Log Off
each button will have its own different images/states
This is some good reading: http://rainmeter.net/cms/Rainmeter101-SkinTutorials
I don't think, therefore I'm not.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: How to create a 3 button skin with 3 different states?
So what you need is 3 .png files. Each one will be made up of a picture of whatever you want, three times side by side, equal in size and equally spaced in the .png file:
Like this:
Rainmeter will display 1/3 of each image when a .png like this is used in a Button meter. It will display the appropriate 1/3 depending on the "state".
So you make three of those, and put each one in its own Button meter, and you are all set.
Like this:
Rainmeter will display 1/3 of each image when a .png like this is used in a Button meter. It will display the appropriate 1/3 depending on the "state".
So you make three of those, and put each one in its own Button meter, and you are all set.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9
- Joined: April 20th, 2011, 6:37 pm
Re: How to create a 3 button skin with 3 different states?
this is the easy part
but how I'm gonna write the code so they appear all 3 buttons one next to other?
and appear like a single box with 3 buttons like this:
but how I'm gonna write the code so they appear all 3 buttons one next to other?
and appear like a single box with 3 buttons like this:
You do not have the required permissions to view the files attached to this post.
-
- Developer
- Posts: 22631
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: How to create a 3 button skin with 3 different states?
Just use X and Y on your Button meters to lay them out.
[MeterBackGround]
Meter=Image
ImageName=ThatBackgroundImage.png
X=0
Y=0
[MeterButton1]
Meter=Button
ButtonImage=#CURRENTPATH#Button1.png
ButtonCommand=!Execute [SomeCommand]
X=5
Y=10
[MeterButton2]
Meter=Button
ButtonImage=#CURRENTPATH#Button2.png
ButtonCommand=!Execute [SomeCommand]
X=5R
Y=10
[MeterButton3]
Meter=Button
ButtonImage=#CURRENTPATH#Button3.png
ButtonCommand=!Execute [SomeCommand]
X=5R
Y=10
The "R" means "relative to the end of the previous meter".
[MeterBackGround]
Meter=Image
ImageName=ThatBackgroundImage.png
X=0
Y=0
[MeterButton1]
Meter=Button
ButtonImage=#CURRENTPATH#Button1.png
ButtonCommand=!Execute [SomeCommand]
X=5
Y=10
[MeterButton2]
Meter=Button
ButtonImage=#CURRENTPATH#Button2.png
ButtonCommand=!Execute [SomeCommand]
X=5R
Y=10
[MeterButton3]
Meter=Button
ButtonImage=#CURRENTPATH#Button3.png
ButtonCommand=!Execute [SomeCommand]
X=5R
Y=10
The "R" means "relative to the end of the previous meter".
-
- Posts: 9
- Joined: April 20th, 2011, 6:37 pm
Re: How to create a 3 button skin with 3 different states?
aha, thats it!
thanx a lot!
thanx a lot!