The picture is directly put in the Form1.Image.
The lines and the texts are drawn onto the forelayer of the form with
a DrawerEx object from the ImageLibEx.
It could have been done directly with Form1.FLine and Form1.FDrawString.
But I use right alignment for some texts, and for that I need the StringWidth function that is in the ImageLibEx library with the DrawerEx object.
I am also looking to replace the menus by ToolBars.
When I am almost finished I will post it.
Best regards.
I got the image demo from one of the other forums - had to use Google to translate the German to English.
I've made a couple of small changes - but I will hold off until you post your copy. It will be easier for me to put these into your version.
I'm not sure about the idea to use a tool bar. I'm trying to make the program finger-friendly and tool bars are usually too small to use.
.32 (11/26/08)
=========================================
- resized main form icons to 50x50
- fixed landscape mode - right side view
- fixed "About" display
- changed "Current" icon border from label
- added error logging in parse subs
- rename PC weather PC Forecast
- fixed detail icons 0-9
Most of the changes are cosmetic and could have been resolved without a new build, but this version adds a setting to turn on error logging for some of the sub-routines. The program should never crash, but it may display (or not display) strange data when it encounters a data (refreshing the weather feed usually fixes that).
Error logging helps those like me who are obsessed with squashing every little bug and writing work-arounds.
I also renamed the PC version from "Weather" to "PC Forecast"
On another note, I am trying to learn how to create cabs. Any recommendations?
The About-Panel can be moved now with the mouse or stylus.
Ciao,
Filippo
Thanks! This is one of the things that have been asked for.
I made several changes and have a v.33 also - is there an easy way to take your changes and add them to my v.33?
[edit] I am running win-diff and see most of the changes you made you added a comment (thanks! I'll be able to pull that code out and re-use) and the others seem to be changing the images from center to stretch. Do your changes require your fgControls library, and if so, is the .cs version available to compile in?
I'm trying not to have to distribute any DLLs with the executables.
Last edited by digitaldon37 : 11-28-2008 at 12:42 AM.
I think it has the kind of look that the rest of you app is targetting...
I could try to implement the X,Y coordinated and mousedown and mouseup events...If you do require them...
Edit:
@fillipo: You seem to be using yet the textfiles from version v.2X, wich has several errors in it like "Tomoorow", and the Last update time is always 12:00, even tought it's now 00:37....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
The S2U was asked by one of the users and is kind of cool. Pocket Forecast updates a registry key and S2U displays the weather status.
I appreciate the help and feedback. I know Klaus is working on background image support, Filippo added VGA support (I have to pull his code out and add to the main branch) and Cableguy pointed me in the direction of a custom panel which I'm going to look at.
It is based on your version 0.32.
The first goal is to show what could be done.
What is missing:
- landscape mode not yet done
- other screen sizes not done
- no theme on the settings form
What has changed:
- all the Labels on Form1 are not necessary and were removed.
- Form2 is removed
- added a themeBordreColor in the INI file
- replaced the theme Textbox in the settings form by a Combobox
I have updated the E, D, F text files.
Please check for the others I, P, S for changes. Be aware that in these last files there is one text line more than in the older ones. And if you have added some other texts in the program they should be added.
The themes are in seperate zip files, they are too big.
Copy the themes in 'sky' and 'sunset' folders in the themes folder.