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
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#101
2006-07-15, 01:12 PM
pz1 Wrote:I strongly agree this should be the leading principle.

You guys.....have a look at the BaseSkin's baseskin.xml file.
I is using the baseskin.xml to the max almost for changing stuff in a skin.
Dont worry......baseskin.xml will be used for basic stuff.
Best Regards
MixMan
[SIZE="1"]
Antec Fusion case with Gigabyte GA-MA78GM-SH, AMD X2 4850e, 2GB RAM, AMD780G Onboard graphics. WinTV-PVR 150 MCE (With FM), Twinhan DVB-T, 750GB + 250GB HDD. Windows XP Pro SP3, MCE 2005 Remote, 29" 4:3 monitor and a 47" Philips 9603H LCD[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#102
2006-07-15, 02:17 PM
Sample of a code style that developers may be able to come up with a way to work with off into the future.(also is in this post as an edit)


Baseskin.xml:

Code:
<ListViewBackground>[color=Blue]<DrawImage filename="..\resources\Listview.png"/>[/color]</ListViewBackground>
<PopUpBackground>[color=Blue]<DrawRoundedRect radius="5" borderWidth="2" borderColor="White" fillColor="Black"/>[/color]</PopUpBackground>
<[B]ListItemNormal[/B]>[color=Blue]<DrawImage filename="..\resources\ListItemNormal.png"/>[/color]</ListItemNormal>

ect. you get the point.

plugin skin .xml:

Code:
<CompositeImage name="ListViewNormalItem" size="500,30">            
    <Element name="[B]ListItemNormal[/B]" loc="3,3" size="494,24"/>
    <DrawText text="@title" loc="5,4" size="390,25" textStyle="ListViewItems" align="Left"/>
    <DrawText text="@lastRecordingDate" loc="5,4" size="495,25" textStyle="ListViewItems" align="Right"/>
</CompositeImage>
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]
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#103
2006-07-15, 02:22 PM (This post was last modified: 2006-07-15, 03:15 PM by Old Dog.)
(Edit: added quote)
Fatman_do Wrote:Old Dog,

Would you mind, if you had time, to outline in more detail what you are thinking. I am not sure I have a grasp on all the specifics that you may have in mind. I have an abstract, but I don't want to assume I know the details. You can put in a post, it doesn't have to be anything formal. I like to print things out and run thru them and highlight things and make notations. I can do this easier off-line.



What makes this project difficult is not the task at hand but rather the participants in the effort. It is my intention here to develop a plan that will allow the participants to begin working together and to provide the opportunity for them to workout their differences in a contructive manner. That's all folks!

All of us need to drop our commitment to the past and establish a commitment to this project.

Goals and background

Accept Blue as the standard.

We will produce two sets of xml files for the standard. Files in the first set are devoid of all graphical elements, the second set of files include graphical elements appropriate to Blue. Files in the first set are proper subsets of files in the second set.

When a developer creates a new plug-in they will create both xml files. The first file defines the information layout, the second simply adds graphics.

The layout file allows the developer to focus on the organization and placement of the plug-in output, i.e. blocks of information, using the default text styles defined in BaseSkin.xml. When satisfied with the layout, the developer will add the graphics for Blue. The layout file will also be useful to the skinner as a starting point for their graphics design.

The Plan

Beginning with the core features, we will create new xml files for Blue. We will begin each feature by polling the community to identify the best existing implementation of the feature. We will use that implementation as a starting point. Note that what we are most concerned with in our poll is the text presentation; the organization, placement, and fonts.

By the time we have finished the core features, we will probably have a good definition of the BaseSkin.xml, especially text styles.

After completing the core features, we will release the community skin for review. We need to develop a plan to deal with this review period.

The next phase of the project focuses on plug-in features. We will select each plug-in one at a time by polling the community. Once we have selected a plug-in, we will poll for the best implementation. We will create the two xml files for each plug-in.

Note that as we reach a consensus, we will be able to split-up into teams and address plug-ins in parallel. During the first phase we should work as a single, unruly, mob; we need to workout our differences and we must reach a consensus.

As long as we think of what "I" can do instead of what "we" can do, we will get nowhere.
Learning new tricks!
Visit Plain Jane's Collection
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#104
2006-07-15, 04:29 PM
Fatman_do Wrote:Sample of a code style that developers may be able to come up with a way to work with off into the future.(also is in this post as an edit)


Baseskin.xml:

Code:
<ListViewBackground>[COLOR=blue]<DrawImage filename="..\resources\Listview.png"/>[/COLOR]</ListViewBackground>
<PopUpBackground>[COLOR=blue]<DrawRoundedRect radius="5" borderWidth="2" borderColor="White" fillColor="Black"/>[/COLOR]</PopUpBackground>
<[B]ListItemNormal[/B]>[COLOR=blue]<DrawImage filename="..\resources\ListItemNormal.png"/>[/COLOR]</ListItemNormal>

ect. you get the point.

plugin skin .xml:

Code:
<CompositeImage name="ListViewNormalItem" size="500,30">            
    <Element name="[B]ListItemNormal[/B]" loc="3,3" size="494,24"/>
    <DrawText text="@title" loc="5,4" size="390,25" textStyle="ListViewItems" align="Left"/>
    <DrawText text="@lastRecordingDate" loc="5,4" size="495,25" textStyle="ListViewItems" align="Right"/>
</CompositeImage>

I've already added something like that in the next release, but not quite in the same way you've asked for. In the next release there will be a new <DrawCompositeImage> skinning command. This addition will be very useful...
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#105
2006-07-15, 05:10 PM
sub Wrote:I've already added something like that in the next release, but not quite in the same way you've asked for. In the next release there will be a new <DrawCompositeImage> skinning command. This addition will be very useful...

Fantastic.

I just guessed at how it would be done. It was more of an expression of the concept vs. actual method to be used.
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]
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#106
2006-07-15, 06:47 PM
Quote:Beginning with the core features, we will create new xml files for Blue. We will begin each feature by polling the community to identify the best existing implementation of the feature. We will use that implementation as a starting point. Note that what we are most concerned with in our poll is the text presentation; the organization, placement, and fonts.

By the time we have finished the core features, we will probably have a good definition of the BaseSkin.xml, especially text styles.
This was what I was trying to convey with a Baseskin.xml controlling the look, instead of individual skin.xml files.
Quote:The next phase of the project focuses on plug-in features. We will select each plug-in one at a time by polling the community. Once we have selected a plug-in, we will poll for the best implementation. We will create the two xml files for each plug-in.
This is where it get's complicated. Some plugins will easily skin using BaseSkin.xml. Others are impossible.

If we (the skinners) can get the Base sorted, with 2 xml's, one with graphics, one without, that will be half the battle won.
If we can then adopt the plugins that allow themselves to be skinned in this method, by working in parallel, we will have a contiguous skin, with a definitive list of plugins that will work.
We should, at this point, be able to easily make a new skin, with a minimum of extra effort.
Other plugins that do not allow themselves to be skinned will have to be rewritten, or dropped from the project.

Any input on all this from any plugin developers?
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#107
2006-07-15, 07:31 PM (This post was last modified: 2006-07-15, 07:38 PM by McBainUK.)
sub Wrote:I've already added something like that in the next release, but not quite in the same way you've asked for. In the next release there will be a new <DrawCompositeImage> skinning command. This addition will be very useful...
In what way? How do you see this being used? :confused:
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#108
2006-07-15, 08:08 PM
I'll try and give a reply to this later today. Its not a reply that I can knock up in a hurry, and unfortunately I'm in the middle of moving my home office to another room and a couple of things. If my wife sees me sitting at the keyboard for more than a few minutes, then it will be treated as 'slacking'.
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#109
2006-07-15, 09:05 PM
sub Wrote:I'll try and give a reply to this later today. Its not a reply that I can knock up in a hurry, and unfortunately I'm in the middle of moving my home office to another room and a couple of things. If my wife sees me sitting at the keyboard for more than a few minutes, then it will be treated as 'slacking'.
No trouble sub, wouldn't want to get you into trouble Big Grin
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
#110
2006-07-16, 02:53 AM
McBainUK Wrote:No trouble sub, wouldn't want to get you into trouble Big Grin

From "She who must not be Ignored" no less.
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: 2 Guest(s)

Pages (15): « Previous 1 … 9 10 11 12 13 … 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,554 2022-11-20, 04:28 PM
Last Post: mvallevand
  Skin help (correct location?) SFX Group 4 3,949 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,384 2016-06-18, 07:03 PM
Last Post: pBS
  Skin - view further into the future, scale the guide Vitenka 5 3,375 2014-11-26, 07:28 PM
Last Post: Vitenka
  Skin element Details in NowNext Jaggy 2 1,841 2011-09-19, 11:50 PM
Last Post: Jaggy
  Skin Help with Line Drawing Northpole 2 1,980 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 5,178 2011-07-10, 04:13 PM
Last Post: mvallevand
  Skin help needed for EventDetails.xml bgowland 7 3,444 2011-06-26, 11:55 PM
Last Post: Jaggy
  Skin question - how to centre a list UiList control on screen? McBainUK 2 1,915 2011-02-17, 08:46 AM
Last Post: McBainUK
  List of Skin Elements ACTCMS 7 3,285 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