//////////////////////////////////////////////////////
//////// H A M M E R   S K I N   Reduced Version//////// Fr Today Plus Version 0.11.0									    
//////// Skin Version 01.04	
//////// Author: Wichtel	
//////// Modified by Rotlaus
//////// Datum: 26.08.2004          
/////////////////////////////////////////////////////                                                                                            
//											   
////////////////////////////////////////////////////			
// REGIONSBERSICHT:								
//														////////////////
// REGION	1,0       		BUTTONAREA									////////////////
// REGION	2,0         		MAINPAGE									////////////////
// REGION  	4            		UNTERREGION FR MAINPAGE							////////////////
// REGION  	4,1 - 4,2 		Batterie und Speicher der Mainpage Region2						////////////////
// REGION  	4,3 - 4,8 		Newsticker der Mainpage Region 6							////////////////
// REGION  	3,0	 	WETTER										////////////////
// REGION  	5,0           	AGENDA AREA FR MAINPAGE							////////////////
// REGION  	6,0           	NEWSTICKER FR MAINPAGE							////////////////
// REGION  	7,0 - 7,5   	WETTERDETAIL / MONDPHASEN / TIERKREISZEICHEN FR WETTERPAGE		////////////////
// REGION  	8,0 	   	WETTERAUSWAHLPOPUP FR WETTERPAGE					////////////////
// REGION  	9,0           	POOM KALENDER 								////////////////
// REGION 	10,0          	POOM AUFGABEN		    						//////////////// 
// REGION 	11,0 -11,1 	WELTZEITEN									////////////////
// REGION 	12,0          	RSS										////////////////
// REGION 	13,0          	RSS BERRSCHRIFTEN								////////////////
// REGION 	14,0          	RSS TEXT									////////////////
// REGION 	15,0 -15,4         	VERKNPFUNGEN								////////////////
// REGION	16,0		SYSTEM										////////////////
// REGION	17,0		SYSTEMAUSWAHLPOPUP 							////////////////
// REGION	18,0 -18,1	EIGENTMERINFO / SKININFO 							////////////////




maxheight,238
height,238


initregion,1,0
initregion,2,0
initregion,6,0
initregion,3,999
initregion,7,999
initregion,8,999
initregion,9,999
initregion,10,999
initregion,11,999
initregion,12,999
initregion,13,999
initregion,14,999
initregion,15,999
initregion,16,999
initregion,17,999
initregion,18,999


initvar,var0,1	//Wetteranzeige Mainpage
initvar,var2,1          //RSS Headlines
initvar,var9,1	//Wetteranzeige Wetterseite
initvar,var10,2	//Wetter Icon wechsel
initvar,var24,2	//Buttonwechsel
initvar,var13,1	//Wetterscroll
initvar,var17,0	//Batterie - Speicherwechsel
initvar,var15,0	//RSS Mainpage Schlagzeilenwechsel



if,var,var10,,=,1
options,weathericondir,Weather Icons\Stardock,png

else
options,weathericondir,Weather Icons\Accu_new,gif

endif



if,var,var24,,=,1
options,imagedir,images\Hammerskin1

else
options,imagedir,images\Hammerskin

endif

color,transparent,255_0_255
color,replacement,0_0_0-,-1_6_-1
color,shadow,125_125_125
color,font,0_0_0


calcvar,var18,fromconfig,numlauncher
calcvar,var28,fromconfig,numrss
calcvar,var29,fromconfig,numcities






//////////////////////////////////////////////////////////////////////////
//  REGION 2  MAIN PAGE   REGION 4,1-4,2
/////////////////////////////////////////////////////////////////////////


region,2,0,20
defregion,2,0,0,210,238,1

cleararea,0,0,211,238


deactivatebuttons,3
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,2
activatebuttons,4
activatebuttons,5

updateregions,5
updateregions,6

//====================================
//DATUM - TAG - UHR
//====================================


changefont,tahoma,23,i

time,4,0,-1,5,ls,"dddd",

changefont,tahoma,13,b

time,4,22,-1,5,l,"d. MMMM  yyyy",
time,5,35,-1,4,l

changefont,tahoma,12,



//===================================
//WETTER AKTUELL + 1 TAG
//===================================


load,city,1


calcvar,var20,weatherupdatetimediff


if,var,var20,,<,240


forecast,date_ddd,1,21,62,,,c
forecasticon,1,5,75,,t
forecast,high,1,39,75,,,l
forecast,low,1,39,84,,,l
forecast,precipitation,1,39,93,,%,l


forecast,date_ddd,2,77,62,,,c
forecasticon,2,61,75,,t
forecast,high,2,95,75,,,l
forecast,low,2,95,84,,,l
forecast,precipitation,2,95,93,,%,l

else

calcvar,var21,firstvalidforecastday

if,var,var21,,<,6
forecast,date_ddd,%var21%,21,62,,,c
forecasticon,%var21%,5,75,,t
forecast,high,%var21%,39,75,,,l
forecast,low,%var21%,39,84,,,l
forecast,precipitation,%var21%,39,93,,%,l

addvar,var21,1

else

image,5,75,none.png,t

endif


if,var,var21,,<,6

forecast,date_ddd,%var21%,77,62,,,c
forecasticon,%var21%,61,75,,t
forecast,high,%var21%,95,75,,,l
forecast,low,%var21%,95,84,,,l
forecast,precipitation,%var21%,95,93,,%,l

addvar,var21,1

else

image,61,75,none.png,t

endif
endif


//========================================
// AKTUALISIERUNGSZEIT
//========================================



if,var,var20,,<,240

text,6,50,Last Updated: ,l
text,75,50,[updatetime],l,HH:mm

else


if,var,var20,240,><,600
calcvar,var20,/,%var20%,60
color,font,255_0_0
text,6,50,Updated: ,l
text,76,50,%var20%,l,
text,84,50,Hours ago,l
color,font,0_0_0

else


if,var,var20,600,><,1440
calcvar,var20,/,%var20%,60

color,font,255_0_0
text,6,50,Updated: ,l
text,76,50,%var20%,l,
text,88,50,Hours ago,l
color,font,0_0_0

else


if,var,var20,1440,><,2880
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,6,50,Updated: ,l
text,81,50,%var20%,r
text,85,50,Days ago,l
color,font,0_0_0

else

if,var,var20,2880,><,14400
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,6,50,Updated: ,l
text,81,50,%var20%,r
text,83,50,Days ago,l
color,font,0_0_0

else

if,var,var20,,>,14401
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,6,50,Updated: ,l
text,85,50,%var20%,r
text,86,50,Days ago,l
color,font,0_0_0

endif
endif
endif
endif
endif
endif

if,refresh

image,4,50,Aktualisierung_main.png,t
else

endif


imagebutton,4,50,Aktualisierungsbutton_main.png,,-1,7,-nohighlight,-1



//========================================
// KALENDER AKTUELLER MONAT
//========================================


image,115,5,kalender_header_main.png
image,181,5,kalender_header_senkrecht_main_grau.png
image,194,5,kalender_header_senkrecht_main_rot.png

calendarheader,116,5,13

calendar,0,0,116,18,13,10,l

button,116,18,92,60,-1,23,0,5
button,116,18,92,60,-1,23,1,5
button,116,18,92,60,-1,23,2,5
button,116,18,92,60,-1,23,3,5
button,116,18,92,60,-1,5,-highlight,5


//=================================
// BATTERIE -SPEICHER
//=================================
		
if,var,var17,,=,0

jumpregion,4,2
storevar,var17=1

else

jumpregion,4,1
storevar,var17=0

endif


//BATTERIE========================

region,4,1,-1

image,151,93,meters_background.png,t
battery,bar,153,93,52,13,gradient_batterymain gradient.png
image,151,93,meters.png,t

imagebutton,151,93,Metersbutton.png,tr,-1,0,%apps-6-2-highlight


changefont,tahoma,11


if,batterystatusunknown

image,117,82,batterie_unbekannt.png,t
text,179,83,Batt: ?,c

else

if,charging

image,117,82,batterie_laden.png,t
text,179,83,Charging.....,c

else

if,externalpower,=,true

image,117,82,batterie_geladen.png,t
text,179,83,Full,c

else

image,117,82,batterie.png,t
battery,remaining,179,83,Batt: , %,c

endif
endif
endif

changefont,tahoma,12	

endregion,4,1


//SPEICHER============================


region,4,2,-1

changefont,tahoma,11

memory,totalused,179,82,SP: , MB,c,%.1f
image,151,93,meters_background.png,t
memory,barused,153,93,52,13,gradient_Speichermain gradient.png
image,151,93,meters.png,t

imagebutton,151,93,Metersbutton.png,tr,-1,0,%apps-6-3-highlight


calcvar,var17,programmemoryusedpercent


if,var,var17,1,><,50

image,117,82,Speicherleer.png,t

else

if,var,var17,51,><,80

image,117,82,Speichervoll.png,t

else
image,117,82,Speicherhot.png,t

endif
endif

changefont,tahoma,12

endregion,4,2




//=======================================
// HELLIGKEITSREGELUNG 
//=======================================

image,151,112,neonschatten.png,
imagebutton,151,112,neon.png,tr,-1,0,%apps-6-8-highlight

//=======================================
// TEXT FR NEWSTICKER 
//=======================================

//image,4,187,headline.png
//text,5,187,NEWSTICKER,l

//=======================================
// TEXT FR AGENDA 
//=======================================

image,4,113,headline.png
text,5,113,Agenda,l

//=======================================
// PROGRAMMVERKNPFUNGEN 
//=======================================

imagebutton,4,217,icon_button.png,t,-1,0,%apps-1-1
shortcut,4,217,apps-1-1,s

imagebutton,27,217,icon_button.png,t,-1,0,%apps-1-2
shortcut,27,217,apps-1-2,s

imagebutton,50,217,icon_button.png,t,-1,0,%apps-1-3
shortcut,50,217,apps-1-3,s

imagebutton,73,217,icon_button.png,t,-1,0,%apps-1-4
shortcut,73,217,apps-1-4,s

imagebutton,96,217,icon_button.png,t,-1,0,%apps-1-5
shortcut,96,217,apps-1-5,s

imagebutton,119,217,icon_button.png,t,-1,0,%apps-1-6
shortcut,119,217,apps-1-6,s

imagebutton,142,217,icon_button.png,t,-1,0,%apps-1-7
shortcut,142,217,apps-1-7,s

imagebutton,165,217,icon_button.png,t,-1,0,%apps-1-8
shortcut,165,217,apps-1-8,s

imagebutton,188,217,icon_button.png,t,-1,0,%apps-1-9
shortcut,188,217,apps-1-9,s

image,2,211,dotted_line.png,t

endregion,2,0


//////////////////////////////////////////////////////////////////////////
// MAINPAGE ENDE
/////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////
// REGION 5 AGENDABEREICH DER MAIN PAGE 
//////////////////////////////////////////////////////////////////////////

region,5,0,15
defregion,5,0,126,209,60,

options,calendarfilter,1
options,taskfilter,1
options,dateformat,3,15,18,%changefont,tahoma,11,%%line,203,10,-1_6_-1%%bold%%date,l%%regularfont%
options,today-text,'Today', dd. MMMM  yyyy
options,tomorrow-text,'Tomorrow', dd. MMMM  yyyy

options,apptformat,0,11,13,%iconstart,51%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,0,2,small_arrow_right.png,t%%tab,7%%starttime,HH:mmt%%tab,60%%//bold%%subject%%regularfont%

options,apptallday,0,11,13,%iconstart,67%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_128_0%%image,0,2,small_arrow_right.png,t%%tab,7%All Day%tab,76%%//bold%%subject%%regularfont%%textcolor,0_0_0%

options,taskformat,0,11,13,%iconstart,60%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,0,0,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,68%%subject%%changefont,tahoma,11,%

options,taskoverdue,0,11,13,%textcolor,255_0_0%%iconstart,60%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,0,0,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,68%%subject%%changefont,tahoma,11,%%resettextcolor%

options,taskcomplete,0,11,13,%iconstart,60%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,lowpriority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,s%%checkbox,0,0,12,12,dot.png,dot1.png,tr%%tab,10%[%enddate,dd/MM%]%tab,68%%subject%%changefont,tahoma,11,%

options,blanktext,-1,11,13,


outlook,4,126,203,64,0,0,228,,,5


changefont,tahoma,12,


endregion,5,0

//////////////////////////////////////////////////////////////////////////
// AGENDABEREICH DER MAIN PAGE  ENDE
//////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////////////////////
// REGION 6 NEWSTICKER DER MAINPAGE   REGION 4,3-4,6
/////////////////////////////////////////////////////////////////////////////////////////////
//region,6,0,10
//defregion,6,0,200,210,38,
//
//
//
//if,var,var15,,=,0
//
//jumpregion,4,3
//storevar,var15=1
//
//else
//
//if,var,var15,,=,1
//
//jumpregion,4,4
//storevar,var15=2
//
//else
//
//if,var,var15,,=,2
//
//jumpregion,4,5
//storevar,var15=3
//
//else
//
//if,var,var15,,=,3
//
//jumpregion,4,6
//storevar,var15=4
//
//else
//
//if,var,var15,,=,4
//
//jumpregion,4,7
//storevar,var15=5
//
//else
//
//if,var,var15,,=,5
//
//jumpregion,4,8
//storevar,var15=0
//
//
//
//endif
//endif
//endif
//endif
//endif
//endif



//RSS NEWSTICKER============================
//
//region,4,3,-1
//
//load,rss,1
//
//RSS,title,4,201,207,12,1,,,l
//RSS,title,4,212,207,12,2,,,l
//RSS,title,4,223,207,12,3,,,l
//
//endregion,4,3
//
////RSS NEWSTICKER============================
//
//region,4,4,-1
//
//load,rss,2
//
//RSS,title,4,201,207,12,1,,,l
//RSS,title,4,212,207,12,2,,,l
//RSS,title,4,223,207,12,3,,,l
//
//endregion,4,4
//
////RSS NEWSTICKER============================
//
//region,4,5,-1
//
//load,rss,1
//
//RSS,title,4,201,207,12,4,,,l
//RSS,title,4,212,207,12,5,,,l
//RSS,title,4,223,207,12,6,,,l
//
//endregion,4,5
//
////RSS NEWSTICKER============================
//
//region,4,6,-1
//
//load,rss,2
//
//RSS,title,4,201,207,12,4,,,l
//RSS,title,4,212,207,12,5,,,l
//RSS,title,4,223,207,12,6,,,l
//
//
//
//endregion,4,6
//
////RSS NEWSTICKER============================
//
//region,4,7,-1
//
//load,rss,1
//
//RSS,title,4,201,207,12,7,,,l
//RSS,title,4,212,207,12,8,,,l
//RSS,title,4,223,207,12,9,,,l
//
//
//
//endregion,4,7
//
////RSS NEWSTICKER============================
//
//region,4,8,-1
//
//load,rss,2
//
//RSS,title,4,201,207,12,7,,,l
//RSS,title,4,212,207,12,8,,,l
//RSS,title,4,223,207,12,9,,,l
//
//
//
//endregion,4,8
//
//endregion,6,0


/////////////////////////////////////////////////////////////////////////
// NEWSTICKER DER MAINPAGE  ENDE
/////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// REGION 3  WETTER PAGE  
/////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////
// REGION 3,0 WETTER HAUPTANSICHT  
/////////////////////////////////////////////////////////////////////////


region,3,0,60
defregion,3,0,0,211,238,1

cleararea,0,0,211,238


deactivatebuttons,2
deactivatebuttons,5
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,3


if,var,var9,,>,%var29%
storevar,var9=1
else
endif


load,city,%var9%

//===================================
//BERSCHRIFTEN
//===================================


image,4,3,headline_breit_gelb_verlauf.png,t
changefont,Tahoma,13,b



text,105,2,Weather - ,r
text,105,2,[name],l


//===================================
//AKTUALISIERUNGSZEIT
//===================================

changefont,Tahoma,12,

image,4,18,headline_breit_blau_verlauf.png,t


calcvar,var20,weatherupdatetimediff


if,var,var20,,<,240

text,39,18,Updated ,l
text,129,18,[updatetime],l,HH:mm
//text,156,18,Uhr,l
else

if,var,var20,240,><,600
calcvar,var20,/,%var20%,60

color,font,255_0_0
text,30,18,Last Updated ,l
text,133,18,%var20%,l,
text,142,18,Hours ago,l
color,font,0_0_0

else

if,var,var20,600,><,1440
calcvar,var20,/,%var20%,60

color,font,255_0_0
text,30,18,Last Updated ,l
text,132,18,%var20%,l,
text,146,18,Hours ago,l
color,font,0_0_0

else

if,var,var20,1440,><,2880
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,43,18,Last Updated ,l
text,145,18,%var20%,l
text,152,18,Days ago,l
color,font,0_0_0

else

if,var,var20,2880,><,14400
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,38,18,Last Updated ,l
text,141,18,%var20%,l
text,148,18,Days ago,l
color,font,0_0_0

else

if,var,var20,,>,14401
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,35,18,Last Updated ,l
text,136,18,%var20%,l
text,148,18,Days ago,l
color,font,0_0_0

endif
endif
endif
endif
endif
endif



//===================================
//SONNENDARSTELLUNG
//===================================


image,3,31,sun.png,t
suntime,%var9%,sunrise,official,38,31,HH:mm,Rise:      ,,l
suntime,%var9%,sunset,official,38,40,HH:mm,Set:       ,,l
suntime,%var9%,daylength,official,38,49,HH:mm,Length:  ,,l


//===================================
//MONDDARSTELLUNG
//===================================

calcvar,var14,moonphase,0
imagemeter,109,34,%var14%,phasen.png,tr,0,7
moontime,%var9%,rise,0,139,31,HH:mm,Rise:     ,,l 
moontime,%var9%,set,0,139,40,HH:mm,Set:      ,,l 
moontime,%var9%,visible,0,139,49,,Length: ,%,l
 

//===================================
//AKTUELLE WETTERDATEN
//===================================


calcvar,var20,weatherupdatetimediff

if,var,var20,,<,480


todayicon,5,65,,t
today,sky,50,60,,sky,l
text,50,69,Temperature:,l
today,temp,120,69,, F,l
text,50,79,Feels Like:,l
today,realtemp,120,79,, F,l
text,50,89,Pressure:,l
today,barometer,120,89,, hPa,l
changefont,Tahoma,11,
today,humidity,5,99,Relative Humidity: , %,l
today,uv,120,99,UV-Index: ,,l
today,winddir,5,108,Wind Direction: , ,l
today,windspeed,90,108,Speed: , MPH,l
today,date,5,117,Weather Updated ,,l
changefont,Tahoma,12,
else

changefont,tahoma,14
text,104,90,No Current Data Available,c
changefont,tahoma,12

endif


//===================================
//WETTERVORHERSAGE   4 TAGE
//===================================


calcvar,var20,weatherupdatetimediff

if,var,var20,,<,480


imagebutton,5,130,wetter_button_detail.png,tr,7,4,0,3
button,5,130,95,13,-1,6,var1=1
forecasticon,1,5,144,,t
forecast,date_dddd  dd.MM.,1,7,130,,,l
text,40,142,High:,l
text,40,152,Low:,l
text,40,162,Prec:,l	
forecast,high,1,100,142,, F,r
forecast,low,1,100,152,, F,r
forecast,precipitation,1,100,162,, %,r


imagebutton,110,130,wetter_button_detail.png,tr,7,4,0,3
button,110,130,95,13,-1,6,var1=2
forecasticon,2,110,144,,t
forecast,date_dddd  dd.MM.,2,112,130,,,l
text,145,142,High:,l
text,145,152,Low:,l
text,145,162,Prec:,l	
forecast,high,2,205,142,, F,r
forecast,low,2,205,152,, F,r
forecast,precipitation,2,205,162,, %,r


imagebutton,5,176,wetter_button_detail.png,tr,7,4,0,3
button,5,176,95,13,-1,6,var1=3
forecasticon,3,5,190,,t
forecast,date_dddd  dd.MM.,3,7,176,,,l
text,40,188,High:,l
text,40,198,Low:,l
text,40,208,Prec:,l	
forecast,high,3,100,188,, F,r
forecast,low,3,100,198,, F,r
forecast,precipitation,3,100,208,, %,r


imagebutton,110,176,wetter_button_detail.png,tr,7,4,0,3
button,110,176,95,13,-1,6,var1=4
forecasticon,4,110,190,,t
forecast,date_dddd  dd.MM.,4,112,176,,,l
text,145,188,High:,l
text,145,198,Low:,l
text,145,208,Prec:,l	
forecast,high,4,205,188,, F,r
forecast,low,4,205,198,, F,r
forecast,precipitation,4,205,208,, %,r

else

calcvar,var21,firstvalidforecastday

if,var,var21,,<,6

imagebutton,5,130,wetter_button_detail.png,tr,7,4,0,3
button,5,130,95,13,-1,6,var1=%var21%
forecasticon,%var21%,5,144,,t
forecast,date_dddd  dd.MM.,%var21%,7,130,,,l	
text,40,142,High:,l
text,40,152,Low:,l
text,40,162,Prec:,l	
forecast,high,%var21%,100,142,, F,r
forecast,low,%var21%,100,152,, F,r
forecast,precipitation,%var21%,100,162,, %,r

addvar,var21,1

else

image,5,144,none.png,t

endif

if,var,var21,,<,6

imagebutton,110,130,wetter_button_detail.png,tr,7,4,0,3
button,110,130,95,13,-1,6,var1=%var21%
forecasticon,%var21%,110,144,,t
forecast,date_dddd  dd.MM.,%var21%,112,130,,,l
text,145,142,High:,l
text,145,152,Low:,l
text,145,162,Prec:,l	
forecast,high,%var21%,205,142,, F,r
forecast,low,%var21%,205,152,, F,r
forecast,precipitation,%var21%,205,162,, %,r

addvar,var21,1

else

image,110,1144,none.png,t

endif

if,var,var21,,<,6

imagebutton,5,176,wetter_button_detail.png,tr,7,4,0,3
button,5,176,95,13,-1,6,var1=%var21%
forecasticon,%var21%,5,190,,t
forecast,date_dddd  dd.MM.,%var21%,7,176,,,l
text,40,188,High:,l
text,40,198,Low:,l
text,40,208,Prec:,l	
forecast,high,%var21%,100,188,, F,r
forecast,low,%var21%,100,198,, F,r
forecast,precipitation,%var21%,100,208,, %,r

addvar,var21,1

else

image,5,190,none.png,t

endif


if,var,var21,,<,6

imagebutton,110,176,wetter_button_detail.png,tr,7,4,0,3
button,110,176,95,13,-1,6,var1=%var21%
forecasticon,%var21%,110,190,,t
forecast,date_dddd  dd.MM.,%var21%,112,176,,,l
text,145,188,High:,l
text,145,198,Low:,l
text,145,208,Prec:,l	
forecast,high,%var21%,205,188,, F,r
forecast,low,%var21%,205,198,, F,r
forecast,precipitation,%var21%,205,208,, %,r

addvar,var21,1

else


image,110,190,none.png,t


endif
endif



//===================================
//WETTERAUSWAHL
//===================================


imagebutton,125,222,wetter_auswahl.png,tr,8,4,0,3
text,140,222,Menu,l


//============================================
// AKTUALISIERUNGSBUTTON
//============================================


button,5,222,83,13,8,4,999
button,5,222,83,13,7,4,999
imagebutton,5,222,wetterbutton_aktualisieren.png,,-1,7,,3
text,19,222,Update,l


if,refresh

image,5,222,Aktualisierung_wetter.png,
jumpregion,7,999
jumpregion,8,999
else

endif


//===================================
//ORTSZEIT
//===================================

image,91,220,Wetter_ortszeit.png,
time,106,222,7,4,c


endregion,3,0

////////////////////////////////////////////////////////////////////////
// REGION 7,0 - WETTERDETAILS 
////////////////////////////////////////////////////////////////////////


region,7,0,10

cleararea,11,47,192,151

clearregion,8

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

load,city,%var9%

image,10,45,wetterpopup.png


//===================================
//SCHLIESSENBUTTON
//===================================
imagebutton,180,51,popupschliessen.png,t,7,4,999,3


//===================================
//BERSCHRIFTEN
//===================================


changefont,Tahoma,13,b
text,114,47,Forecast - ,r
text,114,47,[name],l
changefont,Tahoma,12,

forecast,date_dddd dd. MMMM yyyy,%var1%,105,60,,,c


//===================================
//WETTERDETAILS
//===================================


forecasticon,%var1%,15,80,,t
text,49,82,Day:,l
forecast,text,%var1%,49,94,,,l

text,35,115,Maximum Temperature:,l
text,35,125,Minimum Temperature:,l
text,35,135,Chance of Precipitation:,l

color,font,255_0_0
forecast,high,%var1%,175,115,, C,r
color,font,0_0_255
forecast,low,%var1%,175,125,, C,r
color,font,0_0_0
forecast,precipitation,%var1%,175,135,, %,r

nightforecasticon,%var1%,15,155,,t
text,49,157,Night:,l
forecast,nighttext,%var1%,49,169,,,l


endregion,7,0


////////////////////////////////////////////////////////////////////////
// REGION 8,0 - WETTERAUSWAHL POPUP
////////////////////////////////////////////////////////////////////////


region,8,0,-1

cleararea,86,128,124,92
clearregion,7

deactivatebuttons,3
deactivatebuttons,7

activatebuttons,8

image,85,128,wetter_auswahl_popup.png


changefont,Tahoma,12,b


if,var,var10,,=,1

options,weathericondir,Weather Icons\Stardock,png
imagebutton,87,129,wetter_icon_wechsel_button.png,t,-1,6,var10=2,-1
button,87,129,100,15,8,4,999,3

else

options,weathericondir,Weather Icons\Accu_new,gif
imagebutton,87,129,wetter_icon_wechsel_button.png,t,-1,6,var10=1,-1
button,87,129,100,15,8,4,999,3
endif

text,91,131,Change Icons,l



text,91,145,Zodiac Signs,l
imagebutton,87,142,wetter_auswahl_popup_button.png,tr,7,4,2,3
button,87,142,100,15,8,4,999


text,91,159,Moon Phases,l
imagebutton,87,157,wetter_auswahl_popup_button.png,tr,7,4,1,3
button,87,157,100,12,15,4,999



imagebutton,191,149,scrollup.png,t,8,13,var13_-2
imagebutton,191,202,scrolldown.png,t,8,13,var13_2




if,var,var13,,<,1
storevar,var13=1

else
endif


if,var,var13,,>,%var29%
storevar,var13=1

else
endif


if,var,var13,,<,1
storevar,var13=%var29%

else
endif



text,193,130,%var29%,l
text,193,174,%var13%,l


load,city,%var13%
image,91,175,small_arrow_right.png,t
text,98,173,[name],l
imagebutton,87,172,wetter_auswahl_popup_button.png,tr,3,4,0,3
button,87,172,100,15,-1,6,var9=%var13%
button,87,172,100,15,8,4,999

if,var,var13,,<,%var29%

addvar,var13,1

load,city,%var13%
image,91,189,small_arrow_right.png,t
text,98,187,[name],l
imagebutton,87,187,wetter_auswahl_popup_button.png,tr,3,4,0,3
button,87,187,100,15,-1,6,var9=%var13%
button,87,187,100,15,8,4,999

addvar,var13,-1

else
endif

color,font,255_0_0
text,110,204,Cancel,l
imagebutton,87,202,wetter_auswahl_popup_button_abbrechen.png,tr,8,4,999,3
color,font,0_0_0

changefont,Tahoma,12,

endregion,8,0

////////////////////////////////////////////////////////////////////////
// REGION 7,1 - MONDPHASEN 1
////////////////////////////////////////////////////////////////////////


region,7,1,-1

cleararea,12,78,191,84

deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

clearregion,8



image,10,78,Mondphasenpopup.png
changefont,Tahoma,13,b
text,105,80,Moon Phases,c
changefont,Tahoma,12,

imagebutton,180,83,popupschliessen.png,t,7,4,999,3
button,180,83,15,15,-1,6,var7=1




	  load,city,%var0%
                changefont,tahoma,10,b
//=================================================
                time,19,101,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,19,114,%var14%,phasen.png,tr,0,7
                moontime,%var0%,visible,%var7%,32,143,,, %,c
//=================================================
addvar,var7,1
                time,51,101,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,51,114,%var14%,phasen.png,tr,0,7
                moontime,%var0%,visible,%var7%,64,143,,, %,c
//=================================================
addvar,var7,1
                time,83,101,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,83,114,%var14%,phasen.png,tr,0,7
                moontime,%var0%,visible,%var7%,96,143,,, %,c
//=================================================
addvar,var7,1
                time,115,101,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,115,114,%var14%,phasen.png,tr,0,7
                moontime,%var0%,visible,%var7%,128,143,,, %,c
//=================================================
addvar,var7,1
                time,147,101,-1,5,l,"dd.MM.",,%var7%
                calcvar,var14,moonphase,%var7%
                imagemeter,147,114,%var14%,phasen.png,tr,0,7
                moontime,%var0%,visible,%var7%,160,143,,, %,c
//=================================================

                imagebutton,181,118,pfeilrechts.png,t,0,13,var7_1
	  button,181,118,15,15,7,4,1

endregion,7,1


////////////////////////////////////////////////////////////////////////
// REGION 7,2 - TIERKREISZEICHEN 1/4
////////////////////////////////////////////////////////////////////////
region,7,2,10
             
deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

clearregion,8

cleararea,12,78,191,84

image,10,78,Mondphasenpopup.png

changefont,Tahoma,13,b
text,105,80,Zodiac Signs 1/4,c
changefont,Tahoma,12,

imagebutton,180,83,popupschliessen.png,t,7,4,999,3


changefont,tahoma,11,


	
text,52,109,ab 22/12.,c
image,42,118,Tierkreis_Steinbock.png,c		
text,52,137,Capricorn,c


text,106,109,ab 21/01.,c
image,96,118,Tierkreis_Wassermann.png,c		
text,106,137,Aquarius,c


text,162,109,ab 20/02.,c
image,152,118,Tierkreis_Fische.png,c		
text,162,137,Pisces,c


changefont,tahoma,12,

imagebutton,16,120,pfeillinks.png,t,7,4,5,3
imagebutton,183,120,pfeilrechts.png,t,7,4,3,3



endregion,7,2


////////////////////////////////////////////////////////////////////////
// REGION 7,3 - TIERKREISZEICHEN 2/4
////////////////////////////////////////////////////////////////////////
region,7,3,10
             
deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

clearregion,8

cleararea,12,78,191,84

image,10,78,Mondphasenpopup.png

changefont,Tahoma,13,b
text,105,80,Zodiac Signs 2/4,c
changefont,Tahoma,12,

imagebutton,180,83,popupschliessen.png,t,7,4,999,3


changefont,tahoma,11,


	
text,52,109,ab 21/03.,c
image,42,118,Tierkreis_Widder.png,c		
text,52,137,Aries,c


text,106,109,ab 21/04.,c
image,96,118,Tierkreis_Stier.png,c		
text,106,137,Taurus,c


text,162,109,ab 21/05.,c
image,152,118,Tierkreis_Zwillinge.png,c		
text,162,137,Gemini,c



changefont,tahoma,12,

imagebutton,16,120,pfeillinks.png,t,7,4,2,3
imagebutton,183,120,pfeilrechts.png,t,7,4,4,3


endregion,7,3

////////////////////////////////////////////////////////////////////////
// REGION 7,4 - TIERKREISZEICHEN 3/4
////////////////////////////////////////////////////////////////////////
region,7,4,10
             
deactivatebuttons,3
deactivatebuttons,8

activatebuttons,7

clearregion,8

cleararea,12,78,191,84


image,10,78,Mondphasenpopup.png

changefont,Tahoma,13,b
text,105,80,Zodiac Signs 3/4,c
changefont,Tahoma,12,

imagebutton,180,83,popupschliessen.png,t,7,4,999,3


changefont,tahoma,11,


	
text,52,109,ab 22/06.,c
image,42,118,Tierkreis_krebs.png,c		
text,52,137,Cancer,c


text,106,109,ab 23/07.,c
image,96,118,Tierkreis_lwe.png,c		
text,106,137,Leo,c


text,162,109,ab 24/08.,c
image,152,118,Tierkreis_jungfrau.png,c		
text,162,137,Virgo,c



changefont,tahoma,12,


imagebutton,16,120,pfeillinks.png,t,7,4,3,3
imagebutton,183,120,pfeilrechts.png,t,7,4,5,3

endregion,7,4

////////////////////////////////////////////////////////////////////////
// REGION 7,5 - TIERKREISZEICHEN 4/4
////////////////////////////////////////////////////////////////////////
region,7,5,10
             
deactivatebuttons,3
deactivatebuttons,8
activatebuttons,7

clearregion,8

cleararea,12,78,191,84


image,10,78,Mondphasenpopup.png

changefont,Tahoma,13,b
text,105,80,Zodiac Signs 4/4,c
changefont,Tahoma,12,

imagebutton,180,83,popupschliessen.png,t,7,4,999,3


changefont,tahoma,11,


	
text,52,109,ab 24/09.,c
image,42,118,Tierkreis_waage.png,c		
text,52,137,Libra,c


text,106,109,ab 24/10.,c
image,96,118,Tierkreis_skorpion.png,c		
text,106,137,Scorpio,c


text,162,109,ab 23/11.,c
image,152,118,Tierkreis_Schtze.png,c		
text,162,137,Sagittarius,c



changefont,tahoma,12,


imagebutton,16,120,pfeillinks.png,t,7,4,4,3
imagebutton,183,120,pfeilrechts.png,t,7,4,2,3


endregion,7,5



////////////////////////////////////////////////////////////////////////
// WETTERPAGE ENDE
////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////
// REGION 9,0 KALENDER 
////////////////////////////////////////////////////////////////////////


region,9,0,30
defregion,9,0,0,210,238,1

cleararea,0,0,211,238

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,9



//===========================================
// BERSCHRIFT
//===========================================


image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,Appointments,c
changefont,tahoma,12


//===========================================
// KALENDER AKTUELLER MONAT
//===========================================


image,5,126,Kalender_header_poom.png
image,5,141,kalender_header_main.png
image,71,141,kalender_header_senkrecht_main_grau.png
image,84,141,kalender_header_senkrecht_main_rot.png

calendarheader,6,141,13

calendar,0,0,6,154,13,10,l

button,6,154,92,60,-1,5,0-highlight,9

button,6,154,92,60,-1,23,0,9
button,6,154,92,60,-1,23,1,9
button,6,154,92,60,-1,23,2,9
button,6,154,92,60,-1,23,3,9
button,6,154,92,60,-1,11,0,9


text,52,126,[caldate],0,c,"MMMM, yy"

imagebutton,3,221,kalenderpfeil_links.png,t,-1,9,0,9
button,3,221,70,12,-1,9,1,9



//===========================================
// KALENDER NCHSTER MONAT
//===========================================


image,115,126,kalender_header_poom.png
image,115,141,kalender_header_main.png
image,181,141,kalender_header_senkrecht_main_grau.png
image,194,141,kalender_header_senkrecht_main_rot.png

calendarheader,116,141,13

calendar,1,1,116,154,13,10,l

button,116,154,92,60,-1,5,1-highlight,9
button,116,154,92,60,-1,23,0,9
button,116,154,92,60,-1,23,1,9
button,116,154,92,60,-1,23,2,9
button,116,154,92,60,-1,23,3,9
button,116,154,92,60,-1,11,1,9


text,160,126,[caldate],1,c,"MMMM, yy"

imagebutton,139,221,kalenderpfeil_rechts.png,t,-1,8,1,9
button,139,221,70,12,-1,8,0,9


//===========================================
// RESET TASTE
//===========================================


imagebutton,75,221,kalender_reset.png,t,-1,10,0,9
button,75,226,62,12,-1,10,1,9
button,75,226,62,12,-1,22,0,9
button,75,226,62,12,-1,23,0,9

time,106,221,-1,5,c,dd.MM. ,HH:mm,


//===========================================
// FILTER
//===========================================
options,calendarfilter,0
options,calendarfilter,1
options,calendarfilter,2
options,calendarfilter,3


options,dateformat,1,15,15,%changefont,tahoma,11,%%line,202,10,-1_6_-1%%bold%%date,l%%regularfont%
options,today-text,'Today', dd, MMMM  yyyy
options,tomorrow-text,'Tomorrow', dd, MMMM  yyyy

options,apptformat,0,11,11,%iconstart,52%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%image,0,2,small_arrow_right.png,t%%tab,7%%starttime,HH:mmt%%tab,61%%//bold%%subject%%regularfont%

options,apptallday,0,11,11,%iconstart,67%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%textcolor,0_128_0%%image,0,2,small_arrow_right.png,t%%tab,7%All Day%tab,76%%//bold%%subject%%regularfont%%textcolor,0_0_0%


options,blanktext,-1,11,11,


outlook,5,20,205,104,1,0,199,,,9

changefont,tahoma,12,

endregion,9,0

////////////////////////////////////////////////////////////////////////
// KALENDER  ENDE 
////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 10,0 AUFGABEN
////////////////////////////////////////////////////////////////////////



region,10,0,1
defregion,10,0,0,210,238,1

cleararea,0,0,211,238

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,5
deactivatebuttons,4
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,10



//===========================================
// BERSCHRIFT
//===========================================


image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,Tasks,c
changefont,tahoma,12


/===========================================
// KALENDER AKTUELLER MONAT
//===========================================


image,5,126,Kalender_header_poom.png
image,5,141,kalender_header_main.png
image,71,141,kalender_header_senkrecht_main_grau.png
image,84,141,kalender_header_senkrecht_main_rot.png

calendarheader,6,141,13

calendar,0,0,6,154,13,10,l

button,6,154,92,60,-1,5,0-highlight,10
button,6,154,92,60,-1,23,0,10
button,6,154,92,60,-1,23,1,10
button,6,154,92,60,-1,23,2,10
button,6,154,92,60,-1,23,3,10
button,6,154,92,60,-1,11,0,10


text,52,126,[caldate],0,c,"MMMM, yy"

imagebutton,3,221,kalenderpfeil_links.png,t,-1,9,0,10
button,3,221,70,12,-1,9,1,10


//===========================================
// KALENDER NCHSTER MONAT
//===========================================


image,115,126,kalender_header_poom.png
image,115,141,kalender_header_main.png
image,181,141,kalender_header_senkrecht_main_grau.png
image,194,141,kalender_header_senkrecht_main_rot.png

calendarheader,116,141,13

calendar,1,1,116,154,13,10,l

button,116,154,92,60,-1,5,1-highlight,10
button,116,154,92,60,-1,23,0,10
button,116,154,92,60,-1,23,1,10
button,116,154,92,60,-1,23,2,10
button,116,154,92,60,-1,23,3,10
button,116,154,92,60,-1,11,1,10


text,160,126,[caldate],1,c,"MMMM, yy"

imagebutton,139,221,kalenderpfeil_rechts.png,t,-1,8,1,10
button,139,221,70,12,-1,8,0,10


//===========================================
// RESET TASTE
//===========================================

imagebutton,75,221,kalender_reset.png,t,10,10,0,10
button,75,226,62,12,-1,10,1,10
button,75,226,62,12,-1,22,0,10
button,75,226,62,12,-1,23,0,10

time,106,221,-1,5,c,dd.MM. ,HH:mm,


//===========================================
// FILTER
//===========================================

options,taskfilter,0
options,taskfilter,1
options,taskfilter,2
options,taskfilter,3



options,dateformat,1,15,15,%changefont,tahoma,11,%%line,202,10,-1_6_-1%%bold%%date,l%%regularfont%
options,today-text,'Today', dd, MMMM  yyyy
options,tomorrow-text,'Tomorrow', dd, MMMM  yyyy



options,taskformat,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,0,1,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%

options,taskoverdue,0,11,13,%textcolor,255_0_0%%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,%%checkbox,0,1,12,12,dot.png,dot1.png,t%%tab,10%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%%resettextcolor%

options,taskcomplete,0,11,13,%iconstart,61%%sensitivityicon,-10,1,private sensitivity.png,normal sensitivity,t%%priorityicon,-10,1,low priority.png,normal priority.png,high priority.png,t%%recurrenceicon,-10,1,recurrence.png,t%%remindericon,-10,1,reminder.png,t%%iconstart,0%%categoryicons,10,1%%changefont,tahoma,11,s%%checkbox,0,1,12,12,dot.png,dot1.png,tr%%tab,10%[%enddate,dd/MM%]%tab,70%%subject%%changefont,tahoma,11,%





options,blanktext,-1,11,11,

outlook,4,20,203,133,2,0,228,,,10

endregion,10,0


////////////////////////////////////////////////////////////////////////
// AUFGABEN  ENDE 
////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 11 WELTZEITEN
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 11,0 WELTZEITEN DIGITAL
////////////////////////////////////////////////////////////////////////


region,11,0,30
defregion,11,0,0,211,238
cleararea,0,0,211,238


deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,11

image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,World Time,c
changefont,tahoma,12

//CITY  1====================================

image,17,22,Digitaluhr.png

changefont,tahoma,18
time,53,34,1,4,c
changefont,tahoma,12

image,7,71,Kalender_header_poom.png
text,7,71,[name],l
time,98,71,1,5,r,dd.MM.yy,,


//CITY  2====================================

image,121,22,Digitaluhr.png

changefont,tahoma,18
time,157,34,2,4,c
changefont,tahoma,12

image,111,71,Kalender_header_poom.png
text,111,71,[name],l
time,202,71,2,5,r,dd.MM.yy,,

//CITY  3====================================

image,17,90,Digitaluhr.png

changefont,tahoma,18
time,53,103,3,4,c
changefont,tahoma,12

image,7,139,Kalender_header_poom.png
text,7,139,[name],l
time,98,139,3,5,r,dd.MM.yy,,

//CITY  4====================================

image,121,90,Digitaluhr.png

changefont,tahoma,18
time,157,103,4,4,c
changefont,tahoma,12

image,111,139,Kalender_header_poom.png
text,111,139,[name],l
time,202,139,4,5,r,dd.MM.yy,,

//CITY  5====================================

image,17,158,Digitaluhr.png

changefont,tahoma,18
time,53,171,5,4,c
changefont,tahoma,12

image,7,207,Kalender_header_poom.png
text,7,207,[name],l
time,98,207,5,5,r,dd.MM.yy,,

//CITY  6====================================

image,121,158,Digitaluhr.png

changefont,tahoma,18
time,157,171,6,4,c
changefont,tahoma,12

image,111,207,Kalender_header_poom.png
text,111,207,[name],l
time,202,207,6,5,r,dd.MM.yy,,


// STATUSZEILE==============================

image,5,223,ortszeit.png
image,91,221,wetter_ortszeit.png,

text,7,223,Current:,l
time,48,223,-1,5,l,dd.MM.yy,,
time,106,223,-1,4,c

imagebutton,91,221,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight

imagebutton,125,223,zeitumschaltung_button.png,,11,4,1,1
text,132,223,Analog Clocks,l


endregion,11,0


////////////////////////////////////////////////////////////////////////
// REGION 11,1 WELTZEITEN ANALOG
////////////////////////////////////////////////////////////////////////

region,11,1,30
defregion,11,0,0,211,238

cleararea,0,0,211,238

image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,World Time,c
changefont,tahoma,12

//CITY  1====================================

image,28,19,analoguhr.png

time,54,43,1,analog,Stundenzeiger.png,minutenzeiger.png

image,7,71,Kalender_header_poom.png
text,7,71,[name],l
time,98,71,1,5,r,dd.MM.yy,,


//CITY  2====================================

