Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weather Monitor v.1.2 - has been released
02-17-2003, 09:11 PM
Post: #16
 
Take a look at this topic. Weather Monitor 1.2 is already very close to achieving all this and more Wink
Find all posts by this user
Quote this message in a reply
02-19-2003, 07:44 PM
Post: #17
 
I am using the Weather Monitor Custom Full 32 and after trying many times, I've come to a standstill. I'd like to know how to edit these and what each heading means under [DataSlot0] -

[DataSlot0]
param = CUSTOM
SkinText = 0
rect = 0 0 68 13
LabelType = short
LabelRect = 0 0 10 10

What I'd like to do is include the parameter text name next to the actual weather reading. For instance, instead of just seeing in the skin the following -
85%
7:10 AM EST
7:10 PM EST
etc.

I'd like it to display as -
Humidity: 85%
Sunrise: 7:10 AM EST
Sunset: 7:10 PM EST
etc.

Is this possible? And if so, would I be changing the items in [DataSlot0] to accomplish this. ???
Visit this user's website Find all posts by this user
Quote this message in a reply
02-20-2003, 01:46 PM
Post: #18
 
I'm interested in that too. I've no idea what these parameters do:-

LabelType = short
LabelRect = 0 0 10 10

Can't see any difference when they're altered.

The windspeed on my wind direction skin to reads "8" rather than "8mph"

/Mark
Visit this user's website Find all posts by this user
Quote this message in a reply
02-20-2003, 09:48 PM
Post: #19
 
We will definitely vote for more of the above also. Smile Also - is the daytime/nightime function supposed to work? If so how can we program it?
Thanks

HMSS Q Section

HMSS Q Section
click here for 30+ ideas from a Special Plugin List
some examples=
UV Index Monitor, Allergy Monitor, TLB Version Monitor, Cinema Monitor
Visualise World Righteousness
Semper Ad Fundum
Working for the Secret Intelligence Service
Find all posts by this user
Quote this message in a reply
02-20-2003, 10:46 PM
Post: #20
 
I think I can help with some:-

[DataSlot0]
Each slot defines one space in the skin layout where a type of weather info (e.g. the temperature) can be displayed.
If you have two slots, then two different types of data may be displayed in the skin (e.g. temperature and wind speed.)
Which info fills these slots is selected in the skin properties, by switching stuff between the boxes entitled 'parameters' and 'use in skin'. If you select more info parameters than there are slots defined in the skin, then the last ones are ignored.
Slot numbering always starts at 0, then 1,2,3 etc

param = CUSTOM
This seems to mean that the slot can be filled with whatever is selected using the 'use in skin' config box (as described above) Sometimes I see "param = Temperature", which I guess means that the data slot is fixed to displaying the temperature.

SkinText = 0
Use proper everyday fonts, rather than those teeny tiny number graphics you see saved in the skin.

SkinText = 1
Use the teeny tiny numbers, I guess. Haven't tried it.


rect = 0 0 68 13
This is the rectangular area which the text in that slot will be stretched to cover. The first number is the across position of the top left corner, the second is the down position to the top left corner. The third is the across position of the bottom right corner, the fourth is the down position of the bottom right corner.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2003, 08:14 AM
Post: #21
 
Expanding on Mark's post, SkinText=1 forces the plugin to use an image file for the numbers instead of standard fonts. To use this, you also have to define the digits file (i.e. digits=digits.png) in the [general] section of the skin. They don't necesarily have to be tiny (as the defaults tend to be), they can be any size. The image must be a single row of numbers and symbols, all with the same width and height, using the format "0123456789+-." The plugin takes the width of the image and divides it by 13 (the number of characters required) to determine the width of the individual digits. The height is taken from the height of the image. The advantage of this method: platform independant appearance, greater control of margin sizes surrounding font, and easier to read fonts at very small sizes. (Yes, the defaults, particularly in the 3 lines inside 22 pixels versions, are hard to read, but if you use a standard font in those configurations they are completely illegible). Fixed width also make it easier to determine how big the dataslot's rectangle needs to be. Drawbacks: slightly bigger resource impact, more time to develop skin, more difficult to change font.
Find all posts by this user
Quote this message in a reply
02-21-2003, 03:09 PM
Post: #22
 
Quote:mark76uk -
rect = 0 0 68 13
This is the rectangular area which the text in that slot will be stretched to cover. The first number is the across position of the top left corner, the second is the down position to the top left corner. The third is the across position of the bottom right corner, the fourth is the down position of the bottom right corner.
Thanks Mark, your description was perfect. I hope that someone will tell us what LabelType = short and LabelRect = 0 0 10 10 means.
In the meantime, I've changed the appearance of Weather Monitor to look like the following -

[Image: Weather%20Monitor.jpg]
When you click on the sun and cloud icon in the Taskbar, the Weather Monitor screen comes up. Smile

Wish there was a way to automatically change the icons with a sun in it to a moon depending on the time of day. It sure looks dumb showing an icon with the sun in it at night time. ??? Any ideas out there?

BTW - Thanks for the info on the digits.png, shapeshifter. I tried it but I believe that you have to use a font in which every digit has the same size like Courier. It doesn't work with Arial or Verdana.
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2003, 03:25 PM
Post: #23
 
Quote:Thanks Mark, your description was perfect. I hope that someone will tell us what LabelType = short and LabelRect = 0 0 10 10 means.
LabelType and LabelRect are for future releases to make display like:
Code:
Humidity:  85%
Sunrise:    7:10 AM EST
Sunset:     7:10 PM EST

Label text will be defined in the provider file.

Quote:Wish there was a way to automatically change the icons with a sun in it to a moon depending on the time of day. It sure looks dumb showing an icon with the sun in it at night time. Any ideas out there?
This feature will be released in the next version of WM.

Quote:I tried it but I believe that you have to use a font in which every digit has the same size like Courier. It doesn't work with Arial or Verdana.
Why not? You only need to center every symbol inside its rectangle in digits.png. And more over you can add special effects like shadow, glow etc.

The TORDEX Team
http://www.tordex.com
Visit this user's website Find all posts by this user
Quote this message in a reply
02-21-2003, 04:44 PM
Post: #24
 
Thanks for the info, Yuri. You covered all the bases with my wants and questions with Weather Monitor. The next release should be great! Big Grin
Visit this user's website Find all posts by this user
Quote this message in a reply
02-28-2003, 04:52 PM
Post: #25
 
Yuri,

Would it be possible for future versions of Weather Monitor to be able to show more than one weather icon or other icons? Presently, we have to seam together a number of Weather Monitors to do so as I did for the seven day forecast. It would be much easy for the user to include the info in one Weather Monitor in the Providers .ini and Skin .ini files.
Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)