
//---------Original from TodaysPPC Naong~-----------

;TITLE
YahooWeather

;HEIGHT
170

;DEBUG-

;NODRAWTABS

//-------------------------------------------------

//- Base Stastics

//-------------------------------------------------

//- Base Image
;IMAGE
graph.png,graph_vga.png

//- Forecast Update Time
;TEXT
#30133# #UPDATE-TIME-FORECAST#
9,8,218,10,R
Tahoma,10,NORMAL GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- Date
;TEXT
#DAY-LONG#
9,26,218,10,R
Tahoma,10,BOLD GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- City Name
;TEXT
#CITY#
9,68,218,14,R
Tahoma,14,BOLD GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- Menu Touch
;TOUCH
7,23,225,136
menu.pwx

//-------------------------------------------------

;IF-FORECAST-HOURLY-BEGIN

;FORECAST-HOURLY-0

//- Current Condition Image
;IMAGE
#CURRENTICON-Large
0,-13

//- Current Temp
;TEXT
#TEMP#
160,41,50,28,R
Tahoma,28,NORMAL GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- Feels like Temp
;TEXT
#FEELSLIKETEMP#
177,51,50,14,R
Tahoma,14,NORMAL GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- Current weather description
;TEXT
#TEXT#
9,53,169,14,R
Tahoma,14,BOLD GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//-------------------------------------------------
// Text

//- Hourly Forecast Graph(24 Hours)
;TEXT
Hourly Forecast (     : FeelsLike     : Temp)
8,87,224,12,C
Tahoma,12,NORMAL GLOW-32-32-32 GLOWEXPAND-2,202-242-255

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-102-170-221 BRUSHCOLOR-132-200-251 ALPHA-70
104,89,10,10

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-225-45-137 BRUSHCOLOR-255-75-167 ALPHA-70
170,89,10,10

// Temp 1
;TEXT
30
9,100,13,9,R
Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,255-255-255

// Temp 2
;TEXT
20
9,110,13,9,R
Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,255-255-255

// Temp 3
;TEXT
10
9,120,13,9,R
Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,255-255-255

// Temp 4
;TEXT
0
9,130,13,9,R
Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,255-255-255

// Temp 5
;TEXT
-10
9,140,13,9,R
Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,255-255-255

// Unit
//;TEXT
//Unit : ¡Æ#S-DEG#
//196,103,33,9,R
//Tahoma,9,GLOW-0-0-0 GLOWEXPAND-2,200-200-200,255-255-255

//-------------------------------------------------
// Lines

// Horizon 1
//;DRAW
//LINE PENCOLOR-100-100-100 ALPHA-70
//24,103,206,0

// Horizon 2
//;DRAW
//LINE PENCOLOR-100-100-100 ALPHA-70
//24,113,206,0

// Horizon 3
//;DRAW
//LINE PENCOLOR-100-100-100 ALPHA-70
//24,123,206,0

// Horizon 4
//;DRAW
//LINE PENCOLOR-100-100-100 ALPHA-70
//24,133,206,0

// Horizon End
;DRAW
LINE PENCOLOR-20-20-20
24,144,206,0

// Vertical
;DRAW
LINE PENCOLOR-20-20-20
24,103,0,42

//-------------------------------------------------
// Background

// Background Horizon 1
;DRAW
RECTANGLE BRUSHCOLOR-20-20-20 ALPHA-30
24,103,206,10

// Background Horizon 2
;DRAW
RECTANGLE BRUSHCOLOR-20-20-20 ALPHA-10
24,113,206,10

// Background Horizon 3
;DRAW
RECTANGLE BRUSHCOLOR-20-20-20 ALPHA-30
24,123,206,10

// Background Horizon 4
;DRAW
RECTANGLE BRUSHCOLOR-20-20-20 ALPHA-10
24,133,206,11


//-------------------------------------------------
//- Forecast-hourly-0

//;GRAPH
//12HOURS LEGEND
//15,80,220,70

//;GRAPH
//TEMP 24HOURS NOLEGEND COLOR-0-255-0
//15,80,220,70

//;GRAPH
//HUMIDITY 1HOURS NOLEGEND COLOR-255-255-255
//15,80,220,70

//;GRAPH
//RAIN 1HOURS NOLEGEND COLOR-255-255-255
//15,80,220,70

//;GRAPH
//BAROMETER 1HOURS NOLEGEND COLOR-255-255-255
//15,80,220,70

//------------------
//;FORECAST-HOURLY-0
//------------------


//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-30 VARIABLEDIRECTION-UP
28,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-30 VARIABLEDIRECTION-UP
25,104,9,39


//- TEMP
//;TEXT
//#TEMP#
//28,123,15,30,B
//Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255,90

//- FORECASTTIME
;TEXT
#TIME-FORECAST#
23,148,21,9,R
Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255

// Time Tick
;DRAW
LINE PENCOLOR-20-20-20
30,144,0,3

//-----------------
;FORECAST-HOURLY-2
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
44,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
41,104,9,39

//- TEMP
//;TEXT
//#FEELSLIKETEMP#
//44,123,15,30,B
//Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255,90

//-----------------
;FORECAST-HOURLY-4
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
60,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
57,104,9,39

//-----------------
;FORECAST-HOURLY-6
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
76,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
73,104,9,39

//- FORECASTTIME
;TEXT
#TIME-FORECAST#
67,148,21,9,R
Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255

// Time Tick
;DRAW
LINE PENCOLOR-20-20-20
78,144,0,3

//-----------------
;FORECAST-HOURLY-8
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
92,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
89,104,9,39

//-----------------
;FORECAST-HOURLY-10
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
108,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
105,104,9,39

//-----------------
;FORECAST-HOURLY-12
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
124,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
121,104,9,39

//- FORECASTTIME
;TEXT
#TIME-FORECAST#
116,148,21,9,R
Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255

// Time Tick
;DRAW
LINE PENCOLOR-20-20-20
126,144,0,3

//-----------------
;FORECAST-HOURLY-14
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
140,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
137,104,9,39

//-----------------
;FORECAST-HOURLY-16
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
156,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
153,104,9,39

//-----------------
;FORECAST-HOURLY-18
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
172,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
169,104,9,39

//- FORECASTTIME
;TEXT
#TIME-FORECAST#
163,148,21,9,R
Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255

// Time Tick
;DRAW
LINE PENCOLOR-20-20-20
174,144,0,3


//-----------------
;FORECAST-HOURLY-20
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
188,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
185,104,9,39


//-----------------
;FORECAST-HOURLY-22
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
204,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
201,104,9,39


//-----------------
;FORECAST-HOURLY-24
//-----------------

//- Graph Rectangle-Temp
;DRAW
RECTANGLE PENCOLOR-255-75-167 BRUSHCOLOR-255-75-167 ALPHA-70 VARIABLE-TEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
220,104,9,39

//- Graph Rectangle-FeelLikeTemp
;DRAW
RECTANGLE PENCOLOR-132-200-251 BRUSHCOLOR-132-200-251 ALPHA-70 VARIABLE-FEELSLIKETEMP VARIABLEMIN--10 VARIABLEMAX-40 VARIABLEDIRECTION-UP
217,104,9,39

//- FORECASTTIME
;TEXT
#TIME-FORECAST#
209,148,21,9,R
Tahoma,9,GLOW-32-32-32 GLOWEXPAND-2,255-255-255

// Time Tick
;DRAW
LINE PENCOLOR-20-20-20
222,144,0,3

//-------------------------------------------------

;ELSE

//-------------------------------------------------

;CURRENT-FORECAST

//- Current Condition Image
;IMAGE
#CURRENTICON-Large
0,-13

//- High Low
;TEXT
#HIGHLOW#
178,43,50,28,R
Tahoma,24,NORMAL GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- Current weather description
;TEXT
#TEXT#
9,53,165,14,R
Tahoma,14,BOLD GLOW-32-32-32 GLOWEXPAND-2,255-255-255

//- No hourly forecast data available
;TEXT
No hourly forecast data available 
8,118,224,16,C
Tahoma,14,BOLD GLOW-32-32-32 GLOWEXPAND-2,255-255-255

;ENDIF

//-------------------------------------------------

