NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 1199 1200 1201 1202 1203 … 1231 Next »
New skin available for download

 
  • 0 Vote(s) - 0 Average
New skin available for download
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#1
2004-04-08, 10:42 PM
I've just upload gplasky's new skin for GB-PVR. You can download it form the skins page http://www.gbpvr.com/skins.htm



[Image: preview-mcelike.jpg]


Thanks Gerry!
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#2
2004-04-09, 02:00 AM
Looks good.  But no 'Weather' button shows up.  There is no weather subdirectory for mce_like.  I copied the weather subdir from the blue skin into mce_like and the button does show up (with a different look of course) but gb-pvr crashes when I select that weather button.

Also, the instructions on the skins download page says to extract to the gbpvr subdir, when actually you have to extract to the gbpvr/skin directory.

Keep up the good work.  The more skins the better [Image: smile.gif]
-CodeMonkey
gplasky
Offline

Member

Posts: 77
Threads: 3
Joined: Jan 2004
#3
2004-04-09, 11:07 AM
Looks like some of the stuff for weather is hard coded in the plugin. Because I can't assign a graphic to show up when you go to the weather button I keep getting an exception. The weather module doesn't use an xml file to define any screen elements. I'll have to get some help fom sub on this.

Gerry
Big Gerr
TypQxQ
Offline

Junior Member

Posts: 36
Threads: 9
Joined: Apr 2004
#4
2004-04-09, 12:10 PM
The problem is in getTaskImage().
There are two getSkinSubdirectory() so the path becomes:
.\skin\MCE like\weatherweather\task.png

/Andrei
/Q
TypQxQ
Offline

Junior Member

Posts: 36
Threads: 9
Joined: Apr 2004
#5
2004-04-09, 12:25 PM
I would recomend a public shared function like this:

private static string skinRoot = PluginHelperFactory.getPluginHelper().GetSkinRootDirectory();
private static string skinDefaultRoot = PluginHelperFactory.getPluginHelper().GetDefaultSkinRootDirectory();
public Image getSkinedImage(string imageName, string skinSubDirectory)
{
if (System.IO.File.Exists(skinRoot + skinSubDirectory + "\\" + imageName))
return Image.FromFile(skinRoot + skinSubDirectory + "\\" + imageName);
else if (System.IO.File.Exists(skinDefaultRoot + skinSubDirectory + "\\" + imageName))
return Image.FromFile(skinDefaultRoot + skinSubDirectory + "\\" + imageName);
else
return new Bitmap(1,1);
}
/Q
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#6
2004-04-09, 05:58 PM
Yes, I was thinking of exactly that. If you can think of any other useful plugin functions just let me know.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#7
2004-04-09, 06:43 PM
[b Wrote:Quote[/b] (TypQxQ @ April 09 2004,07:25)]I would recomend a public shared function like this:

private static string skinRoot = PluginHelperFactory.getPluginHelper().GetSkinRootDirectory();
private static string skinDefaultRoot = PluginHelperFactory.getPluginHelper().GetDefaultSkinRootDirectory();
public Image getSkinedImage(string imageName, string skinSubDirectory)
{
if (System.IO.File.Exists(skinRoot + skinSubDirectory + "\\" + imageName))
return Image.FromFile(skinRoot + skinSubDirectory + "\\" + imageName);
else if (System.IO.File.Exists(skinDefaultRoot + skinSubDirectory + "\\" + imageName))
return Image.FromFile(skinDefaultRoot + skinSubDirectory + "\\" + imageName);
else
return new Bitmap(1,1);
}
Yeah, that way it will go grab the default if the selected skin doesn't have a directory for a plugin.
-CodeMonkey
gplasky
Offline

Member

Posts: 77
Threads: 3
Joined: Jan 2004
#8
2004-04-09, 07:39 PM
So if this change is made this will work with a icon called task.png in the skins\weather directory?

Gerry
Big Gerr
mamema
Offline

Junior Member

Posts: 40
Threads: 6
Joined: Mar 2004
#9
2004-04-09, 07:48 PM
@gplasky

have you used a special tool to create the buttons or did you made it manually?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,759
Threads: 769
Joined: Nov 2003
#10
2004-04-09, 08:17 PM
Gerry, there was a bug with the weather plugin that was looking for the task image in "skin\MCE Like\WeatherWeather". I've corrected this for the next release.

I've also started making some changes to make the skinning more flexible. If anyone has suggestions, now is a good time to let me know [Image: biggrin.gif]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Last version of GBPVR download? matthrolf 8 6,499 2011-11-16, 09:22 AM
Last Post: MixMan
  Zehd's Video Library Slick Skin Snooze 0 2,238 2011-09-03, 01:09 AM
Last Post: Snooze
  Latest PVRX2 Download? Flyndr 2 2,523 2011-06-11, 12:58 PM
Last Post: Flyndr
  1.4.7 download donschjr 2 2,270 2010-06-14, 02:25 PM
Last Post: donschjr
  FTG folder in the default blue Skin McBainUK 2 1,664 2010-02-10, 03:59 PM
Last Post: McBainUK
  NMT displaying skin Jaggy 20 5,803 2009-12-28, 11:43 PM
Last Post: mvallevand
  Slick skin background isnt the same spotty 2 1,292 2009-11-15, 02:57 PM
Last Post: Pob
  Very big skin on PCH A110 rameijn 1 1,329 2009-11-07, 07:15 PM
Last Post: mvallevand
  Settings menu change skin Jaggy 6 2,293 2009-09-13, 03:00 AM
Last Post: johnsonx42
  Slick skin photo's Pob 4 2,233 2009-09-06, 02:41 PM
Last Post: pBS

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode