NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 11 12 13 14 15 … 93 Next »
@buttonCount

 
  • 0 Vote(s) - 0 Average
@buttonCount
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,445
Threads: 963
Joined: May 2006
#1
2012-01-24, 10:35 PM
I notice that the EventDetails.xml popup uses a visible method I don't understand

Code:
        <Image source="@previewImage" visible="@buttonCount=4" location="12.5,44.5" size="15,32" fixedAspectRatio="true" />        
        <Image source="@previewImage" visible="@buttonCount=5" location="12.5,49.0" size="15,29.5" fixedAspectRatio="true" />        
        <Image source="@previewImage" visible="@buttonCount=6" location="12.5,54.0" size="15,24" fixedAspectRatio="true" />

How you set @buttonCount?

I've tried

args["@buttonCount=5"] = false;
args["@buttonCount=6"] = false;
args["@buttonCount] = 4;

But they all seem to return visible=true

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,945
Threads: 770
Joined: Nov 2003
#2
2012-01-25, 01:12 AM
That type of visible condition is a string comparison, so args["@buttonCount"] = "4";

Do you have a plugin that uses EventDetails.xml? I didnt intend plugins to depend on these skin files, because I could change them at any time.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,445
Threads: 963
Joined: May 2006
#3
2012-01-25, 01:25 AM
Thanks that did it. SearchLite does use your EventDetails & Schedule Recording skins, I did this to make it easier for skinners but I do understand the risks. Unfortunately I missed this last minute change. I am not too worried I can always fall back to the previous version. EventDetails can be quite complicated with (Jaggy adding many of the new EPG fields for JustRetro), and I don't want skinner to have to duplicate to much work,

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,445
Threads: 963
Joined: May 2006
#4
2012-01-25, 02:01 AM
I should mention that was a cool solution to this problem.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,945
Threads: 770
Joined: Nov 2003
#5
2012-01-25, 02:25 AM
Thanks Big Grin

I wasnt initially sure what to do about it, but I was happy with this solution.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode