Latest version has been rolled up into a new public release (1.1) and has been uploaded to the main post.
Latest version is public release 1.1
To Do (Future Features)
================================================== ==================
1. Plug-ins to support weatherpanel map (will be html/javascript)
2. Finger scroll up: settings, down: minimize, side: switch locations
3. Option for full screen (will enable when #2 is in place)
4. Roll forecasts when date rolls over (current=display message only)
History
1.1 (12/14/08)
================================================== ==================
- public release containing developer fixes d.39 to d.41
.41 (12/11/08)
================================================== ==================
- Added AppToDate support
- Added check for outdated cache (displays message only)
.40 (12/11/08) Klaus
================================================== ==================
- adapted image sizes to
condition 48*48
details 40*40
buttons 48*48
add/delete 20*20 the png images are still 16*16 in the gfx folder
- increased saved locations from 5 to 10
- panel messages in the middle of the screen (eliminate double redraw)
.39 (12/8/08)
================================================== ==================
- fix Russian language file
- fix fuzzy font (eliminated setTransparency)
Attached is the latest version, it incorporates base code for public release 1.1 and some bug fixes
History
.43 (12/17/08)
================================================== ==================
- add S2U key update to "RefreshWeather" -was only updated on main refresh
- fix bug where interval set to zero and deletes location cache
- fix refreshweather bug (was setting timer off for ini=0)
.42 (12/16/08)
================================================== ==================
- add klaus's update for city/location id (sorted array)
1.1 (12/14/08)
================================================== ==================
- public release containing developer fixes d.39 to d.41
Last edited by digitaldon37 : 01-10-2009 at 10:42 PM.
Here you have version 0_44 with the finger swapping of locations.
Best regards.
Thanks Klaus. Is there any way to restrict the swiping to a rectangle? This code triggers a swipe whether it's top to bottom, left to right, etc. The result is that you may get an unintended swipe.
I had been thinking that for scrolling locations, to limit the swipe to the "Tomorrow" section on the main page. That seems to be coordinates 10,140 to 180, 180
Yes it could be restricted to a certain rectangle.
The principle was the following.
Swiping left to right or top down increased the location index by one if there is a location. If there is no location it increased one more till the end.
Swiping right to left or bottom to top decreased the index. So there shouldn't have been an unintended swipe.
The swip must be, at the moment, at least 50 pixels wide between MouseDown and MouseUp. This could of course also also be changed.
The swipe works in all 3 screens, today, detail anf fourcast.
In the attached file the swipe is limited to the rectangle you gave.
The swipe is limited to right-left and left-right only and still 50 pixel min. (and now 100 pixel on a VGA sreen). I increased the version number t0 0.45.
The values are in variables so it would be easy to change them in the Form1.MouseUp routine.
Yes it could be restricted to a certain rectangle.
The principle was the following.
Swiping left to right or top down increased the location index by one if there is a location. If there is no location it increased one more till the end.
Swiping right to left or bottom to top decreased the index. So there shouldn't have been an unintended swipe.
The swip must be, at the moment, at least 50 pixels wide between MouseDown and MouseUp. This could of course also also be changed.
The swipe works in all 3 screens, today, detail anf fourcast.
In the attached file the swipe is limited to the rectangle you gave.
The swipe is limited to right-left and left-right only and still 50 pixel min. (and now 100 pixel on a VGA sreen). I increased the version number t0 0.45.
The values are in variables so it would be easy to change them in the Form1.MouseUp routine.
A new version for test:
- Increased the swiping area it covers now the Today and Tomorrow dispalys
- Changed Today display with weather conditions, the Tomorrow display is still the previous one for comparison.
A new version for test:
- Increased the swiping area it covers now the Today and Tomorrow dispalys
- Changed Today display with weather conditions, the Tomorrow display is still the previous one for comparison.
Best regards.
Hi Klaus. I like the concept but it seems to mess up in other languages (specifically French and German) - the words run together
[update] - I'm uploading your code with a change in the GetRemoteRSS error routine. I had added a check for the location cache file which fixes wolfkmann's issue of not being able to switch between locations when there was no connection to the internet.
Last edited by digitaldon37 : 01-10-2009 at 10:42 PM.
Hi Don,
What words are overlapping or running together, I tried mainly in English,French and German and have not yet found overlapping words.
Is it the first line with Today and the date, the 2nd one with the day name and the temperatures or the 3rd one with the conditions? Is it on the device only or on both?
Did you also have a look at the desktop version, what about having two arrows up and down before the temperatures instead of the two letters?