NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 37 38 39 40 41 … 93 Next »
Skin Files - and Popup skin files

 
  • 0 Vote(s) - 0 Average
Skin Files - and Popup skin files
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2007-12-09, 05:58 AM
Sub two things.

If I want to access a skin subdirectory is there a new method to call to figure out which skin path we want?

The PluginHelperFactory.GetSkinRootDirectory still returns c:\program files\devnz\gbpvr\skin\blue as a path.

Is there one that will return c:\program files\devnz\gbpvr\skin2\blue?



And second, I'm going to look at using one of you popup boxes - the ManualRecordings one since it seems to be pretty generic and looks like it would be pretty easy to use.

Do you have any problems with this, and have any helper methods for calling standard popup boxes with options? Or should I just code my own.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,697
Threads: 767
Joined: Nov 2003
#2
2007-12-09, 03:16 PM
psycik Wrote:Sub two things.

If I want to access a skin subdirectory is there a new method to call to figure out which skin path we want?

The PluginHelperFactory.GetSkinRootDirectory still returns c:\program files\devnz\gbpvr\skin\blue as a path.

Is there one that will return c:\program files\devnz\gbpvr\skin2\blue?
Unfortunately I left it as is for compatibility, but in the coupld of places I need it, I do the following:

PluginHelperFactory.GetSkinRootDirectory().Replace("\\skin\\", "\\skin2\\");

I dont find I often need this though. When I create a skinHelper I do a relative path thing (skinHelper = newSkinHelper2("tvguide\\skin.xml"); ), and then access things through the skin helper (for example, skinHelper.
loadImageFromFile(...) etc).

Quote:And second, I'm going to look at using one of you popup boxes - the ManualRecordings one since it seems to be pretty generic and looks like it would be pretty easy to use.

Do you have any problems with this, and have any helper methods for calling standard popup boxes with options? Or should I just code my own.
Unfortunate these built in popups wouldnt be accessible from a plugin. Only PopupMessageBox accessible. You can derive your popup from PopupBase to give you a big chunk of what you need though (see weather plugin sample), and implement a similar look/feel to the schedule recording popups.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Loading Local Video Files Syler 25 6,529 2021-03-07, 09:20 PM
Last Post: Syler
  Skin help (correct location?) SFX Group 4 3,870 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,336 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,256 2014-11-26, 07:28 PM
Last Post: Vitenka
  sabnzbd plugin to show processed files Wakalaka 1 1,951 2013-03-12, 06:48 AM
Last Post: psycik
  Building a list of files in media folders (npvr Music and Videos) bgowland 2 1,866 2012-02-05, 10:29 AM
Last Post: bgowland
  Extracting data from XML files ACTCMS 4 2,334 2012-01-24, 12:16 AM
Last Post: sub
  Single row horizontal list in popup? cncb 4 2,176 2011-09-28, 09:48 PM
Last Post: cncb
  Skin element Details in NowNext Jaggy 2 1,781 2011-09-19, 11:50 PM
Last Post: Jaggy
  Skin Help with Line Drawing Northpole 2 1,906 2011-07-19, 05:14 PM
Last Post: Northpole

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

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

Linear Mode
Threaded Mode