NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 53 54 55 56 57 … 93 Next »
Community skin project

 
  • 0 Vote(s) - 0 Average
Community skin project
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#121
2006-07-17, 05:09 PM
I'll stand by my post, let the community identify our starting point, one screen at a time. We create two xml files, one devoid of graphics, the other with graphics for Blue.

Sassari is too new. Also, converting it from 16:9 to 4:3 is another task that may lead to problems. We don't need another task at this time.

KISS!

Regards,
Old Dog
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#122
2006-07-17, 05:22 PM
daphatty Wrote:**DaPhatty Chimes In**

I nominate Contour as the 4:3 standard and Sassari as the 16:9 standard. Big Grin

I have never used Contour myself. Indeed I have only spent a few minutes looking at it. I do know that many people from the community contributed to it's implementation and that it gets rave reviews for viewing ability.

I will be surprised if several plug-in and core xml files from Contour are not selected by the community as best implementation.

realize of course that no matter what skin the screen comes from originally, we will create a Blue "look" for it.

Regards,
Old Dog
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#123
2006-07-17, 05:35 PM
What skin has the best core TV Guide layout in terms of usability?

(not necessarily the prettiest)
Learning new tricks!
Visit Plain Jane's Collection
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#124
2006-07-17, 05:48 PM
I'm pretty happy with MixMan's BaseSkin layout. He's done a lot of work to make sure things are appropriately sized for non-english speaking friend. Some of those European translation are pretty long.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#125
2006-07-17, 05:57 PM
You guys might not want to press ahead too far before the next release. I'm adding a few skinning features to improve things. They're only really additional tools, but I can see them playing a useful role. Some of these that have popped to mind in recent days...

1/ standard fonts, allowing TextStyles to be defined without a font family specified, or another TextStyle to be specified to extract this info from. For example, a plugin requires a specific TextStyle defined called "StationName". In it's skin.xml, it may then refer to some standard font for its type face and font style, which is defined base skin.xml.

2/ colour that reference other colours. Each plugin's skin.xml usually contains many tags that directly specify colours. I'll add a mechanism which allows these to reference some other colour defined in baseskin.xml. For example, your could add a colour called 'ScreenTitle' which is refered to by the DrawText "Screen Title" element in each plugin. Another example might be, changing the bulk of TextStyle elements to all reference some newly defined 'StandardTextColour' in baseskin.xml, allowing all the text colours in all the screens to be changed in one place. Same could be done with selection colours - a specific skin.xml might draw a list selection using a RoundedRect with the colour referencing some base skin 'StandardListSelectionBackground' colour.

3/ CompositeImage can draw another CompositeImage. If you have common elements like a file selection list that might occur on half a dozen screens, you could define this in the BaseSkin.xml and have the specific skin.xml files just to a <DrawCompositeImage> for this common element. The implementation in BaseSkin.xml might use <DrawImage> or <DrawRoundRect> or whatever.

You might need to use your imagination a bit to see the full extent of how these will be used.

These changes will make it much easier to standardize fonts/colours/images in the BaseSkin.xml, and can conveniently added to existing plugins with their authors needing to make changes.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,953
Threads: 770
Joined: Nov 2003
#126
2006-07-17, 06:01 PM
I would like a new user defining their own skin to only have to a couple of simple tasks along the lines of:

1) Create new skin directory with the name of their skin.
2) Copy the BaseSkin.xml and preview.jpg from the standard skin into their new directory.
3) Create a new Background.jpg for the background they'd like to use
4) Edit BaseSkin.xml to customise the look of the buttons (may be images or XML), and to set the colours and fonts they'd like to be used.
5) Start the application and update the preview.jpg to what their skin really looks like

From then on, they would not need to maintain that skin, even as future versions of plugins are made etc.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#127
2006-07-17, 06:13 PM (This post was last modified: 2006-07-17, 06:19 PM by McBainUK.)
sub Wrote:I'm adding a few skinning features to improve things.
WOW, this stuff looks great. Can't wait to start playing Smile.

Edit:
sub Wrote:3/ CompositeImage can draw another CompositeImage. If you have common elements like a file selection list that might occur on half a dozen screens, you could define this in the BaseSkin.xml and have the specific skin.xml files just to a <DrawCompositeImage> for this common element. The implementation in BaseSkin.xml might use <DrawImage> or <DrawRoundRect> or whatever.
Would the BaseSkin.xml <DrawImage> do scalling? For example if you had a 400,300 "FileList" element defined in BaseSkin.xml, would a <DrawImage name="FileList" size=300,100> in a plugin skin.xml draw the FileList element the scaled to fit 300,100 ?
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#128
2006-07-17, 06:24 PM
sub Wrote:You guys might not want to press ahead too far before the next release. I'm adding a few skinning features to improve things. They're only really additional tools, but I can see them playing a useful role. Some of these that have popped to mind in recent days...