image,132,19,analoguhr.png

time,158,43,2,analog,Stundenzeiger.png,minutenzeiger.png

image,111,71,Kalender_header_poom.png
text,111,71,[name],l
time,202,71,2,5,r,dd.MM.yy,,

//CITY  3====================================

image,28,87,analoguhr.png

time,54,111,3,analog,Stundenzeiger.png,minutenzeiger.png

image,7,139,Kalender_header_poom.png
text,7,139,[name],l
time,98,139,3,5,r,dd.MM.yy,,

//CITY  4====================================

image,132,87,analoguhr.png

time,158,111,4,analog,Stundenzeiger.png,minutenzeiger.png

image,111,139,Kalender_header_poom.png
text,111,139,[name],l
time,202,139,4,5,r,dd.MM.yy,,

//CITY  5====================================

image,28,155,analoguhr.png

time,54,179,5,analog,Stundenzeiger.png,minutenzeiger.png

image,7,207,Kalender_header_poom.png
text,7,207,[name],l
time,98,207,5,5,r,dd.MM.yy,,

//CITY  6====================================

image,132,155,analoguhr.png

time,158,179,6,analog,Stundenzeiger.png,minutenzeiger.png

image,111,207,Kalender_header_poom.png
text,111,207,[name],l
time,202,207,6,5,r,dd.MM.yy,,


// STATUSZEILE==============================

image,5,223,ortszeit.png
image,91,221,wetter_ortszeit.png,

text,7,223,Current:,l
time,48,223,-1,5,l,dd.MM.yy,,
time,106,223,-1,4,c

imagebutton,91,221,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight

imagebutton,125,223,zeitumschaltung_button.png,,11,4,0,1
text,135,223,Digital Clocks,l


endregion,11,1


////////////////////////////////////////////////////////////////////////
// WELTZEITEN  ENDE 
////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////
// REGION 12 RSS  
////////////////////////////////////////////////////////////////////////

region,12,0,60
defregion,12,0,0,211,238,

cleararea,0,0,211,238


deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,12
activatebuttons,13

updateregions,13,14,


////////////////////////////////////////////////////////////////////////
// REGION 13,0 RSS  BERSCHRIFTEN
////////////////////////////////////////////////////////////////////////


region,13,0,-1

// BUTTONS UND SCROLLEISTEN=============================

if,online

imagebutton,79,219,linkonline.png,t,12,31,
	

else

imagebutton,79,219,linkoffline.png,t,12,30,
		 

endif

initvar,var2,1


imagebutton,100,220,refresh.png,t,-1,7,,12


imagebutton,3,221,kalenderpfeil_links.png,t,12,13,var2_-1
button,3,221,70,12,-1,6,var5=1
button,3,221,70,12,-1,6,var6=207


imagebutton,139,221,kalenderpfeil_rechts.png,t,12,13,var2_1
button,139,221,70,12,-1,6,var5=1
button,139,221,70,12,-1,6,var6=207


image,197,178,scrollbar.png,t
image,197,180,scrollbar.png,t
		

imagebutton,195,163,scrollup.png,t,12,13,var5_-4
button,195,163,11,12,-1,13,var6_-5	


imagebutton,195,207,scrolldown.png,t,12,13,var5_4
button,195,207,11,12,-1,13,var6_5


		
if,var,var5,,>,19

storevar,var5=17
storevar,var6=198

else

endif
		


if,var,var5,,<,1

storevar,var5=1
storevar,var6=178

else

endif
		

image,197,%var6%,scroll1.png,t


// BERSCHRIFTEN=============================

if,var,var2,,>,%var28%
		storevar,var2=1
else
		endif
		
if,var,var2,,<,1
		storevar,var2=%var28%
else
		endif
	
		load,rss,%var2%


image,4,148,headline_breit_blau_verlauf.png






text,108,148,%var2%,l
text,113,148, / %var28%,l


changefont,tahoma,12,b

text,9,148,[name],l

changefont,tahoma,12

//========================================
// AKTUALISIERUNGSZEIT
//========================================


calcvar,var20,weatherupdatetimediff
if,var,var20,,<,240

text,130,148,Updated,l
text,178,148,[updatetime],l,HH:mm

else


if,var,var20,240,><,600
calcvar,var20,/,%var20%,60

color,font,255_0_0
text,142,148,Updated: ,l
text,182,148,%var20%,l,
text,190,148,Hrs ago,l
color,font,0_0_0

else


if,var,var20,600,><,1440
calcvar,var20,/,%var20%,60

color,font,255_0_0
text,137,148,Updated: ,l
text,177,148,%var20%,l,
text,190,148,Hrs ago,l
color,font,0_0_0

else


if,var,var20,1440,><,14400
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,142,148,Updated: ,l
text,182,148,%var20%,l
text,190,148,Days ago,l
color,font,0_0_0



else

if,var,var20,,>,14401
calcvar,var20,/,%var20%,1440

color,font,255_0_0
text,137,148,Updated: ,l
text,177,148,%var20%,l
text,190,148,Days ago,l
color,font,0_0_0



endif
endif
endif
endif
endif



RSS,title,13,165,180,12,%var5%,,,

button,13,165,180,12,14,4,0-highlight,12
button,13,165,180,12,-1,6,var4=%var5%



if,online
image,5,168,Markergrn.png,t

else

if,pagecached,%var5%
image,5,168,Markergrn.png,t

else
image,5,168,Markerrot.png,t

endif
endif



addvar,var5,1

RSS,title,13,177,180,12,%var5%,,,
button,13,177,180,12,14,4,0-highlight,12
button,13,177,180,12,-1,6,var4=%var5%

if,online
image,5,180,Markergrn.png,t

else

if,pagecached,%var5%
image,5,180,Markergrn.png,t

else
image,5,180,Markerrot.png,t

endif
endif


	
addvar,var5,1

RSS,title,13,189,180,12,%var5%,,,
button,13,189,180,12,14,4,0-highlight,12
button,13,189,180,12,-1,6,var4=%var5%

if,online
image,5,192,Markergrn.png,t

else
if,pagecached,%var5%

image,5,192,Markergrn.png,t

else
image,5,192,Markerrot.png,t
endif
endif
		


addvar,var5,1

RSS,title,13,201,180,12,%var5%,,,
button,13,201,180,12,14,4,0-highlight,12
button,13,201,180,12,-1,6,var4=%var5%

if,online
image,5,204,Markergrn.png,t

else

if,pagecached,%var5%
image,5,204,Markergrn.png,t

else
image,5,204,Markerrot.png,t

endif
endif

if,online

imagebutton,79,219,linkonline.png,t,12,31,
imagebutton,118,219,News_verbunden.png,t,-1,12,%var4%

else

imagebutton,79,219,linkoffline.png,t,12,30,


if,pagecached,%var4%
			
imagebutton,118,219,News_verbunden.png,t,-1,12,%var4%

else
   
imagebutton,118,219,News_getrennt.png,t,-1,12,%var4%
	
endif
endif


addvar,var5,-3

if,refresh

image,4,148,Rss_Aktualisierung.png,t
else

endif




endregion,13,0


////////////////////////////////////////////////////////////////////////
// RSS  BERSCHRIFTEN ENDE
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 14,0 RSS  TEXT
////////////////////////////////////////////////////////////////////////


region,14,0,-1


load,rss,%var2%

image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
RSS,title,5,3,200,12,%var4%,,,c
changefont,tahoma,12,	

		
RSS,description,5,18,205,129,%var4%,,,


endregion,14,1


////////////////////////////////////////////////////////////////////////
// RSS  TEXT  ENDE
////////////////////////////////////////////////////////////////////////


endregion,12,0


////////////////////////////////////////////////////////////////////////
// RSS  BEREICH ENDE
////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////
// REGION 15  VERKNPFUNGEN
////////////////////////////////////////////////////////////////////////

// REGION 15,0 VERKNPFUNGEN KLEIN HAUPTSEITE//////////////////////////////////////////////

region,15,0,-1
defregion,15,0,0,211,238,

cleararea,0,0,211,238


deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,13
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18

activatebuttons,15



image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,Program Launcher,c
changefont,tahoma,12




// ZEILE 1 APPS 2===============================

image,4,20,headline_breit_blau_verlauf.png

text,9,20,%apps-2%,l
text,200,20,%apps-2%,r

imagebutton,4,20,iconzeilegross.png,,15,4,1,1


// 1 Reihe======

imagebutton,4,40,icon_button2.png,t,-1,0,%apps-2-1
shortcut,4,40,apps-2-1,s

imagebutton,27,40,icon_button2.png,t,-1,0,%apps-2-2
shortcut,27,40,apps-2-2,s

imagebutton,50,40,icon_button2.png,t,-1,0,%apps-2-3
shortcut,50,40,apps-2-3,s

imagebutton,73,40,icon_button2.png,t,-1,0,%apps-2-4
shortcut,73,40,apps-2-4,s

imagebutton,96,40,icon_button2.png,t,-1,0,%apps-2-5
shortcut,96,40,apps-2-5,s

imagebutton,119,40,icon_button2.png,t,-1,0,%apps-2-6
shortcut,119,40,apps-2-6,s

imagebutton,142,40,icon_button2.png,t,-1,0,%apps-2-7
shortcut,142,40,apps-2-7,s

imagebutton,165,40,icon_button2.png,t,-1,0,%apps-2-8
shortcut,165,40,apps-2-8,s

imagebutton,188,40,icon_button2.png,t,-1,0,%apps-2-9
shortcut,188,40,apps-2-9,s


// 2 REIHE======

imagebutton,4,60,icon_button2.png,t,-1,0,%apps-2-10
shortcut,4,60,apps-2-10,s

imagebutton,27,60,icon_button2.png,t,-1,0,%apps-2-12
shortcut,27,60,apps-2-12,s

imagebutton,50,60,icon_button2.png,t,-1,0,%apps-2-13
shortcut,50,60,apps-2-13,s

imagebutton,73,60,icon_button2.png,t,-1,0,%apps-2-14
shortcut,73,60,apps-2-14,s

imagebutton,96,60,icon_button2.png,t,-1,0,%apps-2-15
shortcut,96,60,apps-2-15,s

imagebutton,119,60,icon_button2.png,t,-1,0,%apps-2-16
shortcut,119,60,apps-2-16,s

imagebutton,142,60,icon_button2.png,t,-1,0,%apps-2-17
shortcut,142,60,apps-2-17,s

imagebutton,165,60,icon_button2.png,t,-1,0,%apps-2-18
shortcut,165,60,apps-2-18,s

imagebutton,188,60,icon_button2.png,t,-1,0,%apps-2-19
shortcut,188,60,apps-2-19,s





// 2 ZEILE APPS 3================================

image,4,80,headline_breit_blau_verlauf.png

text,9,80,%apps-3%,l
text,200,80,%apps-3%,r

imagebutton,4,80,iconzeilegross.png,,15,4,2,1



// 1 REIHE======

imagebutton,4,100,icon_button2.png,t,-1,0,%apps-3-1
shortcut,4,100,apps-3-1,s

imagebutton,27,100,icon_button2.png,t,-1,0,%apps-3-2
shortcut,27,100,apps-3-2,s

imagebutton,50,100,icon_button2.png,t,-1,0,%apps-3-3
shortcut,50,100,apps-3-3,s

imagebutton,73,100,icon_button2.png,t,-1,0,%apps-3-4
shortcut,73,100,apps-3-4,s

imagebutton,96,100,icon_button2.png,t,-1,0,%apps-3-5
shortcut,96,100,apps-3-5,s

imagebutton,119,100,icon_button2.png,t,-1,0,%apps-3-6
shortcut,119,100,apps-3-6,s

imagebutton,142,100,icon_button2.png,t,-1,0,%apps-3-7
shortcut,142,100,apps-3-7,s

imagebutton,165,100,icon_button2.png,t,-1,0,%apps-3-8
shortcut,165,100,apps-3-8,s

imagebutton,188,100,icon_button2.png,t,-1,0,%apps-3-9
shortcut,188,100,apps-3-9,s


// 2 REIHE======

imagebutton,4,120,icon_button2.png,t,-1,0,%apps-3-10
shortcut,4,120,apps-3-10,s

imagebutton,27,120,icon_button2.png,t,-1,0,%apps-3-12
shortcut,27,120,apps-3-12,s

imagebutton,50,120,icon_button2.png,t,-1,0,%apps-3-13
shortcut,50,120,apps-3-13,s

imagebutton,73,120,icon_button2.png,t,-1,0,%apps-3-14
shortcut,73,120,apps-3-14,s

imagebutton,96,120,icon_button2.png,t,-1,0,%apps-3-15
shortcut,96,120,apps-3-15,s

imagebutton,119,120,icon_button2.png,t,-1,0,%apps-3-16
shortcut,119,120,apps-3-16,s

imagebutton,142,120,icon_button2.png,t,-1,0,%apps-3-17
shortcut,142,120,apps-3-17,s

imagebutton,165,120,icon_button2.png,t,-1,0,%apps-3-18
shortcut,165,120,apps-3-18,s

imagebutton,188,120,icon_button2.png,t,-1,0,%apps-3-19
shortcut,188,120,apps-3-19,s





// 3 ZEILE  APPS 4================================

image,4,140,headline_breit_blau_verlauf.png

text,9,140,%apps-4%,l
text,200,140,%apps-4%,r

imagebutton,4,140,iconzeilegross.png,,15,4,3,1

// 1 REIHE======

imagebutton,4,160,icon_button2.png,t,-1,0,%apps-4-1
shortcut,4,160,apps-4-1,s

imagebutton,27,160,icon_button2.png,t,-1,0,%apps-4-2
shortcut,27,160,apps-4-2,s

imagebutton,50,160,icon_button2.png,t,-1,0,%apps-4-3
shortcut,50,160,apps-4-3,s

imagebutton,73,160,icon_button2.png,t,-1,0,%apps-4-4
shortcut,73,160,apps-4-4,s

imagebutton,96,160,icon_button2.png,t,-1,0,%apps-4-5
shortcut,96,160,apps-4-5,s

imagebutton,119,160,icon_button2.png,t,-1,0,%apps-4-6
shortcut,119,160,apps-4-6,s

imagebutton,142,160,icon_button2.png,t,-1,0,%apps-4-7
shortcut,142,160,apps-4-7,s

imagebutton,165,160,icon_button2.png,t,-1,0,%apps-4-8
shortcut,165,160,apps-4-8,s

imagebutton,188,160,icon_button2.png,t,-1,0,%apps-4-9
shortcut,188,160,apps-4-9,s


// 2 REIHE======

imagebutton,4,180,icon_button2.png,t,-1,0,%apps-4-10
shortcut,4,180,apps-4-10,s

imagebutton,27,180,icon_button2.png,t,-1,0,%apps-4-12
shortcut,27,180,apps-4-12,s

imagebutton,50,180,icon_button2.png,t,-1,0,%apps-4-13
shortcut,50,180,apps-4-13,s

imagebutton,73,180,icon_button2.png,t,-1,0,%apps-4-14
shortcut,73,180,apps-4-14,s

imagebutton,96,180,icon_button2.png,t,-1,0,%apps-4-15
shortcut,96,180,apps-4-15,s

imagebutton,119,180,icon_button2.png,t,-1,0,%apps-4-16
shortcut,119,180,apps-4-16,s

imagebutton,142,180,icon_button2.png,t,-1,0,%apps-4-17
shortcut,142,180,apps-4-17,s

imagebutton,165,180,icon_button2.png,t,-1,0,%apps-4-18
shortcut,165,180,apps-4-18,s

imagebutton,188,180,icon_button2.png,t,-1,0,%apps-4-19
shortcut,188,180,apps-4-19,s





// 4 ZEILE  APPS 5================================

image,4,200,headline_breit_blau_verlauf.png

text,9,200,%apps-5%,l
text,200,200,%apps-5%,r

imagebutton,4,200,iconzeilegross.png,,15,4,4,1


// 1 REIHE======

imagebutton,4,220,icon_button2.png,t,-1,0,%apps-5-1
shortcut,4,220,apps-5-1,s

imagebutton,27,220,icon_button2.png,t,-1,0,%apps-5-2
shortcut,27,220,apps-5-2,s

imagebutton,50,220,icon_button2.png,t,-1,0,%apps-5-3
shortcut,50,220,apps-5-3,s

imagebutton,73,220,icon_button2.png,t,-1,0,%apps-5-4
shortcut,73,220,apps-5-4,s

imagebutton,96,220,icon_button2.png,t,-1,0,%apps-5-5
shortcut,96,220,apps-5-5,s

imagebutton,119,220,icon_button2.png,t,-1,0,%apps-5-6
shortcut,119,220,apps-5-6,s

imagebutton,142,220,icon_button2.png,t,-1,0,%apps-5-7
shortcut,142,220,apps-5-7,s

imagebutton,165,220,icon_button2.png,t,-1,0,%apps-5-8
shortcut,165,220,apps-5-8,s

imagebutton,188,220,icon_button2.png,t,-1,0,%apps-5-9
shortcut,188,220,apps-5-9,s


endregion,15,0


// REGION 15,1 VERKNPFUNGEN GROSS APPS 2//////////////////////////////////////////////

region,15,1,-1

defregion,15,0,0,211,238

cleararea,0,0,211,238

image,4,3,headline_breit_blau_verlauf.png

text,9,3,%apps-2%,l
text,200,3,%apps-2%,r

imagebutton,4,3,iconzeileklein.png,,15,4,0,1



// 1 ZEILE==========================
shortcut,6,20,apps-2-1,l
button,6,20,32,32,-1,0,%apps-2-1-highlight

shortcut,48,20,apps-2-2,l
button,48,20,32,32,-1,0,%apps-2-2-highlight

shortcut,90,20,apps-2-3,l
button,90,20,32,32,-1,0,%apps-2-3-highlight

shortcut,132,20,apps-2-4,l
button,132,20,32,32,-1,0,%apps-2-4-highlight

shortcut,174,20,apps-2-5,l
button,174,20,32,32,-1,0,%apps-2-5-highlight


// 2 ZEILE===========================

shortcut,27,61,apps-2-6,l
button,27,61,32,32,-1,0,%apps-2-6-highlight

shortcut,69,61,apps-2-7,l
button,69,61,32,32,-1,0,%apps-2-7-highlight

shortcut,111,61,apps-2-8,l
button,111,61,32,32,-1,0,%apps-2-8-highlight

shortcut,153,61,apps-2-9,l
button,153,61,32,32,-1,0,%apps-2-9-highlight


// 3 ZEILE===========================

shortcut,6,102,apps-2-10,l
button,6,102,32,32,-1,0,%apps-2-10-highlight

shortcut,48,102,apps-2-11,l
button,48,102,32,32,-1,0,%apps-2-11-highlight

shortcut,90,102,apps-2-12,l
button,90,102,32,32,-1,0,%apps-2-12-highlight

shortcut,132,102,apps-2-13,l
button,132,102,32,32,-1,0,%apps-2-13-highlight

shortcut,174,102,apps-2-14,l
button,174,102,32,32,-1,0,%apps-2-14-highlight


// 4 ZEILE===========================

shortcut,27,143,apps-2-15,l
button,27,143,32,32,-1,0,%apps-2-15-highlight

shortcut,69,143,apps-2-16,l
button,69,143,32,32,-1,0,%apps-2-16-highlight

shortcut,111,143,apps-2-17,l
button,111,143,32,32,-1,0,%apps-2-17-highlight

shortcut,153,143,apps-2-18,l
button,153,143,32,32,-1,0,%apps-2-18-highlight


// 5 ZEILE===========================

shortcut,6,184,apps-2-19,l
button,6,184,32,32,-1,0,%apps-2-19-highlight

shortcut,48,184,apps-2-20,l
button,48,184,32,32,-1,0,%apps-2-20-highlight

shortcut,90,184,apps-2-21,l
button,90,184,32,32,-1,0,%apps-2-21-highlight

shortcut,132,184,apps-2-22,l
button,132,184,32,32,-1,0,%apps-2-22-highlight

shortcut,174,184,apps-2-23,l
button,174,184,32,32,-1,0,%apps-2-23-highlight


endregion,15,1



// REGION 15,2 VERKNPFUNGEN GROSS APPS 3//////////////////////////////////////////////

region,15,2,-1
defregion,15,0,0,211,238

cleararea,0,0,211,238


image,4,3,headline_breit_blau_verlauf.png

text,9,3,%apps-3%,l
text,200,3,%apps-3%,r

imagebutton,4,3,iconzeileklein.png,,15,4,0,1

// 1 ZEILE==========================

shortcut,28,20,apps-3-1,l
button,28,20,32,32,-1,0,%apps-3-1-highlight

shortcut,90,20,apps-3-2,l
button,90,20,32,32,-1,0,%apps-3-2-highlight

shortcut,152,20,apps-3-3,l
button,152,20,32,32,-1,0,%apps-3-3-highlight



// 2 ZEILE===========================

shortcut,28,61,apps-3-4,l
button,28,61,32,32,-1,0,%apps-3-4-highlight

shortcut,90,61,apps-3-5,l
button,90,61,32,32,-1,0,%apps-3-5-highlight

shortcut,152,61,apps-3-6,l
button,152,61,32,32,-1,0,%apps-3-6-highlight



// 3 ZEILE===========================

shortcut,28,102,apps-3-7,l
button,28,102,32,32,-1,0,%apps-3-7-highlight

shortcut,90,102,apps-3-8,l
button,90,102,32,32,-1,0,%apps-3-8-highlight

shortcut,152,102,apps-3-9,l
button,152,102,32,32,-1,0,%apps-3-9-highlight




// 4 ZEILE===========================

shortcut,28,143,apps-3-10,l
button,28,143,32,32,-1,0,%apps-3-10-highlight

shortcut,90,143,apps-3-11,l
button,90,143,32,32,-1,0,%apps-3-11-highlight

shortcut,152,143,apps-3-12,l
button,152,143,32,32,-1,0,%apps-3-12-highlight


// 5 ZEILE===========================

shortcut,28,184,apps-3-13,l
button,28,184,32,32,-1,0,%apps-3-13-highlight

shortcut,90,184,apps-3-14,l
button,90,184,32,32,-1,0,%apps-3-14-highlight

shortcut,152,184,apps-3-15,l
button,152,184,32,32,-1,0,%apps-3-15-highlight



endregion,15,2



// REGION 15,3 VERKNPFUNGEN GROSS APPS 4//////////////////////////////////////////////

region,15,3,-1
defregion,15,0,0,211,238

cleararea,0,0,211,238


image,4,3,headline_breit_blau_verlauf.png

text,9,3,%apps-4%,l
text,200,3,%apps-4%,r

imagebutton,4,3,iconzeileklein.png,,15,4,0,1

// 1 ZEILE==========================

shortcut,28,20,apps-4-1,l
button,28,20,32,32,-1,0,%apps-4-1-highlight

shortcut,90,20,apps-4-2,l
button,90,20,32,32,-1,0,%apps-4-2-highlight

shortcut,152,20,apps-4-3,l
button,152,20,32,32,-1,0,%apps-4-3-highlight



// 2 ZEILE===========================

shortcut,28,61,apps-4-4,l
button,28,61,32,32,-1,0,%apps-4-4-highlight

shortcut,90,61,apps-4-5,l
button,90,61,32,32,-1,0,%apps-4-5-highlight

shortcut,152,61,apps-4-6,l
button,152,61,32,32,-1,0,%apps-4-6-highlight



// 3 ZEILE===========================

shortcut,28,102,apps-4-7,l
button,28,102,32,32,-1,0,%apps-4-7-highlight

shortcut,90,102,apps-4-8,l
button,90,102,32,32,-1,0,%apps-4-8-highlight

shortcut,152,102,apps-4-9,l
button,152,102,32,32,-1,0,%apps-4-9-highlight




// 4 ZEILE===========================

shortcut,28,143,apps-4-10,l
button,28,143,32,32,-1,0,%apps-4-10-highlight

shortcut,90,143,apps-4-11,l
button,90,143,32,32,-1,0,%apps-4-11-highlight

shortcut,152,143,apps-4-12,l
button,152,143,32,32,-1,0,%apps-4-12-highlight


endregion,15,3



// REGION 15,4 VERKNPFUNGEN GROSS APPS 5//////////////////////////////////////////////

region,15,4,-1
defregion,15,0,0,211,238

cleararea,0,0,211,238


image,4,3,headline_breit_blau_verlauf.png

text,9,3,%apps-5%,l
text,200,3,%apps-5%,r

imagebutton,4,3,iconzeileklein.png,,15,4,0,1


// 1 ZEILE==========================

shortcut,28,20,apps-5-1,l
button,28,20,32,32,-1,0,%apps-5-1-highlight

shortcut,152,20,apps-5-2,l
button,152,20,32,32,-1,0,%apps-5-2-highlight



// 2 ZEILE===========================

shortcut,28,61,apps-5-3,l
button,28,61,32,32,-1,0,%apps-5-3-highlight

shortcut,152,61,apps-5-4,l
button,152,61,32,32,-1,0,%apps-5-4-highlight



// 3 ZEILE===========================

shortcut,28,102,apps-5-5,l
button,28,102,32,32,-1,0,%apps-5-5-highlight


shortcut,152,102,apps-5-6,l
button,152,102,32,32,-1,0,%apps-5-6-highlight




// 4 ZEILE===========================

shortcut,28,143,apps-5-7,l
button,28,143,32,32,-1,0,%apps-5-7-highlight

shortcut,152,143,apps-5-8,l
button,152,143,32,32,-1,0,%apps-5-8-highlight




endregion,15,4


////////////////////////////////////////////////////////////////////////
// VERKNPFUNGEN  ENDE
////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 16  SYSTEM 
////////////////////////////////////////////////////////////////////////

region,16,0,60
defregion,16,0,0,211,238

cleararea,0,0,211,238

deactivatebuttons,2
deactivatebuttons,3
deactivatebuttons,4
deactivatebuttons,5
deactivatebuttons,6
deactivatebuttons,7
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,17
deactivatebuttons,18
activatebuttons,16


image,4,3,headline_breit_gelb_verlauf.png

changefont,tahoma,12,b
text,105,3,System status,c
changefont,tahoma,12



// BATTERIE==============================

image,40,58,meters_background.png,t
battery,bar,42,58,52,13,gradient_batterymain gradient.png
image,40,58,meters.png,t

imagebutton,40,58,Metersbutton.png,tr,-1,0,%apps-6-2-highlight


changefont,tahoma,11


if,batterystatusunknown

image,6,46,batterie_unbekannt.png,t
text,68,47,Batt: ?,c

else

if,charging

image,6,46,batterie_laden.png,t
text,68,47,Charging.....,c

else

if,externalpower,=,true

image,6,46,batterie_geladen.png,t
text,68,47,AC Power,c

else

image,6,46,batterie.png,t
battery,remaining,72,47,Batt: , %,c

endif
endif
endif

changefont,tahoma,12

uptime,10,18,softreset,time,s,  HH:mm,Last Soft Reset at:   ,,l 
uptime,10,31,softreset,duration,Time Since Last Reset: , hr:min,l

text,97,51,Voltage:,l
battery,voltage,196,51,, V,r



uptime,97,63,battery,duration,Laufzeit: ,  Std/min,l 


// SPEICHER=======================================

memory,total,68,85,SP: , MB,c,%.1f

image,40,97,meters_background.png,t
memory,barused,42,97,52,13,gradient_Speichermain gradient.png
image,40,97,meters.png,t

imagebutton,40,97,Metersbutton.png,tr,-1,0,%apps-6-3-highlight


memory,storageused,40,110,, MB,l,%.1f

memory,programused,94,110,,,r,%.1f

calcvar,var17,programmemoryusedpercent

if,var,var17,1,><,50

image,6,88,Speicherleer.png,t

else

if,var,var17,51,><,80

image,6,88,Speichervoll.png,t

else
image,6,88,Speicherhot.png,t

endif
endif


text,97,92,P Free:,l
memory,storagefree,179,92,, MB,r
memory,storagefreepercent,208,92,/,%,r,%.0f

text,97,105,D Free:,l
memory,programfree,179,105,, MB,r
memory,programfreepercent,208,105,/,%,r,%.0f

// FILE STORAGE=====================================

image,3,131,memory_big.png,t

image,40,136,meters_background.png,t
storage,1,bar,42,136,52,13,gradient_storage gradient.png
image,40,136,meters.png,t

imagebutton,40,136,Metersbutton.png,tr,-1,0,%apps-6-4-highlight


text,68,124,FileStore,c
storage,1,total,68,147,, MB,c

text,97,129,Used: ,l
storage,1,used,179,129,, MB,r
storage,1,usedpercent,208,129,/,%,r,%.0f

text,97,142,Free: ,l
storage,1,free,179,142,, MB,r
storage,1,freepercent,208,142,/,%,r,%.0f


// SD KARTE==========================================

image,14,171,sd.png,t

image,40,175,meters_background.png,t
storage,2,bar,42,175,52,13,gradient_storage gradient.png
image,40,175,meters.png,t

imagebutton,40,175,Metersbutton.png,tr,-1,0,%apps-6-5-highlight


text,68,163,SD Card,c
storage,2,total,68,187,, MB,c

text,97,168,Used: ,l
storage,2,used,179,168,, MB,r
storage,2,usedpercent,208,168,/,%,r,%.0f

text,97,181,Free: ,l
storage,2,free,179,181,, MB,r
storage,2,freepercent,208,181,/,%,r,%.0f



// CF KARTE==========================================

//image,10,211,cf.png,t
//
////
//image,40,215,meters_background.png,t
//storage,3,bar,42,215,52,13,gradient_storage gradient.png
//image,40,215,meters.png,t
//
//imagebutton,40,215,Metersbutton.png,tr,-1,0,%apps-6-6-highlight
//
//
//text,68,203,CF Card,c
//storage,3,total,68,228,, MB,c
//
//text,97,208,Used: ,l
//storage,3,used,179,208,, MB,r
//storage,3,usedpercent,208,208,/,%,r,%.0f
//
//text,97,221,Free: ,l
//storage,3,free,179,221,, MB,r
//storage,3,freepercent,208,221,/,%,r,%.0f



// STATUSZEILE==============================


if,var,var24,,=,1

options,imagedir,images\Hammerskin1
imagebutton,5,222,buttonwechsel.png,t,-1,6,var24=2,-1
button,5,222,82,13,17,4,999,16

else

options,imagedir,images\Hammerskin
imagebutton,5,222,buttonwechsel.png,t,-1,6,var24=1,-1
button,5,222,82,13,17,4,999,16
endif

text,12,222,Change Theme,l



image,91,220,wetter_ortszeit.png,
time,106,222,-1,4,c,

imagebutton,91,220,Ortszeitbutton.png,tr,-1,0,%apps-6-7-highlight


imagebutton,125,222,wetter_auswahl.png,,17,4,0,16
text,140,222,Menu,l



endregion,16,0

////////////////////////////////////////////////////////////////////////
// REGION 17,0 - SYSTEM AUSWAHL 
////////////////////////////////////////////////////////////////////////


region,17,0,-1

cleararea,104,147,106,78

deactivatebuttons,16

activatebuttons,17

image,103,147,System_auswahl_popup.png


changefont,Tahoma,12,b


text,109,150,Owner Info,l
imagebutton,105,147,wetter_auswahl_popup_button.png,tr,18,4,0,16
button,105,147,100,15,17,4,999

text,109,164,Skin version,l
imagebutton,105,162,wetter_auswahl_popup_button.png,tr,18,4,1,16
button,105,162,100,15,17,4,999


imagebutton,105,177,wetter_auswahl_popup_button.png,tr,-1,0,%apps-6-9,16
shortcut,1105,177,apps-6-9,s
text,109,178,[name],l
button,105,177,100,15,17,4,999


imagebutton,105,192,wetter_auswahl_popup_button.png,tr,-1,0,%apps-6-10,16
shortcut,1105,192,apps-6-10,s
text,109,192,[name],l
button,105,192,100,15,17,4,999



color,font,255_0_0
text,128,207,Cancel,l
imagebutton,105,205,wetter_auswahl_popup_button_abbrechen.png,tr,17,4,999,16

color,font,0_0_0


changefont,Tahoma,12,

endregion,17,0


//////////////////////////////////////////////////////////////////////////
// REGION 18,0 - EIGENTMERINFORMATIONEN
//////////////////////////////////////////////////////////////////////////


region,18,0,10

cleararea,11,47,192,151

deactivatebuttons,16
deactivatebuttons,17

activatebuttons,18

clearregion,17

image,10,45,wetterpopup.png


//===================================
//SCHLIESSENBUTTON
//===================================


imagebutton,180,51,popupschliessen.png,t,18,4,999,16


//===================================
//BERSCHRIFTEN
//===================================


changefont,Tahoma,12,b

text,105,47,Owner,c
text,105,60,Information,c

changefont,Tahoma,12,

//===================================
//EIGENTMERDETAILS
//===================================

image,15,80,%owner image%,


text,98,100,Name:,l
changefont,Tahoma,12,b
text,98,115,%owner name%,l
changefont,Tahoma,12,


text,20,156,Address:,l
text,20,168,Address::,l
text,20,180,Telephone:,l


text,75,156,%owner address%,l
text,75,168,%owner address2%,l
text,75,180,%owner phone%,l


endregion,18,0

////////////////////////////////////////////////////////////////////////
// REGION 18,1 - SKIN INFORMATIONEN
////////////////////////////////////////////////////////////////////////
region,18,1,10
             
deactivatebuttons,16
deactivatebuttons,17

activatebuttons,18

clearregion,17

cleararea,12,78,191,108

image,10,78,Mondphasenpopup.png

imagebutton,180,83,popupschliessen.png,t,18,4,999,16

image,20,109,Hammerskin.png
image,157,109,Hammerskin.png

changefont,Tahoma,12,b
text,105,80,H A M M E R S K I N,c
changefont,Tahoma,12,



text,105,96,Skin version,c

text,105,106,01.04,c
text,105,116,Date: 26.08.2004,c
changefont,Tahoma,11,
text,105,129,powered by,c
changefont,Tahoma,12,b
text,105,140,W I C H T E L,c
changefont,Tahoma,12,


text,105,151,reduced by,c
changefont,Tahoma,12,b
text,105,162,R O T L A U S,c
changefont,Tahoma,12,
	

endregion,18,1


////////////////////////////////////////////////////////////////////////
// SKIN INFORMATIONEN  ENDE
////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// SYSTEM  ENDE
////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////////////
// REGION 1  BUTTON AREA 
////////////////////////////////////////////////////////////////////////

region,1,0,10
defregion,1,210,0,29,238,1



//// MAIN BUTTON======================

imagebutton,211,3,ButtonWhiteMain.png,tr,2,4,0,1
button,211,3,29,25,3,4,999
button,211,3,29,25,7,4,999
button,211,3,29,25,8,4,999
button,211,3,29,25,9,4,999
button,211,3,29,25,10,4,999
button,211,3,29,25,11,4,999,
button,211,3,29,25,12,4,999,
button,211,3,29,25,15,4,999,
button,211,3,29,25,16,4,999,
button,211,3,29,25,17,4,999,
button,211,3,29,25,18,4,999,

button,211,3,29,25,2,10,0,2
button,211,3,29,25,2,22,0,2
button,211,3,29,25,2,23,0,2

button,211,3,29,25,4,4,0
button,211,3,29,25,5,4,0
button,211,3,29,25,6,4,0


//// WETTER BUTTON====================

if,region,3,0

imagebutton,211,28,ButtonGreenWeather.png,tr,3,4,0,1
button,211,28,29,25,7,4,999,3
button,211,28,29,25,8,4,999,3



else

imagebutton,211,28,ButtonWhiteWeather.png,tr,3,4,0,1
button,211,28,29,25,2,4,999,3
button,211,28,29,25,5,4,999,3
button,211,28,29,25,6,4,999,3
button,211,28,29,25,9,4,999,3
button,211,28,29,25,10,4,999,3
button,211,28,29,25,11,4,999,
button,211,28,29,25,12,4,999,
button,211,28,29,25,13,4,999,
button,211,28,29,25,14,4,999
button,211,28,29,25,15,4,999,
button,211,28,29,25,16,4,999,
button,211,28,29,25,17,4,999,
button,211,28,29,25,18,4,999,


endif


//// AGENDA BUTTON====================
if,region,9,0


imagebutton,211,53,ButtonGreenCalendar.png,tr,9,4,0,1
button,211,53,29,25,9,10,0,9
button,211,53,29,25,9,22,0,9
button,211,53,29,25,9,23,0,9
button,211,53,29,25,9,10,1,9
button,211,53,29,25,9,22,1,9
button,211,53,29,25,9,23,1,9



else

imagebutton,211,53,ButtonWhiteCalendar.png,tr,9,4,0,1
button,211,53,29,25,2,4,999,
button,211,53,29,25,3,4,999,
button,211,53,29,25,4,4,999,
button,211,53,29,25,5,4,999,
button,211,53,29,25,6,4,999,
button,211,53,29,25,7,4,999,
button,211,53,29,25,8,4,999,
button,211,53,29,25,10,4,999,
button,211,53,29,25,11,4,999,
button,211,53,29,25,12,4,999,
button,211,53,29,25,13,4,999,
button,211,53,29,25,14,4,999,
button,211,53,29,25,15,4,999,
button,211,53,29,25,16,4,999,
button,211,53,29,25,17,4,999,
button,211,53,29,25,18,4,999,

button,211,53,29,25,9,10,0,9
button,211,53,29,25,9,22,0,9
button,211,53,29,25,9,23,0,9
button,211,53,29,25,9,10,1,9
button,211,53,29,25,9,22,1,9
button,211,53,29,25,9,23,1,9



endif

//// AUFGABEN  BUTTON====================

if,region,10,0

imagebutton,211,78,ButtonGreenTasks.png,tr,10,4,0,1
button,211,78,29,25,10,10,0,10
button,211,78,29,25,10,22,0,10
button,211,78,29,25,10,23,0,10
button,211,78,29,25,10,10,1,10



else

imagebutton,211,78,ButtonWhiteTasks.png,tr,10,4,0,1
button,211,78,29,25,2,4,999,
button,211,78,29,25,3,4,999,
button,211,78,29,25,4,4,999,
button,211,78,29,25,5,4,999,
button,211,78,29,25,6,4,999,
button,211,78,29,25,7,4,999,
button,211,78,29,25,8,4,999,
button,211,78,29,25,9,4,999,
button,211,78,29,25,11,4,999,
button,211,78,29,25,12,4,999,
button,211,78,29,25,13,4,999,
button,211,78,29,25,14,4,999,
button,211,78,29,25,15,4,999,
button,211,78,29,25,16,4,999,
button,211,78,29,25,17,4,999,
button,211,78,29,25,18,4,999,

button,211,78,29,25,10,10,0,10
button,211,78,29,25,10,22,0,10
button,211,78,29,25,10,23,0,10
button,211,78,29,25,10,10,1,10


endif


//// WELTZEITEN  BUTTON====================

if,region,11,0
	imagebutton,211,103,ButtonGreenClock.png,tr,11,4,0,1

else

	if,region,11,1
		imagebutton,211,103,ButtonGreenClock.png,tr,11,4,1,1

	else

		imagebutton,211,103,ButtonWhiteClock.png,tr,11,4,0,1
		button,211,103,29,25,2,4,999,
		button,211,103,29,25,3,4,999,
		button,211,103,29,25,4,4,999,
		button,211,103,29,25,5,4,999,
		button,211,103,29,25,6,4,999,
		button,211,103,29,25,7,4,999,
		button,211,103,29,25,8,4,999,
		button,211,103,29,25,9,4,999,
		button,211,103,29,25,10,4,999
		button,211,103,29,25,12,4,999
		button,211,103,29,25,13,4,999
		button,211,103,29,25,14,4,999
		button,211,103,29,25,15,4,999
		button,211,103,29,25,16,4,999
		button,211,103,29,25,17,4,999
		button,211,103,29,25,18,4,999


	endif
endif


//// RSS  BUTTON====================

if,region,12,0

	imagebutton,211,128,ButtonGreenRSS.png,tr,12,4,0,1
	button,211,128,29,25,13,4,0,1
	button,211,128,29,25,14,4,0,1

else

	imagebutton,211,128,ButtonWhiteRSS.png,tr,12,4,0,1
	button,211,128,29,25,13,4,0,1
	button,211,128,29,25,14,4,0,1
	
	button,211,128,29,25,2,4,999,
	button,211,128,29,25,3,4,999,
	button,211,128,29,25,4,4,999,
	button,211,128,29,25,5,4,999,
	button,211,128,29,25,6,4,999,
	button,211,128,29,25,7,4,999,
	button,211,128,29,25,8,4,999,
	button,211,128,29,25,9,4,999,
	button,211,128,29,25,10,4,999
	button,211,128,29,25,11,4,999
	button,211,128,29,25,15,4,999
	button,211,128,29,25,16,4,999
	button,211,128,29,25,17,4,999
	button,211,128,29,25,18,4,999

endif



//// VERKNPFUNGEN  BUTTON====================

if,region,15,0
	imagebutton,211,153,ButtonGreenShortcut.png,tr,15,4,0,1

else

	if,region,15,1
		imagebutton,211,153,ButtonGreenShortcut.png,tr,15,4,0,1

	else

		if,region,15,2
			imagebutton,211,153,ButtonGreenShortcut.png,tr,15,4,0,1

		else

			if,region,15,3
				imagebutton,211,153,ButtonGreenShortcut.png,tr,15,4,0,1

			else

				if,region,15,4
					imagebutton,211,153,ButtonGreenShortcut.png,tr,15,4,0,1

				else

					imagebutton,211,153,ButtonWhiteShortcut.png,tr,15,4,0,1
					button,211,153,29,25,2,4,999,
					button,211,153,29,25,3,4,999,
					button,211,153,29,25,4,4,999,
					button,211,153,29,25,5,4,999,
					button,211,153,29,25,6,4,999,
					button,211,153,29,25,7,4,999,
					button,211,153,29,25,8,4,999,
					button,211,153,29,25,9,4,999,
					button,211,153,29,25,10,4,999
					button,211,153,29,25,11,4,999
					button,211,153,29,25,12,4,999
					button,211,153,29,25,13,4,999
					button,211,153,29,25,14,4,999
					button,211,153,29,25,16,4,999
					button,211,153,29,25,17,4,999
					button,211,153,29,25,18,4,999
				
				endif
			endif
		endif
	endif
endif


//// SYSTEM BUTTON====================
if,region,16,0

	imagebutton,211,178,ButtonGreenSystem.png,tr,16,4,0,1
	button,211,178,29,25,17,4,999,
	button,211,178,29,25,18,4,999,

else

	imagebutton,211,178,ButtonWhiteSystem.png,tr,16,4,0,1
	button,211,178,29,25,2,4,999,
	button,211,178,29,25,3,4,999,
	button,211,178,29,25,4,4,999,
	button,211,178,29,25,5,4,999,
	button,211,178,29,25,6,4,999,
	button,211,178,29,25,7,4,999,
	button,211,178,29,25,8,4,999,
	button,211,178,29,25,9,4,999,
	button,211,178,29,25,10,4,999
	button,211,178,29,25,11,4,999
	button,211,178,29,25,12,4,999
	button,211,178,29,25,13,4,999
	button,211,178,29,25,14,4,999
	button,211,178,29,25,15,4,999

endif


//// SUSPEND BUTTON====================

imagebutton,211,203,ButtonWhiteOff.png,tr,-1,0,%apps-6-1-highlight


endregion,1,0


endregion,1,0



////////////////////////////////////////////////////////////////////////
// BUTTON AREA  ENDE
////////////////////////////////////////////////////////////////////////

offset,0,238


