NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 39 40 41 42 43 … 93 Next »
Probably silly skining problem...

 
  • 0 Vote(s) - 0 Average
Probably silly skining problem...
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#1
2007-09-27, 01:37 AM
BTW The trouble's really about to start... your man's started looking at skinning :eek:

I'm trying to refer to a NamedColour defined in the (Blue) baseskin such as
Quote:<NamedColor name="ListSelected" color="#4500FF00"/>
in a plugin skin as in
Quote:<DrawRoundedRect loc="4,5" size="217,22" radius="7" borderWidth="4" borderColor="White" fillColor="??????"/>
but I can't figure out the syntax needed to assign the NamedColour to the fillcolor - sorry, must be getting too old...:o

Although, on the plus side, I did figure out 'transparent' Smile
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2007-09-27, 10:34 AM
In some places you have to use a real colour rather than a NamedColor. This is because the NamedColor supports gradients etc, which arent usable in all places.

A real colour is either one of the Microsoft constants, like Black, White, Blue, Salmon etc, or a #RRGGBB or #AARRGGBB constant. So, fillColor="#4500FF00"
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#3
2007-09-27, 10:48 AM
OK - but suppose you know that the BaseSkin NamedColor is an #AARRGGBB colour, could I refer to it in another skin?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#4
2007-09-27, 10:57 AM
Only in those places where you can take a named colour (which is most places). I'm not in front of my development PC so I cant check the specific example above to see if it supports named colours, but if it did, then you'd just do fillColor="ListSelected".
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#5
2007-09-27, 08:06 PM
Thanks for that... Looks like I've got more reading to do with this project... Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  webapi and silly cross site scripting stuff reven 6 3,069 2014-01-20, 03:06 AM
Last Post: reven
  Problem with preview image for Pending Recordings Northpole 2 1,995 2012-08-14, 02:56 AM
Last Post: Northpole
  ActivatePopup: SSPlus problem ACTCMS 10 4,776 2012-07-18, 09:43 PM
Last Post: ACTCMS
  Weird Code problem - serialisation (I'll spell it the proper way!!"0 psycik 22 6,152 2011-11-25, 03:16 AM
Last Post: whurlston
  Resolving required plugin assemblies problem McBainUK 37 12,043 2011-10-26, 06:12 PM
Last Post: psycik
  Problem using UIStatic philcooling 13 4,393 2010-02-12, 06:34 PM
Last Post: whurlston
  IVideoPlugin Problem SummerTimeBlues 9 3,895 2009-07-31, 04:02 AM
Last Post: sgilani
  Vista problem loading MovieWizManager.exe? JavaWiz 5 2,675 2008-06-05, 06:23 AM
Last Post: whurlston
  Missing assembly problem... bgowland 16 4,612 2008-01-10, 06:43 PM
Last Post: bgowland
  Videoarchive Problem mpatriche 28 7,305 2007-04-09, 04:30 PM
Last Post: mpatriche

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

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

Linear Mode
Threaded Mode