NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation v
« Previous 1 … 3 4 5 6 7 … 11 Next »
Skinning variables

 
  • 0 Vote(s) - 0 Average
Skinning variables
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#1
2006-04-29, 09:29 AM (This post was last modified: 2006-05-05, 12:45 PM by MixMan.)
This post is the start of documenting "optional" skinning variables and elements....for the Wiki
Sub....could you please comment with those that comes to you mind ?

Main Menu


<SpecialElement name="Buttons" loc="x,y" spacing="z" alwayCentered="true/false"
maxVisibleButtons="w" allowTopBottomWrap="true/false" showNumbers="true/false"/>
Specifies location of button position, number of visible buttons. When using arrow up/down to select function you can Center active button or allow Wrap of button when the last button is selected.

<SpecialElement name="TaskDescription" visible="true/false" loc="x,y" size="l,w" align="Left/Center/Right"/>
Position the description of a buttons functionality. Disable/make description invisible.

<SpecialElement name="TaskImage" visible="true/false" animate="true/false" loc="x,y" size="l,w"/>

<SpecialElement name="MoreUp" loc="x,y"/>
<SpecialElement name="MoreDown" loc="x,y"/>
MoreUp/MoreDown will position the arrows that are shown to guide user where more buttons are found.

<SpecialElement name="ForegroundTransparency" percent="x"/>
Will "dim" the GUI. Setting it to 100% is recommended

<SpecialElement name="Inset" loc="x,y" size="l,w"/>
Specifies location and area where the video window for TV or music visulisation is shown if the home key is pressed to the get to the main menu

<SpecialElement name="CloseButton" loc="x,y" size="l,w" />
Defines the area where a mouse click will close sub menu or exits program in main menu.

Main Menu Objects for SpecialElements

CloseButton Element needs an Image for Main Menu and the same in all Sub Menus
<CompositeImage name="Background" size="720,480">
<DrawImage filename="background.jpg" loc="0,0" size="720,480" />
<DrawImage filename="close_button.png" loc="x,y" size="35,35" />
</CompositeImage>



Panels
Panels are visual elements that will show status informtion for different sub menu functions.
Panels might be plugin DLL files. Panels XML files are located in the /panels dir.

Clock (Internal)
NextRecording (Internal)
MusicPanel (DLL)
VApanel (DLL)
News (DLL

<SpecialElement name="Panel" panelName="name" visible="true/false" transparency="0.0-1.0" loc="x,y" size="l,w"/>


Recordings Menu

<SpecialElement name="CurrentTime" loc="580,8" />


Variables that can be used in Menus

Rendering the mini-guide:

@channelIcon
@title
@duration
@description
@channelName
@recordingStatus (either "" or "Recording")
@datetime
@date
@time


Live preview TV OSD:

@channelIcon
@title
@description
@channelName
@subtitlesEnabled (either "" or "Subtitles Enabled")
@datetime
@date
@time


Timeshift TV OSD:

@channelIcon
@title
@duration
@description
@channelName
@recordingStatus (either "" or "Recording")
@datetime
@date
@time
@subtitlesEnabled (either "" or "Subtitles Enabled")


Pre-existing video playback OSD:

@currentVideoTitle
@durationText
@positionText
@description
@datetime
@time
@date
@subtitlesEnabled (either "" or "Subtitles Enabled")
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]
TTec
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Apr 2006
#2
2006-04-29, 05:06 PM
So far this is what I have found for the Main Menu

<SpecialElement name="Buttons" loc="x,y" spacing="z" alwayCentered="true/false" maxVisibleButtons="w" allowTopBottomWrap="true/false" showNumbers="true/false"/>
<SpecialElement name="TaskDescription" visible="true/false" loc="x,y" size="l,w" align="Left/Center/Right"/>
<SpecialElement name="TaskImage" visible="true/false" animate="true/false" loc="x,y" size="l,w"/>
<SpecialElement name="MoreUp" loc="x,y"/>
<SpecialElement name="MoreDown" loc="x,y"/>
<SpecialElement name="ForegroundTransparency" percent="x"/>
<SpecialElement name="Inset" loc="x,y" size="l,w"/>
<SpecialElement name="Panel" panelName="name" visible="true/false" transparency="0.0-1.0" loc="x,y" size="l,w"/>
<SpecialElement name="CloseButton" loc="x,y" size="l,w" />

I'm sure there are more, we need sub to let us know what elements there are for us to "play" with Big Grin
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#3
2006-04-30, 07:35 AM
Thanks TTec

I thought these where to obvious, since they are in all skins, but perhaps not. I will explain their functionality.....in time.
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#4
2006-05-05, 04:28 AM
These arent very easy to list, but I'll try to slowly chip away at it. Nearly everything that is available has been used in the Blue skin, or at least commented out in the blue skin as an example.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,731
Threads: 767
Joined: Nov 2003
#5
2006-05-05, 04:30 AM
Here are most of the variables that can be used for skinning the video OSD...


Rendering the mini-guide:

@channelIcon
@title
@duration
@description
@channelName
@recordingStatus (either "" or "Recording")
@datetime
@date
@time


Live preview TV OSD:

@channelIcon
@title
@description
@channelName
@subtitlesEnabled (either "" or "Subtitles Enabled")
@datetime
@date
@time


Timeshift TV OSD:

@channelIcon
@title
@duration
@description
@channelName
@recordingStatus (either "" or "Recording")
@datetime
@date
@time
@subtitlesEnabled (either "" or "Subtitles Enabled")


Pre-existing video playback OSD:

@currentVideoTitle
@durationText
@positionText
@description
@datetime
@time
@date
@subtitlesEnabled (either "" or "Subtitles Enabled")
dinki
Offline

Senior Member

Posts: 416
Threads: 71
Joined: Mar 2006
#6
2006-05-05, 12:00 PM (This post was last modified: 2006-05-05, 01:00 PM by dinki.)
This is great! Can't wait to see more ... Thanks!

It would be really nice if those who have written plugins could list the available variables for their plugin panels as well.
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#7
2006-05-05, 12:36 PM
Thanks Sub for providing the info.
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]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#8
2006-05-23, 02:23 PM
I just tried to write @record in the "live preview".....and it worked.
It is possible to add a record button in the OSD.
I will try other things to find out limitations and the possibilities for the OSD.
I'm going to make a BaseSkin" OSD. Any design suggestions :-) ?
Why do I ask ?
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]
tipstir
Offline

Member

Posts: 62
Threads: 0
Joined: Dec 2004
#9
2006-05-23, 04:18 PM
Good to know these varables can be added to parts of the OSD coding, as I do like to see at times what's recording. I'll try them myself too! Smile thanks sub!
[SIGPIC][/SIGPIC][SIZE="7"]GOOD BYE![/SIZE].
(..forgot to take my medication this morning...)
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#10
2006-06-26, 04:35 PM (This post was last modified: 2006-06-29, 12:18 PM by ShiningDragon.)
WeatherPanel Plugin: (WeatherPlugin.dll Version 4.2.2344.12758)

@MessageWithIcon
@MessageWithoutIcon
@TemperatureWithIcon
@TemperatureWithoutIcon
@OutlookWithIcon
@OutlookWithoutIcon
@CityWithIcon <- should, but don't work
@CityWithoutIcon <- should, but don't work
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  CommunitySkin Skinning Tutorial Fatman_do 81 28,538 2008-06-07, 12:39 PM
Last Post: Fatman_do
  BaseSkin\Themepack Skinning Tutorial Fatman_do 20 9,069 2006-07-06, 04:22 PM
Last Post: Fatman_do

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

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

Linear Mode
Threaded Mode