Added new features for release 1.4

This commit is contained in:
Ace 2018-12-24 21:19:47 +01:00 committed by GitHub
parent 980661196e
commit c613876f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,14 +19,20 @@ humicon = open(opath+'hum-icon.bmp')
weekmon = open(opath+'week-mon.bmp') weekmon = open(opath+'week-mon.bmp')
weeksun = open(opath+'week-sun.bmp') weeksun = open(opath+'week-sun.bmp')
seperator = open(opath+'seperator.bmp') seperator = open(opath+'seperator.bmp')
no_response= open(opath+'cloud-no-response.bmp') no_response= open(opath+'cloud-no-response.bmp').convert('L')
sunriseicon = open(wpath+'wi-sunrise.bmp').convert('L')
sunseticon = open(wpath+'wi-sunset.bmp').convert('1')
windicon = open(wpath+'wi-strong-wind.bmp').convert('L')
wiconplace = (570, 219) wiconplace = (570, 0)
tempplace = (605, 310) tempplace = (605, 310)
humplace = (572, 308) humplace = (572, 308)
monthplace = (443, 0) monthplace = (443, 0)
weekplace = (415,0) weekplace = (415,0)
seperatorplace = (555, 0) seperatorplace = (555, 0)
windiconspace = (605, 100)
sunriseplace = (605,210)
sunsetplace = (570,210)
weekdaysmon = {'Mon': (416,3), 'Tue': (416,57), 'Wed': (416,111), 'Thu': (416,165), 'Fri': (416,219), 'Sat': (416,273), 'Sun':(416,327)} weekdaysmon = {'Mon': (416,3), 'Tue': (416,57), 'Wed': (416,111), 'Thu': (416,165), 'Fri': (416,219), 'Sat': (416,273), 'Sun':(416,327)}
weekdayssun = {'Sun': (416,3), 'Mon': (416,57), 'Tue': (416,111), 'Wed': (416,165), 'Thu': (416,219), 'Fri': (416,273), 'Sat':(416,327)} weekdayssun = {'Sun': (416,3), 'Mon': (416,57), 'Tue': (416,111), 'Wed': (416,165), 'Thu': (416,219), 'Fri': (416,273), 'Sat':(416,327)}