NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 19 20 21 22 23 … 93 Next »
Changing skin font or colour

 
  • 0 Vote(s) - 0 Average
Changing skin font or colour
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#1
2010-07-15, 11:04 PM
Can a plugin direct NPVR to use a different named font or colour for an element than than the default defined by the skin? Using @is values to do this is cumbersome and I figure I must be missing something.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2010-07-15, 11:14 PM
No currently, but I can add something in the next build for you.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#3
2010-07-15, 11:25 PM
Perfect, something like

args["@Color"]="Test"; //just colour
args["@Font"]="DefaultReverseBlue"; //whole font

from the current skin or global.xml would meet most needs

Martin
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#4
2010-07-15, 11:30 PM
As a skinner I'm not sure if I'm keen on this, what control are we going to have over these selections, particularly the font selection but even having the plugin deciding what colour to display would not be something I want?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#5
2010-07-15, 11:42 PM
Why Jaggy? I would not be calling the colour/font directly, I would be calling the colour/font that you set up on the skin.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2010-07-15, 11:44 PM
But each skin can have different named colors/fonts. Which would mean if you do this, you need to program specifically for every skin which could get more complicated than using @is values.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#7
2010-07-15, 11:48 PM
I did say.....

Jaggy Wrote:what control are we going to have over these selections

& after posting wondered if I was interpreting the request wrongly. I don't have a problem as long as we still have control of the fonts & colours within the skin, one of the most frustrating things about skinning is not having some control over how some items are displayed.
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#8
2010-07-15, 11:50 PM
whurlston Wrote:But each skin can have different named colors/fonts. Which would mean if you do this, you need to program specifically for every skin which could get more complicated than using @is values.

Unless it was done like sub had in the old TV Guide where there were special case fonts & colours for these items???????
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#9
2010-07-16, 12:10 AM
I'm open to suggestions. What I am now doing is using the SchedulesDirect /WMC values in the unique_id field to colour code "EP", "SH", "SP" and "MV" records with

Code:
        <Text text="@Title" visible="@isSports" location="11,0" size="60,100" font="DefaultReverseR" align="Left" valign="Left"/>
        <Text text="@Title" visible="@isMovie" location="11,0" size="60,100" font="DefaultReverseY" align="Left" valign="Left"/>
        <Text text="@Title" visible="@isShow" location="11,0" size="60,100" font="DefaultReverseG" align="Left" valign="Left"/>
        <Text text="@Title" visible="@isEpi" location="11,0" size="60,100" font="DefaultReverse" align="Left" valign="Left"/>

To then add an @isItem or @isFolder makes it unmanageable, and that is with only four choices.

Martin
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#10
2010-07-16, 12:24 AM
That looks like a good case to have available to use special case fonts & colours I mentioned above like the old TVGuide

Code:
    <NamedColors>            
        <NamedColor name="NormalListing" color="Vertical:#000044-#000077"/>
        <NamedColor name="ReminderListing" color="Horizontal:#000022-#000088"/>
        <NamedColor name="ScheduledListing" color="Horizontal:#220000-#880000"/>                                
        <NamedColor name="SelectedListing" color="Horizontal:#002200-#008800"/>        
        <NamedColor name="SelectedReminderListing" color="Horizontal:#000044-#0000BB"/>
        <NamedColor name="SelectedScheduledListing" color="Horizontal:#440000-#BB0000"/>
        <NamedColor name="ConflictListing" color="Horizontal:#442200-#AA5533"/>        
        <NamedColor name="SelectedConflictListing" color="Horizontal:#664422-#CC8844"/>
    <\NamedColors>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Skin help (correct location?) SFX Group 4 3,882 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,347 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,275 2014-11-26, 07:28 PM
Last Post: Vitenka
  Changing the recording priority on recurring recordings cbgifford 4 3,808 2014-08-17, 03:13 PM
Last Post: Kiwi
  Skin element Details in NowNext Jaggy 2 1,792 2011-09-19, 11:50 PM
Last Post: Jaggy
  Changing recording schedules on the fly. mvallevand 2 1,919 2011-09-06, 03:30 AM
Last Post: BrettB
  Skin Help with Line Drawing Northpole 2 1,917 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 5,036 2011-07-10, 04:13 PM
Last Post: mvallevand
  Skin help needed for EventDetails.xml bgowland 7 3,323 2011-06-26, 11:55 PM
Last Post: Jaggy
  A list of changing images McBainUK 1 1,859 2011-06-21, 04:36 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode