Oh, I think I'm very close to winning the Nobel Prize for cold fusion...
Well, maybe not so cold, since my brain is very close to the melting point, after two days in which I spent all my free time trying to understand why they aren't positioned correctly.
Now I just have to fix half a million of Shape meters.
But looking at the glass half full, luckily I started by trying only with a "small part".
It is currently March 29th, 2024, 10:24 am
New Shape Meter
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New Shape Meter
EDIT: Sorry Yincognito, you beat me. As usually, again...
Note an important particularity of the Shape meter: it can be "placed" in two different ways:
- by the X and Y options of the meter itself, or
- by the first two parameter of the Shape option.
Code: Select all
[MeterEllipse]
Meter=Shape
X=0
Y=0
; The above options (X and Y)
Shape=Ellipse 10,20,10 | Extend MyModifiers1
; The first two parameters (10 and 20) of the above Shape option
MyModifiers1=Fill Color 191,237,239 | StrokeWidth 2 | Stroke Color 46,115,31,255
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: New Shape Meter
So does this mean your last posted method won't work? I know it works for rectangles (of course, only from a visual point of view, as no matter how much you move the rectangle in the meter, the meter coordinates stay the same if not modified), how about ellipses?
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New Shape Meter
But yes, it works. Try it out.Yincognito wrote: ↑April 18th, 2020, 7:33 pm So does this mean your last posted method won't work? I know it works for rectangles (of course, only from a visual point of view, as no matter how much you move the rectangle in the meter, the meter coordinates stay the same if not modified), how about ellipses?
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: New Shape Meter
Ok, so if it works, it doesn't matter if "I beat you" by posting sooner, as you are correct and I missed mentioning the detail you talked about (even though I knew about it). Right?
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: New Shape Meter
I was probably doing something wrong... due to or caused by the melt down... but the better way is to use x and y like any other meter.
For the record, I'm using a formula.
For the record, I'm using a formula.
-
- Rainmeter Sage
- Posts: 7029
- Joined: February 27th, 2015, 2:38 pm
- Location: Terra Yincognita
Re: New Shape Meter
Yeah, I also like to use X and Y to position shapes, rather than modifying the shape's parameters. It feels clearer that way.
If you're using a formula, can't you do some regex replace in Notepad++ if you need to modify lots of options? If it's still the case, that is...
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: New Shape Meter
It's already done.
The "problem" I have is that the size of the Shape (or better to say diameter since it's a circle) changes dynamically depending on... another formula!
...so I prefer to move it in the "old way".
The "problem" I have is that the size of the Shape (or better to say diameter since it's a circle) changes dynamically depending on... another formula!
...so I prefer to move it in the "old way".
-
- Rainmeter Sage
- Posts: 16110
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: New Shape Meter
Which one is better to be used, depends on many. Different cases, different approaches.Yincognito wrote: ↑April 18th, 2020, 7:50 pm Yeah, I also like to use X and Y to position shapes, rather than modifying the shape's parameters. It feels clearer that way.
-
- Moderator
- Posts: 1387
- Joined: April 11th, 2013, 8:08 pm
- Location: Italy
Re: New Shape Meter
Another... couple of little questions:
Is it possible to use a single Shape meter many times?
To be clear, I want to use the same Shape meter and "move it around", so, the pointer on a shape will make it appear, like a tooltip and moving the pointer to another shape it will appear there.
Last but not least, is it possible to switch it from left to right and vice versa?
In this case, if the Shape is close to the right border of the skin, that "kind of tooltip" will move to the left.
Is it possible to use a single Shape meter many times?
To be clear, I want to use the same Shape meter and "move it around", so, the pointer on a shape will make it appear, like a tooltip and moving the pointer to another shape it will appear there.
Last but not least, is it possible to switch it from left to right and vice versa?
In this case, if the Shape is close to the right border of the skin, that "kind of tooltip" will move to the left.