It is currently May 19th, 2022, 3:50 pm

CustomWeather

Weather skins
dnicks
Posts: 10
Joined: November 18th, 2021, 6:54 pm

CustomWeather

Post by dnicks »

ImageImage
ImageImage
Image

As you can see from the settings image, you can pretty much customize anything in the skin.
-3 different sizes
-10 different fonts
-5 sets of icons
-set minimum % of precipitation to show (example: if you set it to 10, any day with less than 10% chance will not show)
-set rounded corners on skin background
-set shadow effect (this can be useful if you have light text on light background, 0 is none - 255 is most)
-set transparency using bar (left side is fully transparent, right side is fully opaque, each 23px wide along the bar increases transparency by 10%)
-set background color
-font color for different sections of the skin
-vertical lines separating days/hours
-horizontal line above days/hours
-any setting with OFF will just turn off that part completely
-gradient can be off, up, or down
-settings icon off or different shades (if it's set to off, you can still click that area to open settings)

Access to the details/hourly page is made by simply clicking anywhere on the skin. There is no refresh so it happens instantly.

I can add other icon sets if anyone has any they want added.

CREDIT TO XENIUM/WINDOWS 10 WEATHER ENTERPRISE SKIN

(ICONS) CREDIT TO https://www.dovora.com/resources/weather-icons/

(ICONS) CREDIT TO https://www.deviantart.com/lavana/art/Simple-Weather-Icons-23626765
You do not have the required permissions to view the files attached to this post.
dnicks
Posts: 10
Joined: November 18th, 2021, 6:54 pm

Re: CustomWeather

Post by dnicks »

I forgot a setting

If anyone is interested in adding an option to hide Location and Update, you can change some code.

In CustomWeather/Settings/Settings.ini, find this section of code (If you use Notepad++ to open the file it will be line 927:

Code: Select all

[MeterLocationColorRectangle]
Meter=Shape
Shape=Rectangle 616,260,30,20,2 | Fill Color #LocationColor# | Stroke Color 255,255,255,255
LeftMouseUpAction=["#@#ColorDialogSimpleWeather.exe" "LocationColor="]
...and replace it with:

Code: Select all

[MeterLocationOffRectangle]
Meter=Shape
Shape=Rectangle 580,260,30,20,2 | Fillcolor 52,52,52 | Strokecolor #LocationOffStroke#
LeftMouseUpAction=[!WriteKeyValue Variables LocationColor "0,0,0,0" "#@#Variables.inc"][!WriteKeyValue Variables LocationOffStroke "255,0,0" "#@#Variables.inc"][!Refresh][!Refresh "#ROOTCONFIG#"]

[MeterLocationOffText]
Meter=String
StringAlign=left
FontFace=#FontFace2#
FontColor=220,220,220
FontSize=10
X=581
Y=261
Text=OFF
AntiAlias=1

[MeterLocationColorRectangle]
Meter=Shape
Shape=Rectangle 616,260,30,20,2 | Fill Color #LocationColor# | Stroke Color 255,255,255,255
LeftMouseUpAction=[!WriteKeyValue Variables LocationOffStroke "255,255,255,255" "#@#Variables.inc"]["#@#ColorDialogSimpleWeather.exe" "LocationColor="]
Do the same for Update
Find:

Code: Select all

[MeterUpdateColorRectangle]
Meter=Shape
Shape=Rectangle 616,290,30,20,2 | Fillcolor #UpdateColor# | Strokecolor 255,255,255,255
LeftMouseUpAction=[!WriteKeyValue Variables UpdateOffStroke "255,255,255,255" "#@#Variables.inc"]["#@#ColorDialogSimpleWeather.exe" "UpdateColor="]
...and replace with

Code: Select all

[MeterUpdateOffRectangle]
Meter=Shape
Shape=Rectangle 580,290,30,20,2 | Fillcolor 52,52,52 | Strokecolor #UpdateOffStroke#
LeftMouseUpAction=[!WriteKeyValue Variables UpdateColor "0,0,0,0" "#@#Variables.inc"][!WriteKeyValue Variables UpdateOffStroke "255,0,0" "#@#Variables.inc"][!Refresh][!Refresh "#ROOTCONFIG#"]

[MeterUpdateOffText]
Meter=String
StringAlign=left
FontFace=#FontFace2#
FontColor=220,220,220
FontSize=10
X=581
Y=291
Text=OFF
AntiAlias=1

[MeterUpdateColorRectangle]
Meter=Shape
Shape=Rectangle 616,290,30,20,2 | Fillcolor #UpdateColor# | Strokecolor 255,255,255,255
LeftMouseUpAction=[!WriteKeyValue Variables UpdateOffStroke "255,255,255,255" "#@#Variables.inc"]["#@#ColorDialogSimpleWeather.exe" "UpdateColor="]
Then go to CustomWeather/@Resources/Variables.inc
Add this to the bottom of the page

Code: Select all

LocationOffStroke=

UpdateOffStroke=