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) v
1 2 3 4 5 … 125 Next »
Search Skin Problem

 
  • 0 Vote(s) - 0 Average
Search Skin Problem
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#1
2011-07-09, 07:32 PM (This post was last modified: 2011-07-09, 07:52 PM by Northpole.)
I'm trying to put together a skin for the new search screen and am having trouble with the @controlSelected option.

Here is a simple skin that I've used for this example:

Code:
<Skin>
<Element name="FirstLetterListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="FirstLetterListItemNormal" location="4,5" size="5,5" alpha="255" alphaFade="true">
<Text text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
</Element>

<Element name="FirstLetterListItemSelected" location="4,5" size="5,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
</Element>


<Element name="ShowNameListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="ShowNameListItemNormal" location="10,5" size="45,5" alpha="255" alphaFade="true">
<Text text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowNameListItemSelected" location="10,5" size="45,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>


<Element name="ShowTimeListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="ShowTimeListItemNormal" location="56,5" size="42,5" alpha="255" alphaFade="true">
<Text text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowTimeListItemSelected" location="56,5" size="42,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>

<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowTimeListSelectionMetaData" location="0,0" size="100,100" alpha="255">
<Text text="@title" location="5,60" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@period" location="5,65" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@subtitle" location="5,70" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@channel" location="5,75" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@description" location="5,80" size="90,15" font="Default" align="Left" wrap="true"/>
</Element>
</Skin>

What should happen when I tab between the 3 different columns of the "First letter", "Show Title" and "Show Time" is that the unselected columns should be all green. Unfortunately, only about the last 2/3 of each of the unselected columns are green, the rest has no coloring at all.

Attached is some screen shots and the zipped skin.

Thanks.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#2
2011-07-09, 08:47 PM
You probably would have been better to post this in the Developers forum to make sure sub saw it....

There is defiantly something funny/odd going on with the visible="@controlSelected" & visible="@controlNotSelected" options in the Search skin as I had problems with them as well for my skin (even though I just left them in there).
I also found the "Element name="ButtonList"" also has to be in the Search skin & it doesn't revert back to the one in global.xml if it is remmed out it just crashes.
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#3
2011-07-09, 09:15 PM
Jaggy Wrote:You probably would have been better to post this in the Developers forum to make sure sub saw it....

There is defiantly something funny/odd going on with the visible="@controlSelected" & visible="@controlNotSelected" options in the Search skin as I had problems with them as well for my skin (even though I just left them in there).
I also found the "Element name="ButtonList"" also has to be in the Search skin & it doesn't revert back to the one in global.xml if it is remmed out it just crashes.

Yes, I guess your probably right about the forum choice... Didn't think of that.

The button list is also good to know.

Thanks.

P.S. Glad to see you posted an update of your skin :-)
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#4
2011-07-09, 09:42 PM
FWIW, the default skin does not change color to show which column has "focus" (like it does in PVRX2). Maybe Sub has a bug in there that is affecting you.

I was going to report this on the wishlist, maybe Sub will see it here. Smile
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#5
2011-07-10, 04:33 PM
Jaggy Wrote:I also found the "Element name="ButtonList"" also has to be in the Search skin & it doesn't revert back to the one in global.xml if it is remmed out it just crashes.

I checked it out and I'm not having the same problem you are. I don't have the ButtonList element listed at all in the search skin, only in the global.xml.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#6
2011-07-10, 05:09 PM
Your right...it's working for me now as well. I know what happened for me & I really should have checked "again" before I posted about "what is now" a non existent problem.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#7
2011-07-10, 05:26 PM (This post was last modified: 2011-07-10, 05:43 PM by steeb.)
Jaggy Wrote:You probably would have been better to post this in the Developers forum to make sure sub saw it....

I can move this thread there if it helps? Steeb

[Edit] I think Martin has brought it up now anyway?[EndEdit]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#8
2011-07-10, 06:03 PM
Northpole Wrote:
Code:
<Skin>
<Element name="FirstLetterListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="FirstLetterListItemNormal" location="4,5" size="5,5" alpha="255" alphaFade="true">
<Text text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
</Element>

<Element name="FirstLetterListItemSelected" location="4,5" size="5,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@letter" location="0,0" size="100,100" font="Default" align="Center" valign="Center"/>
</Element>


<Element name="ShowNameListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="ShowNameListItemNormal" location="10,5" size="45,5" alpha="255" alphaFade="true">
<Text text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowNameListItemSelected" location="10,5" size="45,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@showName" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>


<Element name="ShowTimeListView" location="0,0" size="100,100" alpha="255" visibleRows="10"/>

<Element name="ShowTimeListItemNormal" location="56,5" size="42,5" alpha="255" alphaFade="true">
<Text text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowTimeListItemSelected" location="56,5" size="42,5" alpha="255" alphaFade="true">
<Rect visible="@controlSelected" location="0.25,0.25" size="98,96" fillColor="Blue"/>
<Text visible="@controlSelected" text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>

<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>
<Text visible="@controlNotSelected" text="@showTime" location="0,0" size="100,100" font="Default" align="Left" valign="Center"/>
</Element>

<Element name="ShowTimeListSelectionMetaData" location="0,0" size="100,100" alpha="255">
<Text text="@title" location="5,60" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@period" location="5,65" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@subtitle" location="5,70" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@channel" location="5,75" size="90,5" font="Default" align="Left" valign="Center"/>
<Text text="@description" location="5,80" size="90,15" font="Default" align="Left" wrap="true"/>
</Element>
</Skin>

What should happen when I tab between the 3 different columns of the "First letter", "Show Title" and "Show Time" is that the unselected columns should be all green. Unfortunately, only about the last 2/3 of each of the unselected columns are green, the rest has no coloring at all.
The reason this is happening is because you have lines like this:

<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>

You're telling it to start 25.5% of the way across the element.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#9
2011-07-10, 06:04 PM
Here is a slightly updated default skin, which uses a slightly darker color for the selected rows that dont have focus.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#10
2011-07-10, 06:24 PM
sub Wrote:The reason this is happening is because you have lines like this:

<Rect visible="@controlNotSelected" location="25.5,0.25" size="98,96" fillColor="Green"/>

Not you're telling it to start 25.5% of the way across the element.

I think it's time for me to go curl up in a corner somewhere & stay there.....

I should have actually "read" what he was asking & I also should have picked up that in the skin!!! :o (I wonder what other thing I was thinking about at the time I "didn't read" that original message)
« 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
  Searchlite Wishlist - Search by (favorite) channel(s) ralphy 8 18,381 2011-03-05, 02:38 AM
Last Post: mvallevand
  Vertical Menu skin question Northpole 4 3,992 2010-12-11, 05:12 PM
Last Post: Northpole
  Skin documentation dspdrew 14 7,634 2010-10-25, 07:09 AM
Last Post: Hairy
  What are your skin preferences? Hairy 22 10,223 2010-10-06, 11:36 AM
Last Post: Hairy
  Blue Skin: Recordings - Include Program Description ralphy 4 3,525 2010-05-17, 01:32 AM
Last Post: ralphy
  Slick skin pictures Pob 4 3,114 2009-12-21, 10:41 PM
Last Post: Pob
  Aeon Project skin port for GBPVR mvallevand 18 11,461 2009-10-31, 12:21 PM
Last Post: CornStopper
  Slick skin - task image tm12 3 2,889 2009-09-11, 10:09 AM
Last Post: tm12
  Updating a new skin.xml mvallevand 2 2,529 2009-09-03, 09:04 PM
Last Post: mvallevand
  Weather plugin problem yeohcl 11 5,740 2009-07-26, 04:01 AM
Last Post: Dave72

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

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

Linear Mode
Threaded Mode