Weather Plugin Skin Question
Started by jgallen


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


40 posts in this topic
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
06-13-2003, 04:59 AM -
#37
There are 2 ways I can think of to drop the direction and mph. The first and easiest is to change the provider file so that it parses only the speed. To do this, change this section in the provider file:

[CustomParam10]
name = Wind
find0 = "<!--MORE CC-->"
find1 = "Wind"
find2 = "=2>"
delim = "<"

To look like this (changes in bold):

[CustomParam10]
name = Wind
find0 = "<!--MORE CC-->"
find1 = "Wind"
find2 = "=2>"
find3 = " "
delim = " "


Note that there is one single space between both sets of quotes. This will remove the direction (WSW) and units (mph) from the wind variable.

The second way to accomplish this (and the reason default 16 doesn't show direction or units and full 32 does) is to use a text skin. This is a png image that contains all the numbers and special characters the plugin needs to display the values. It does not, however, contain any text. The exceptions to this are the various units of measurement which are stored in seperate png images. (If you don't want them displayed, you can simply delete the images, or set "ShowUnits = 0" in the appropriate data slot in the skin.ini file.) Since the skin contains no letters, the plugin doesn't "know" how to display text like "WSW", so it is ignored. The fact that default 16 uses a text skin also explains why you can't resize the text, while you can on full 32, which uses standard text.

If you'd like a skin to go with 16x16 icons that you can actually read, I just uploaded the Clear 16 skins to the skin library. Andy also modified the single slot version to use white text for taskbars with dark backgrounds.

Hope this helps you. Let us know if you have other questions.


Messages In This Thread
[No subject] - by jgallen - 04-09-2003, 08:04 PM
[No subject] - by shapeshifter - 04-10-2003, 04:04 PM
[No subject] - by jgallen - 04-10-2003, 11:31 PM
[No subject] - by jgallen - 04-10-2003, 11:45 PM
[No subject] - by jgallen - 04-10-2003, 11:56 PM
[No subject] - by shapeshifter - 04-11-2003, 08:06 AM
[No subject] - by jgallen - 04-11-2003, 08:36 AM
[No subject] - by jgallen - 04-11-2003, 08:37 AM
[No subject] - by shapeshifter - 04-11-2003, 03:59 PM
[No subject] - by jgallen - 04-11-2003, 05:38 PM
[No subject] - by jgallen - 04-11-2003, 05:55 PM
[No subject] - by shapeshifter - 04-11-2003, 06:08 PM
[No subject] - by shapeshifter - 04-11-2003, 06:10 PM
[No subject] - by Q Section - 04-13-2003, 03:43 PM
[No subject] - by katoaristera - 04-13-2003, 08:14 PM
[No subject] - by shapeshifter - 04-14-2003, 05:14 PM
[No subject] - by jgallen - 05-09-2003, 09:08 AM
[No subject] - by shapeshifter - 05-09-2003, 01:48 PM
[No subject] - by bbfi - 05-09-2003, 02:04 PM
[No subject] - by shapeshifter - 05-09-2003, 02:31 PM
[No subject] - by jgallen - 05-09-2003, 03:10 PM
[No subject] - by Yuri Kobets - 05-09-2003, 03:12 PM
[No subject] - by jgallen - 05-26-2003, 07:20 PM
[No subject] - by shapeshifter - 05-27-2003, 07:06 AM
[No subject] - by jgallen - 05-28-2003, 09:21 PM
[No subject] - by jgallen - 05-28-2003, 09:43 PM
[No subject] - by jgallen - 05-28-2003, 10:01 PM
[No subject] - by Q Section - 05-29-2003, 06:10 PM
[No subject] - by shapeshifter - 05-29-2003, 07:24 PM
[No subject] - by jgallen - 05-30-2003, 06:14 AM
[No subject] - by shapeshifter - 05-30-2003, 09:54 AM
[No subject] - by jgallen - 06-01-2003, 08:34 PM
[No subject] - by jgallen - 06-01-2003, 08:35 PM
[No subject] - by jgallen - 06-01-2003, 08:39 PM
[No subject] - by Guest - 06-13-2003, 12:54 AM
[No subject] - by Guest - 06-13-2003, 02:36 AM
[No subject] - by shapeshifter - 06-13-2003, 04:59 AM
[No subject] - by Guest - 06-13-2003, 11:30 AM
[No subject] - by Guest - 09-25-2003, 06:13 AM
[No subject] - by shapeshifter - 09-25-2003, 11:18 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)