NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 50 51 52 53 54 … 93 Next »
Community Skin named colors.

 
  • 0 Vote(s) - 0 Average
Community Skin named colors.
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#1
2006-09-13, 04:35 PM
Here is a list of what is going on in the baseskin.xml file for named colors.

This section is what is used currently by the Community skin and by blue.
Code:
<NamedColors>
    <!--TV Guide Colors, Do NOT use vertical gradients  -->
<NamedColor name="NormalListing" color="Transparent"/>
<NamedColor name="ScheduledListing" color="Horizontal:#990000-#AA0000"/>
<NamedColor name="SelectedListing" color="#009900"/>
<NamedColor name="SelectedScheduledListing" color="Horizontal:#440000-#BB0000"/>
<NamedColor name="ConflictListing" color="Horizontal:#442200-#AA5533"/>        
<NamedColor name="SelectedConflictListing" color="Horizontal:#664422-#CC8844"/>
    <!-- the surrounds must be solid colours for now -->
<NamedColor name="ListingSurround" color="#0F59B2"/>
<NamedColor name="ChannelIconSurround" color="Transparent"/>
<NamedColor name="ChannelNameRectangle" color="Transparent"/>
<NamedColor name="SelectedListingSurround" color="Transparent"/>    

    <!-- System plugin disk drive pie chart -->    
<NamedColor name="TotalDiskSpace" color="#660000" />
<NamedColor name="FreeDiskSpace" color="#006600" />
        
    <!-- ListView Selection Background Color styles, no longer used by 'Blue', but used by plugins -->
<NamedColor name="Selection" color="Blue" />

These are new values used by blue, for xml colors
Code:
<!-- standard selection highlight colours -->
<NamedColor name="StandardSelectionBackground" color="Blue" />    
    <!-- standard popup colours -->
<NamedColor name="PopupBackground" color="Black" />
<NamedColor name="PopupBorder" color="White" />
    <!-- standard list colours -->
<NamedColor name="ListBackground" color="Black" />
<NamedColor name="ListBorder" color="LightGray" />
</NamedColors>


This is new stuff to play with and consider.
Code:
<!-- standard font colours -->
<NamedColor name="ButtonNormal" color="LightGray" />
<NamedColor name="ButtonSelected" color="LightGray" />

<NamedColor name="ListViewActive" color="LightBlue" />
<NamedColor name="ListViewNormal" color="LightGray" />
<NamedColor name="ListViewSelected" color="Yellow" />
        
<NamedColor name="BackgroundText" color="LightGray" />
<NamedColor name="BackgroundTag" color="Yellow" />
        
<NamedColor name="PopupText" color="LightGray" />
<NamedColor name="PopupTag" color="Yellow" />
        
<NamedColor name="ListText" color="LightGray" />
<NamedColor name="ListTag" color="Yellow" />
        
<NamedColor name="[B]ScreenText[/B]" color="LightGray" />
<NamedColor name="ScreenTag" color="Yellow" />
        
<NamedColor name="TitleText" color="#a2c9f1" />
<NamedColor name="TitleTag" color="Yellow" />
    <!--For use with DrawTextWithOutline-->
<NamedColor name="GeneralOutline" color="Black" />
<NamedColor name="NormalOutline" color="Transparent" />
<NamedColor name="SelectedOutline" color="Black" />

The thought process here is that the textstyles will used NamedColor values like :
Code:
<TextStyle name="ScreenText" [B]color="ScreenText[/B]" typeFace="Arial" size="13" style="bold" />
<TextStyle name="ScreenTextLarge" [B]color="ScreenText[/B]" typeFace="Arial" size="16" style="bold" />

Changing a named color will effect those two textstyles. Also, if a plugin desired to use a custom sized or named "ScreenText" element, they could do this to keep the same look.

Code:
<TextStyle name="Temperature" [B]color="ScreenText[/B]" typeFace="Arial" size="20" style="bold" />

It is not possible yet to "pass along" a 'typeFace' or 'style' value. (At least that I am aware of)
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#2
2006-09-14, 07:20 AM
This all looks OK. Its a good way of getting round the problem with Hardcoded textstyles - still able to use the correct colors which will keep the aim of readability/contrast.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#3
2006-09-14, 07:21 AM
Shouldnt take much to implement too, all thats needed is to edit baseskin.xml and take the colours out of the common textstyles.
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#4
2006-09-14, 11:00 AM
Will be in the next baseskin.xml released.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Skin help (correct location?) SFX Group 4 3,831 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,307 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,230 2014-11-26, 07:28 PM
Last Post: Vitenka
  Skin element Details in NowNext Jaggy 2 1,772 2011-09-19, 11:50 PM
Last Post: Jaggy
  Skin Help with Line Drawing Northpole 2 1,880 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 4,926 2011-07-10, 04:13 PM
Last Post: mvallevand
  Skin help needed for EventDetails.xml bgowland 7 3,253 2011-06-26, 11:55 PM
Last Post: Jaggy
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,813 2011-02-17, 08:46 AM
Last Post: McBainUK
  List of Skin Elements ACTCMS 7 3,084 2010-12-22, 12:06 AM
Last Post: ACTCMS
  Supress Date display in NPVR skin Northpole 13 4,057 2010-10-02, 08:19 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