It is currently September 8th, 2024, 2:57 am

Scale up existing skin? help please

Get help with creating, editing & fixing problems with skins
Takuya
Posts: 5
Joined: August 20th, 2010, 9:37 am

Scale up existing skin? help please

Post by Takuya »

i just downloaded a skin call moxaweather but is it too small, how can i scale it up to 2 to 3 time bigger? thx
;------------------------------------------------------------------------------------------------
; ENIGMA MOXAWEATHER (3 DAYS)
; Class: Icon

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# MoxaWeather-3Days-Horizontal.ini
MouseOverAction=!Execute [!RainmeterShowMeter Logo][!RainmeterHideMeter Temp][!RainmeterHideMeter Temp2][!RainmeterHideMeter Temp3][!RainmeterShowMeter TempActive][!RainmeterShowMeter Temp2Active][!RainmeterShowMeter Temp3Active][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter Logo][!RainmeterShowMeter Temp][!RainmeterShowMeter Temp2][!RainmeterShowMeter Temp3][!RainmeterHideMeter TempActive][!RainmeterHideMeter Temp2Active][!RainmeterHideMeter Temp3Active][!RainmeterRedraw]

[Metadata]
Name=Enigma MoxaWeather | 3 Days (Vertical)
Config=Enigma | Taskbar | MoxaWeather
Description=Shows your current and forecast weather conditions.
Instructions=Set your Weather Code to show your location. | Change the units from metric to Fahrenheit using the variable "Unit". | Look up Yahoo! Weather codes at (http://weather.yahoo.com).
Version=2.7
Tags=Taskbar | Yahoo! Weather
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=This skin has been adapted from the original MoxaWeather by moxamax.
Variant=1

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

;------------------------------------------------------------------------------------------------
; MEASURES

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1800
Url=http://weather.yahooapis.com/forecastrss?p=#WeatherCode#&u=#Unit#
RegExp=(?siU)<link.*>(.*)</link>.*city=\"(.*)\".*sunrise=\"(.*)\".*sunset=\"(.*)\".*<image>.*<url>(.*)</url>.*<title>.*:.*m .*(.*)</title>.*lat>(.*)<.*long>(.*)<.*yweather:condition.*text=\"(.*)\".*code=\"(.*)\".*temp=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*yweather:forecast.*day=\"(.*)\".*high=\"(.*)\".*code=\"(.*)\".*
StringIndex=1

;--------------------------------
; CURRENT

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=9

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=11

;-------------------------
; DAY 2

[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
Substitute="Sun":"Sunday","Mon":"Monday","Tue":"Tuesday","Wed":"Wednesday","Thurs":"Thursday","Fri":"Friday","Sat":"Saturday"

[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=13

[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=14

;-------------------------
; DAY 3

[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=15
Substitute="Sun":"Sunday","Mon":"Monday","Tue":"Tuesday","Wed":"Wednesday","Thurs":"Thursday","Fri":"Friday","Sat":"Saturday"

[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16

[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=17

;-------------------------
; IMAGE PATH MODIFIERS

[MeasureWeatherIconMod]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon*10000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"

[MeasureWeatherIconMod2]
Measure=CALC
Formula=88000000+ (MeasureWeatherIcon2*10000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"

[MeasureWeatherIconMod3]
Measure=CALC
Formula=8800000 + (MeasureWeatherIcon3*10000) + 99
Substitute="88":"#SKINSPATH#Enigma\Resources\Images\Moxaweather\","099":".#ColorIcon#.png"

;------------------------------------------------------------------------------------------------
; METERS

[Background]
Meter=IMAGE
SolidColor=0,0,0,0
W=170
H=147

[Temp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=130
Y=3
FontColor=124 , 252, 0 , 300
StringStyle=NORMAL
FontSize=#Height1#
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Postfix="ï½°"

[TempActive]
Meter=STRING
MeterStyle=Temp
MeasureName=MeasureWeatherTemp
FontColor=#ColorActive#
LeftMouseDownAction=!Execute [[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1

[Desc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=121
Y=15r
FontColor=124 , 252, 0 , 300
FontSize=#Height2#
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
AntiAlias=1

[Icon]
MeasureName=MeasureWeatherIconMod
Meter=IMAGE
X=125
Y=0
W=45
H=33

[Logo]
ImageName=#SKINSPATH#Enigma\Resources\Images\MoxaWeather\Logo.png
Meter=IMAGE
X=7r
Y=r
H=40
W=40
Hidden=1
LeftMouseDownAction=!Execute ["http://weather.yahoo.com/"][!RainmeterRedraw]

;-----------------------
; DAY 2

[Temp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=130
Y=43
FontColor=124 , 252, 0 , 300
StringStyle=NORMAL
FontSize=#Height1#
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
AntiAlias=1
Postfix="ï½°"

[Temp2Active]
Meter=STRING
MeterStyle=Temp2
FontColor=#ColorActive#
LeftMouseDownAction=[[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1

[Date2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=121
Y=57
FontColor=124 , 252, 0 , 300
FontSize=#Height2#
StringAlign=RIGHT
StringStyle=NORMAL
FontFace=#Font#
AntiAlias=1

[Icon2]
MeasureName=MeasureWeatherIconMod2
Meter=IMAGE
X=125
Y=40
W=45
H=33

;-----------------------
; DAY 3

[Temp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
MeterStyle=Temp2
Y=83

[Temp3Active]
MeasureName=MeasureWeatherTemp3
Meter=STRING
MeterStyle=Temp2
Y=83
FontColor=#ColorActive#
LeftMouseDownAction=[[MeasureWeatherRSS]][!RainmeterRedraw]
Hidden=1

[Date3]
MeasureName=MeasureWeatherDate3
Meter=STRING
MeterStyle=Date2
Y=97
Text="%1"

[Icon3]
MeasureName=MeasureWeatherIconMod3
Meter=IMAGE
MeterStyle=Icon2
Y=80
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Scale up existing skin? help please

Post by JpsCrazy »

It may not look good, but to any Meter=String or Meter=Image you'll have to increase the W= and H= (Possibly add them in).
If it's not already there, adding AntiAlias=1 may help make it look better.
Takuya
Posts: 5
Joined: August 20th, 2010, 9:37 am

Re: Scale up existing skin? help please

Post by Takuya »

yea i done that with cpu meter. but i notice there seem to be a invisble box of some kind. and that if the text large enough to go outside that box, it will be cut off.
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Scale up existing skin? help please

Post by JpsCrazy »

Try adding DynamicWindowSize=1 under the [Rainmeter] section.
Takuya
Posts: 5
Joined: August 20th, 2010, 9:37 am

Re: Scale up existing skin? help please

Post by Takuya »

i gave up on the moxaweather skin and tried adding DynamicWindowSize=1 for the launcher but it didnt work. i wonder which bit of the code change the size of the invisible box