Fork MediaPortal on GitHub
MediaPortal Windows Media Center

Site navigation


Last Edit

Page last modified 10:32, 12 May 2011 by Dadeo
MediaPortal Wiki > MediaPortal 1 > Contribute > Skins > Skin Related Changes > 1.1.0 to 1.2.0 > Auto Hide Pause OSD

Auto Hide Pause OSD

Was this page helpful?

    Purpose

    • Required:  No
    • Type of Change:  Feature

    The purpose of this feature is to auto hide the pause OSD as well as the OSD (that OSD if you press Y).

    Description of Change

    With this feature we introduce a new property for skins. The new property window.ispauseosdvisible can be used to check the visibility of the pause OSD.

    To activate the auto hiding of the pause OSD, you must set the Display-Timeout in Configuration > General > On-Screen Display (see screenshot below). Zero (0) means auto hiding is disabled. Default skins support the auto hinding.

    Additional Information and References

    • Mantis Issue: 3141
    • Related xml(s):  mytvFullScreen.xml, videofullscreen.xml. TVOSD.xml
    • Window ID: 602, 2005, 3003
    • Related GUI property/controlwindow.ispauseosdvisible

    XML/Code Samples

     

    Use of the property

    <control>
          <description>progress bar background</description>
          <type>image</type>
          <posX>170</posX>
          <posY>646</posY>
          <width>831</width>
          <height>25</height>
          <texture>osd_progress_background.png</texture>
          <visible>window.isosdvisible|window.ispauseosdvisible|player.rewinding|player.forwarding|Control.IsVisible(10)</visible>
          <animation effect="fade" time="250">visiblechange</animation>
          <animation effect="fade" time="250">windowopen</animation>
        </control>
        <control>

     

    Hide the Pause Logo

     <control>
          <description>pause image</description>
          <type>image</type>
          <posX>530</posX>
          <posY>680</posY>
          <width>111</width>
          <height>20</height>
          <visible>window.ispauseosdvisible+!Control.IsVisible(10)</visible>
          <texture>video-pause.png</texture>
          <colorkey>0</colorkey>
          <colordiffuse>White</colordiffuse>
          <animation effect="fade" time="250">visiblechange</animation>
        </control>

     

    Show the Pause Logo

     <control>
          <description>pause image</description>
          <type>image</type>
          <posX>530</posX>
          <posY>680</posY>
          <width>111</width>
          <height>20</height>
          <visible>player.paused+!Control.IsVisible(10)</visible>
          <texture>video-pause.png</texture>
          <colorkey>0</colorkey>
          <colordiffuse>White</colordiffuse>
          <animation effect="fade" time="250">visiblechange</animation>
        </control>

    Screenshots

     

    OSDTimeOut.PNG




    Running the latest version?

    V1.8.0 - released July 2014
    Releasenews | Download
    Changelog
     | Requirements
    HTPC
    Team-MediaPortal
     
    About
    Contact |  Press
    Partners