It is currently May 3rd, 2024, 8:36 am

Searching in enigma's code - separator line

Get help with creating, editing & fixing problems with skins
falt4rm
Posts: 3
Joined: September 25th, 2012, 6:46 pm

Searching in enigma's code - separator line

Post by falt4rm »

Hi,

I'm having fun with rainmeter since 1 week. I almost finished my desktop but i need your help 'cause i can't find the code in Enigma to re-create the separator line highlighted in red in the screenshoot below.

Image

I would like to add this line on the top of Enigma/Weather.
(The line highlighted comes from Enigma/Volume).

Best regards,
Falt4rm
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Searching in enigma's code - separator line

Post by Kaelri »

The sidebar border meter is located in each Enigma\@Resources\Styles\Enigma Dark\Sidebar*.inc file. It's not very complicated. Example:

Code: Select all

[StyleVolumeBorder]
SolidColor=#ColorBorder4#
X=10
Y=5
W=(#SidebarWidth#-20)
H=1
Hidden=#HideBordersTop#
falt4rm
Posts: 3
Joined: September 25th, 2012, 6:46 pm

Re: Searching in enigma's code - separator line

Post by falt4rm »

I just would like to copy the separator in WeatherRight skin.
I searched and i found that in :
\Skins\Enigma\Sidebar\Weather.inc
[Border]
Meter=IMAGE
MeterStyle=StyleWeather#Variant#Border | StyleWeather#Variant#Border1
I think it's here i have to add the code for the separator but i still dont find it.
I would to use WeatherRight skin. Am I right?
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Searching in enigma's code - separator line

Post by Kaelri »

It's the same code in each Sidebar skin. I posted the options in my previous reply. You can copy those onto a new Image meter in any Enigma skin and it should work fine, though you may need to reposition the other meters in the skin.

If you don't know what I'm talking about, then you should really spend some time with the Rainmeter tutorials before you go further.
falt4rm
Posts: 3
Joined: September 25th, 2012, 6:46 pm

Re: Searching in enigma's code - separator line

Post by falt4rm »

Code: Select all

[Border]
Meter=IMAGE
MeterStyle=StyleWeatherNormalBorder | StyleWeatherNormalBorder1
X=60
Y=5
W=(#SidebarWidth#-20)
Added to Skins\Enigma\Taskbar\Weather\Weather.inc in Meters.

Result : http://imageshack.us/a/img203/8661/result290912.jpg

I searched anyway 2 hours in included files, but now i know how the architecture works :twisted:

It works!

Regards,
Falt4rm