with the second iteration of my skin https://www.deviantart.com/fatty-do-do/art/CSM-Circular-System-Monitor-1-0-917128155 my goal was to make setup way easier. So far I've been able to automate registry readout with the IfMatch function, have made dedicated Variable and Stylesheets that are read out from all seperate skins and made the User able to rename their components/put in required values via the InputText Plugin.
However I cannot think of a solution for reading out the orientation of the Skin.
If that would be possible I'd use Bangs to change my skins style and switch the orientation of my Meters in relation to the edge the skin is snapped to.
For example. This Style is for the CPU Readout in snapped to the left side of the Desktop:
Code: Select all
[StyleRoundlineMeterBackground]
X=30
W=120
H=120
StartAngle=(Rad(110))
RotationAngle=(Rad(-220))
LineStart=50
LineLength=35
LineColor=255,255,255,20
Solid=1
AntiAlias=1
Code: Select all
[StyleRoundlineMeterBackground]
X=0
W=120
H=120
StartAngle=(Rad(70))
RotationAngle=(Rad(220))
LineStart=50
LineLength=35
LineColor=255,255,255,20
Solid=1
AntiAlias=1
I had something like this in mind:
Code: Select all
IfCondition=SkinOrientation = left
IfTrueAction=!SetOption ...
Thanks in Advance