Thread Rating:
  • 0 Vote(s) - 0 Average
[FIXED] Stereoscopic Menu Integration
#1
I played around a little bit just yet and integrated the 3D menu into the skin.

Locate your "VideoOSD.xml". It should be in [C:\Users\[YOUR USER]\AppData\Roaming\Kodi\addons\skin.unity\1080i] ... I'm on Win10 so the location might differ from yours. Don't forget to backup the original file in case anything goes wrong Wink. Open the file with a text editor of your choice and replace everything in it with the following code:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<window>

    <defaultcontrol always="true">100</defaultcontrol>
    
    <onunload>Skin.Reset(SubtitleSection)</onunload>
    
    <controls>
        
        <!--background-->
        <control type="image" id="1">
            <left>390</left>
            <top>105r</top>
            <width>1140</width>
            <height>85</height>
            <texture colordiffuse="tertiary">backgrounds/osd bg.png</texture>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
        </control>
        
        <control type="slider" id="87">
            <description>Seek Slider</description>
            <left>415</left>
            <top>150r</top>
            <width>1090</width>
            <height>7</height>
            <action>seek</action>
            <animation effect="fade" time="200">VisibleChange</animation>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks) | VideoPlayer.Content(LiveTV) | Skin.HasSetting(SubtitleSection)]</visible>
        </control>
        
        <!-- !LiveTV -->
        <control type="group" id="100">
            <left>420</left>
            <top>82r</top>
            <defaultcontrol always="true">202</defaultcontrol>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks)]</visible>
            <visible>!VideoPlayer.Content(LiveTV)</visible>
            
            <control type="button" id="200">
                <left>0</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>210</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDPrevTrackNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDPrevTrackNF.png</texturenofocus>
                <onleft>254</onleft>
                <onright>201</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Previous)</onclick>
            </control>
            
            <control type="button" id="201">
                <left>75</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31354</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDRewindNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDRewindNF.png</texturenofocus>
                <onleft>200</onleft>
                <onright>202</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Rewind)</onclick>
            </control>
            
            <control type="togglebutton" id="202">
                <left>150</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31351</label>
                <altlabel>208</altlabel>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDPauseNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDPauseNF.png</texturenofocus>
                <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                <alttexturefocus colordiffuse="$VAR[Colour.500]">OSDPlayNF.png</alttexturefocus>
                <alttexturenofocus colordiffuse="text.primary">OSDPlayNF.png</alttexturenofocus>
                <onleft>201</onleft>
                <onright>203</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Play)</onclick>
            </control>
            
            <control type="button" id="203">
                <left>225</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31352</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDStopNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDStopNF.png</texturenofocus>
                <onleft>202</onleft>
                <onright>204</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Stop)</onclick>
            </control>
            
            <control type="button" id="204">
                <left>300</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31353</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDForwardNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDForwardNF.png</texturenofocus>
                <onleft>203</onleft>
                <onright>205</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Forward)</onclick>
            </control>
            
            <control type="button" id="205">
                <left>375</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>209</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDNextTrackNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDNextTrackNF.png</texturenofocus>
                <onleft>204</onleft>
                <onright>255</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Next)</onclick>
            </control>
            
        </control>
        
        <!-- LiveTV -->
        <control type="group" id="100">
            <left>420</left>
            <top>82r</top>
            <defaultcontrol always="true">301</defaultcontrol>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
            <visible>VideoPlayer.Content(LiveTV)</visible>
            
            <control type="button" id="300">
                <left>0</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>210</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDChannelUPNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDChannelUPNF.png</texturenofocus>
                <onleft>353</onleft>
                <onright>301</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Previous)</onclick>
            </control>
            
            <control type="button" id="301">
                <left>75</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31354</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDChannelDownNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDChannelDownNF.png</texturenofocus>
                <onleft>300</onleft>
                <onright>302</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Next)</onclick>
            </control>
            
            <control type="button" id="302">
                <left>150</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31354</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDRewindNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDRewindNF.png</texturenofocus>
                <onleft>301</onleft>
                <onright>303</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Rewind)</onclick>
                <enable>Player.SeekEnabled</enable>
                <animation effect="fade" start="100" end="50" time="100" condition="!Player.SeekEnabled">Conditional</animation>
            </control>
            
            <control type="togglebutton" id="303">
                <left>225</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31351</label>
                <altlabel>208</altlabel>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDPauseNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDPauseNF.png</texturenofocus>
                <usealttexture>Player.Paused | Player.Forwarding | Player.Rewinding</usealttexture>
                <alttexturefocus colordiffuse="$VAR[Colour.500]">OSDPlayNF.png</alttexturefocus>
                <alttexturenofocus colordiffuse="text.primary">OSDPlayNF.png</alttexturenofocus>
                <onleft>302</onleft>
                <onright>304</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Play)</onclick>
                <enable>Player.PauseEnabled</enable>
                <animation effect="fade" start="100" end="50" time="100" condition="!Player.PauseEnabled">Conditional</animation>
            </control>
            
            <control type="button" id="304">
                <left>300</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31351</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDStopNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDStopNF.png</texturenofocus>
                <onleft>303</onleft>
                <onright>305</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Stop)</onclick>
            </control>
            
            <control type="button" id="305">
                <left>375</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31353</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDForwardNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDForwardNF.png</texturenofocus>
                <onleft>304</onleft>
                <onright>306</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Forward)</onclick>
                <enable>Player.SeekEnabled</enable>
                <animation effect="fade" start="100" end="50" time="100" condition="!Player.SeekEnabled">Conditional</animation>
            </control>
            
            <control type="button" id="306">
                <left>450</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>19019</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDChannelListNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDChannelListNF.png</texturenofocus>
                <onleft>305</onleft>
                <onright>307</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(PVROSDChannels)</onclick>
                <onclick>Dialog.Close(VideoOSD)</onclick>
            </control>
            
            <control type="button" id="307">
                <left>525</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>$LOCALIZE[19029]$INFO[VideoPlayer.ChannelName, - ]</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDepgNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDepgNF.png</texturenofocus>
                <onleft>306</onleft>
                <onright>354</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(PVROSDGuide)</onclick>
                <onclick>Dialog.Close(VideoOSD)</onclick>
            </control>
            
        </control>
        
        <!-- !LiveTV -->
        <control type="group">
            <left>840r</left>
            <top>82r</top>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks)]</visible>
            <visible>!VideoPlayer.Content(LiveTV)</visible>
            
            <control type="button" id="255">
                <visible>VideoPlayer.IsStereoscopic</visible>
                <left>300</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>36501</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDStereoscopicNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDStereoscopicNF.png</texturenofocus>
                <onleft>205</onleft>
                <onright>251</onright>
                <onup>501</onup>
                <ondown>1000</ondown>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus condition="!Control.HasFocus(410)">Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <control type="button" id="251">
                <left>75</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>13395</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDVideoNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDVideoNF.png</texturenofocus>
                <onleft>255</onleft>
                <onright>252</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(OSDVideoSettings)</onclick>
            </control>
            
            <control type="button" id="252">
                <left>150</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>13396</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDAudioNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDAudioNF.png</texturenofocus>
                <onleft>251</onleft>
                <onright>250</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(OSDAudioSettings)</onclick>
            </control>
            
            <control type="button" id="250">
                <left>225</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31356</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDSubtitlesNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDSubtitlesNF.png</texturenofocus>
                <onleft>252</onleft>
                <onright>253</onright>
                <onup>404</onup>
                <ondown>1000</ondown>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus condition="!Control.HasFocus(410)">Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <control type="image">
                <left>225</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <texture colordiffuse="$VAR[Colour.500]">OSDSubtitlesNF.png</texture>
                <visible>Control.HasFocus(410) | Control.HasFocus(250) | ControlGroup(400).HasFocus</visible>
            </control>
            
            <control type="button" id="253">
                <left>0</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31355</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDBookmarksNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDBookmarksNF.png</texturenofocus>
                <onleft>250</onleft>
                <onright>254</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(VideoBookmarks)</onclick>
            </control>
            
            <control type="button" id="254">
                <left>375</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31355</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDDvdNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDDvdNF.png</texturenofocus>
                <onleft>253</onleft>
                <onright>200</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(ShowVideoMenu)</onclick>
                <enable>VideoPlayer.HasMenu</enable>
                <animation effect="fade" start="100" end="50" time="100" condition="!VideoPlayer.HasMenu">Conditional</animation>
            </control>
            
        </control>
        
        <!-- LiveTV -->
        <control type="group">
            <left>765r</left>
            <top>82r</top>
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
            <visible>VideoPlayer.Content(LiveTV)</visible>
            
            <control type="button" id="354">
                <visible>VideoPlayer.IsStereoscopic</visible>
                <left>0</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>36501</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDStereoscopicNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDStereoscopicNF.png</texturenofocus>
                <onleft>307</onleft>
                <onright>350</onright>
                <onup>551</onup>
                <ondown>1000</ondown>
            </control>
            
            <control type="button" id="350">
                <left>75</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31356</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDTeleTextNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDTeleTextNF.png</texturenofocus>
                <onleft>354</onleft>
                <onright>351</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(Teletext)</onclick>
            </control>
            
            <control type="button" id="351">
                <left>150</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>13395</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDVideoNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDVideoNF.png</texturenofocus>
                <onleft>350</onleft>
                <onright>352</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(OSDVideoSettings)</onclick>
            </control>
            
            <control type="button" id="352">
                <left>225</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>13396</label>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDAudioNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDAudioNF.png</texturenofocus>
                <onleft>351</onleft>
                <onright>353</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>ActivateWindow(OSDAudioSettings)</onclick>
            </control>
            
            <control type="togglebutton" id="353">
                <left>300</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <label>31351</label>
                <altlabel>208</altlabel>
                <font>-</font>
                <texturefocus colordiffuse="$VAR[Colour.500]">OSDRecordOffNF.png</texturefocus>
                <texturenofocus colordiffuse="text.primary">OSDRecordOffNF.png</texturenofocus>
                <usealttexture>Player.Recording</usealttexture>
                <alttexturefocus colordiffuse="$VAR[Colour.500]">OSDRecordOffNF.png</alttexturefocus>
                <alttexturenofocus colordiffuse="text.primary">OSDRecordOffNF.png</alttexturenofocus>
                <onleft>352</onleft>
                <onright>300</onright>
                <onup>1000</onup>
                <ondown>1000</ondown>
                <onclick>PlayerControl(Record)</onclick>
                <enable>Player.CanRecord</enable>
                <animation effect="fade" start="100" end="50" time="100" condition="!Player.CanRecord">Conditional</animation>
            </control>
            
            <control type="image">
                <left>300</left>
                <top>0</top>
                <width>40</width>
                <height>40</height>
                <texture colordiffuse="red">PVR-IsRecording.png</texture>
                <visible>Player.Recording</visible>
            </control>
            
        </control>
        
        <control type="button" id="410">
            <description>Fake button for mouse control</description>
            <right>388</right>
            <bottom>80</bottom>
            <width>384</width>
            <height>375</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>Control.HasFocus(410) | Control.HasFocus(250) | ControlGroup(400).HasFocus</visible>
            <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
            <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
        </control>
        
        <control type="grouplist" id="400">
            <visible>![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks)]</visible>
            <animation effect="slide" start="0,0" end="0,120" time="0" condition="![VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled]">Conditional</animation>
            <animation effect="slide" start="0,0" end="0,60" time="0" condition="!VideoPlayer.HasSubtitles">Conditional</animation>
            <animation effect="slide" start="0,0" end="-775,0" time="300" condition="Control.HasFocus(410) | Control.HasFocus(250) | ControlGroup(400).HasFocus">Conditional</animation>
            <right>-375</right>
            <bottom>40</bottom>
            <width>365</width>
            <height>390</height>
            <itemgap>0</itemgap>
            <onleft>400</onleft>
            <onright>400</onright>
            <onup>250</onup>
            <ondown>250</ondown>
            <orientation>vertical</orientation>
            <usecontrolcoords>true</usecontrolcoords>
            
            <control type="group">
                <description>Header</description>
                <width>365</width>
                <height>80</height>
                
                <!--background-->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>365</width>
                    <height>80</height>
                    <texture colordiffuse="tertiary">backgrounds/white.png</texture>
                </control>
                
                <!--title bg-->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>365</width>
                    <height>70</height>
                    <texture colordiffuse="$VAR[Colour.500]">backgrounds/white.png</texture>
                </control>
                
                <!--title shadow-->
                <control type="image">
                    <left>0</left>
                    <top>70</top>
                    <width>365</width>
                    <height>10</height>
                    <texture>homeshadow.png</texture>
                    <animation effect="fade" start="100" end="75" time="0" condition="true">Conditional</animation>
                </control>
                
                <control type="label">
                    <left>15</left>
                    <top>3</top>
                    <width>335</width>
                    <height>60</height>
                    <font>menu.title</font>
                    <label>24012</label>
                    <textcolor>white</textcolor>
                    <aligny>center</aligny>
                </control>

            </control>
                
            <!--background-->
            <control type="image" id="701">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>70</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
            </control>
        
            <control type="togglebutton" id="401">
                <description>Download with Subtitles script</description>
                <left>15</left>
                <top>-70</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>33003</label>
                <onclick>Close</onclick>
                <onclick>Dialog.Close(VideoOSD)</onclick>
                <onclick>ActivateWindow(SubtitleSearch)</onclick>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <!--background-->
            <control type="image" id="702">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>120</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
                <visible>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</visible>
            </control>
            
            <control type="button" id="402">
                <left>15</left>
                <top>-120</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>22006</label>
                <onclick>SubtitleDelay</onclick>
                <visible>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</visible>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <control type="button" id="403">
                <left>15</left>
                <top>0</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>209</label>
                <onclick>NextSubtitle</onclick>
                <visible>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</visible>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <!--background-->
            <control type="image" id="704">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>70</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
                <visible>VideoPlayer.HasSubtitles</visible>
            </control>
            
            <control type="radiobutton" id="404">
                <left>15</left>
                <top>-70</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>449</label>
                <onclick>ShowSubtitles</onclick>
                <selected>VideoPlayer.SubtitlesEnabled</selected>
                <visible>VideoPlayer.HasSubtitles</visible>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
        </control>
        
        <!-- STEREOSCOPIC 3D !LiveTV -->
        <control type="button" id="520">
            <description>Fake button for mouse control</description>
            <right>388</right>
            <bottom>80</bottom>
            <width>384</width>
            <height>375</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>Control.HasFocus(520) | Control.HasFocus(255) | ControlGroup(500).HasFocus</visible>
            <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
            <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
        </control>
            
        <control type="grouplist" id="500">
            <visible>VideoPlayer.IsStereoscopic + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks)]</visible>
            <animation effect="slide" start="0,0" end="0,120" time="0" condition="!VideoPlayer.IsStereoscopic">Conditional</animation>
            <animation effect="slide" start="0,0" end="0,60" time="0" condition="!VideoPlayer.IsStereoscopic">Conditional</animation>
            <animation effect="slide" start="0,0" end="-775,0" time="300" condition="Control.HasFocus(520) | Control.HasFocus(255) | ControlGroup(500).HasFocus">Conditional</animation>
            <right>-375</right>
            <bottom>-20</bottom>
            <width>365</width>
            <height>390</height>
            <itemgap>0</itemgap>
            <onleft>400</onleft>
            <onright>400</onright>
            <onup>250</onup>
            <ondown>250</ondown>
            <orientation>vertical</orientation>
            <usecontrolcoords>true</usecontrolcoords>
        
            <!--Title-->
            <control type="group">
                <description>Header</description>
                <width>365</width>
                <height>80</height>
                
                <!--background-->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>365</width>
                    <height>80</height>
                    <texture colordiffuse="tertiary">backgrounds/white.png</texture>
                </control>
                
                <!--title bg-->
                <control type="image">
                    <left>0</left>
                    <top>0</top>
                    <width>365</width>
                    <height>70</height>
                    <texture colordiffuse="$VAR[Colour.500]">backgrounds/white.png</texture>
                </control>
                
                <!--title shadow-->
                <control type="image">
                    <left>0</left>
                    <top>70</top>
                    <width>365</width>
                    <height>10</height>
                    <texture>homeshadow.png</texture>
                    <animation effect="fade" start="100" end="75" time="0" condition="true">Conditional</animation>
                </control>
                
                <control type="label" id="">
                    <left>15</left>
                    <top>3</top>
                    <width>335</width>
                    <height>60</height>
                    <font>menu.title</font>
                    <label>36501</label>
                    <textcolor>white</textcolor>
                    <aligny>center</aligny>
                </control>
                
            </control>
            
            <!--Enable 3D GUI-->
            <!--background-->
            <control type="image" id="703">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>70</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
            </control>
            
            <control type="radiobutton" id="503">
                <description>Enable 3D GUI</description>
                <left>15</left>
                <top>-70</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>31362</label>
                <onclick>Close</onclick>
                <onclick>ToggleStereoMode</onclick>
                <selected>IntegerGreaterThan(System.StereoscopicMode,0)</selected>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <!--Change Stereo-Mode-->
            <!--background-->
            <control type="image" id="702">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>120</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
            </control>
            
            <control type="button" id="502">
                <left>15</left>
                <top>-120</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>31361</label>
                <onclick>StereoMode</onclick>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
            
            <!--Watch in 2D-->
            <!--background-->
            <control type="image" id="701">
                <left>0</left>
                <top>0</top>
                <width>365</width>
                <height>70</height>
                <texture colordiffuse="tertiary">backgrounds/white.png</texture>
            </control>
            
            <control type="radiobutton" id="501">
                <left>15</left>
                <top>-70</top>
                <width>335</width>
                <include>ButtonCommonValues</include>
                <label>31360</label>
                <onclick>Close</onclick>
                <onclick>StereoModeToMono</onclick>
                <selected>StringCompare(System.StereoscopicMode,9)</selected>
                <pulseonselect>false</pulseonselect>
                <onfocus>Skin.SetBool(SubtitleSection)</onfocus>
                <onunfocus>Skin.Reset(SubtitleSection)</onunfocus>
            </control>
        
        </control>
        
        <!-- STEREOSCOPIC 3D LiveTV -->
        <control type="button" id="570">
            <description>Fake button for mouse control</description>
            <right>218</right>
            <bottom>90</bottom>
            <width>384</width>
            <height>315</height>
            <label>-</label>
            <font>-</font>
            <texturenofocus>-</texturenofocus>
            <texturefocus>-</texturefocus>
            <visible>Control.HasFocus(570) | Control.HasFocus(354) | ControlGroup(550).HasFocus</visible>
        </control>
        
        <control type="grouplist" id="550">
            <visible>videoplayer.isstereoscopic + ![Window.IsVisible(SliderDialog) | Window.IsVisible(OSDVideoSettings) | Window.IsVisible(OSDAudioSettings) | Window.IsVisible(OSDAudioDSPSettings) | Window.IsVisible(VideoBookmarks) | Window.IsVisible(PVROSDChannels) | Window.IsVisible(PVROSDGuide)]</visible>
            <animation effect="fade" time="200">VisibleChange</animation>
            <right>218</right>
            <bottom>68</bottom>
            <width>384</width>
            <height>330</height>
            <itemgap>0</itemgap>
            <onleft>550</onleft>
            <onright>550</onright>
            <onup>354</onup>
            <ondown>354</ondown>
            <orientation>vertical</orientation>
            <visible>Control.HasFocus(354) | ControlGroup(550).HasFocus | Control.HasFocus(570)</visible>
            <include>VisibleFadeEffect</include>
            
            <control type="group">
                <description>Header</description>
                <width>384</width>
                <height>60</height>
                
                <control type="image">
                    <description>Header</description>
                    <left>0</left>
                    <top>0</top>
                    <width>384</width>
                    <height>60</height>
                    <texture border="20,18,20,0">SubMenuBack-Header.png</texture>
                </control>
                
                <control type="label" id="">
                    <left>45</left>
                    <top>30</top>
                    <width>294</width>
                    <height>22</height>
                    <font>font12</font>
                    <label>36501</label>
                    <textcolor>blue</textcolor>
                    <align>center</align>
                    <aligny>center</aligny>
                </control>
                
            </control>
            
            <control type="radiobutton" id="553">
                <height>60</height>
                <width>384</width>
                <textoffsetx>45</textoffsetx>
                <aligny>center</aligny>
                <font>font13</font>
                <label>31362</label>
                <radioposx>300</radioposx>
                <texturefocus border="25,5,25,5">SubMenuBack-MiddleFO.png</texturefocus>
                <texturenofocus border="25,5,25,5">SubMenuBack-MiddleNF.png</texturenofocus>
                <onclick>ToggleStereoMode</onclick>
                <selected>IntegerGreaterThan(System.StereoscopicMode,0)</selected>
                <pulseonselect>false</pulseonselect>
            </control>
            
            <control type="button" id="552">
                <height>60</height>
                <width>384</width>
                <aligny>center</aligny>
                <font>font13</font>
                <textoffsetx>45</textoffsetx>
                <texturefocus border="25,5,25,5">SubMenuBack-MiddleFO.png</texturefocus>
                <texturenofocus border="25,5,25,5">SubMenuBack-MiddleNF.png</texturenofocus>
                <pulseonselect>false</pulseonselect>
                <label>31361</label>
                <onclick>StereoMode</onclick>
            </control>
            
            <control type="radiobutton" id="551">
                <height>60</height>
                <width>384</width>
                <textoffsetx>45</textoffsetx>
                <aligny>center</aligny>
                <font>font13</font>
                <label>31360</label>
                <radioposx>300</radioposx>
                <texturefocus border="25,5,25,5">SubMenuBack-MiddleFO.png</texturefocus>
                <texturenofocus border="25,5,25,5">SubMenuBack-MiddleNF.png</texturenofocus>
                <onclick>StereoModeToMono</onclick>
                <selected>StringCompare(System.StereoscopicMode,7)</selected>
                <pulseonselect>false</pulseonselect>
            </control>
            
            <control type="image" id="599">
                <description>Footer</description>
                <width>384</width>
                <height>78</height>
                <texture border="20,0,20,50">SubMenuBack-Footer.png</texture>
            </control>
            
        </control>
        
    </controls>
    
</window>

No integration in the LiveTv yet!!! ... might not even change that so don't hold your breath.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
[FIXED] Stereoscopic Menu Integration00