1/ standard fonts, allowing TextStyles to be defined without a font family specified, or another TextStyle to be specified to extract this info from. For example, a plugin requires a specific TextStyle defined called "StationName". In it's skin.xml, it may then refer to some standard font for its type face and font style, which is defined base skin.xml.

2/ colour that reference other colours. Each plugin's skin.xml usually contains many tags that directly specify colours. I'll add a mechanism which allows these to reference some other colour defined in baseskin.xml. For example, your could add a colour called 'ScreenTitle' which is refered to by the DrawText "Screen Title" element in each plugin. Another example might be, changing the bulk of TextStyle elements to all reference some newly defined 'StandardTextColour' in baseskin.xml, allowing all the text colours in all the screens to be changed in one place. Same could be done with selection colours - a specific skin.xml might draw a list selection using a RoundedRect with the colour referencing some base skin 'StandardListSelectionBackground' colour.

3/ CompositeImage can draw another CompositeImage. If you have common elements like a file selection list that might occur on half a dozen screens, you could define this in the BaseSkin.xml and have the specific skin.xml files just to a <DrawCompositeImage> for this common element. The implementation in BaseSkin.xml might use <DrawImage> or <DrawRoundRect> or whatever.

You might need to use your imagination a bit to see the full extent of how these will be used.

These changes will make it much easier to standardize fonts/colours/images in the BaseSkin.xml, and can conveniently added to existing plugins with their authors needing to make changes.

You might consider an Alias directive for 1 & 2.

Examples:
<Alias name="BigFont" alias=MyScreenFont">
<Alias name="Blue" alias="MyScreenFontColor">
Learning new tricks!
Visit Plain Jane's Collection
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#129
2006-07-17, 06:26 PM
sub Wrote:I would like a new user defining their own skin to only have to a couple of simple tasks along the lines of:

1) Create new skin directory with the name of their skin.
2) Copy the BaseSkin.xml and preview.jpg from the standard skin into their new directory.
3) Create a new Background.jpg for the background they'd like to use
4) Edit BaseSkin.xml to customise the look of the buttons (may be images or XML), and to set the colours and fonts they'd like to be used.
5) Start the application and update the preview.jpg to what their skin really looks like

From then on, they would not need to maintain that skin, even as future versions of plugins are made etc.

Sounds great.

Having baseskin.xml handle "what things look like" seemed to be the key. It looks like your explanations go even further than this by having some sort of "lookup" and "grouping" method.

This may very well solve Reboot's Riddle..........
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]
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#130
2006-07-17, 06:33 PM
McBainUK Wrote:WOW, this stuff looks great. Can't wait to start playing Smile.

Edit:

Would the BaseSkin.xml <DrawImage> do scalling? For example if you had a 400,300 "FileList" element defined in BaseSkin.xml, would a <DrawImage name="FileList" size=300,100> in a plugin skin.xml draw the FileList element the scaled to fit 300,100 ?

With respect to scaling, I think it would be useful if you could specify in drawimage if the image should be stretched/squished to fill the specified size or if it should be done while maintaining the aspect ratio. Right now it fills the specified size, but some images (like task images) area not the same in all skins and look very bad when stretched too far. In this case I think it would be better if the skin could specify to maintain the aspect ration and the then to specify the alignment of the image withone the alloated space (e.g., left, right, centered).

Jeff
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (15): « Previous 1 … 11 12 13 14 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,797 2022-11-20, 04:28 PM
Last Post: mvallevand
  Skin help (correct location?) SFX Group 4 4,150 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,523 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,594 2014-11-26, 07:28 PM
Last Post: Vitenka
  Skin element Details in NowNext Jaggy 2 1,985 2011-09-19, 11:50 PM
Last Post: Jaggy
  Skin Help with Line Drawing Northpole 2 2,118 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 5,524 2011-07-10, 04:13 PM
Last Post: mvallevand
  Skin help needed for EventDetails.xml bgowland 7 3,737 2011-06-26, 11:55 PM
Last Post: Jaggy
  Skin question - how to centre a list UiList control on screen? McBainUK 2 2,063 2011-02-17, 08:46 AM
Last Post: McBainUK
  List of Skin Elements ACTCMS 7 3,547 2010-12-22, 12:06 AM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode