Question: Three questions about the skins that I was plagued.

Discussion in 'MediaPortal 1 Skins' started by ajs, March 6, 2015.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    • How can I learn there is a control with what that ID?
    • Why does not the animation, if it is registered in references.xml? Ie
    Code (Text):
    1.   <style Name="HomeButtonPicture">
    2.     <width>623</width>
    3.     <height>271</height>
    4.     <animation effect="fade" time="250">VisibleChange</animation>
    5.     <animation effect="fade" time="250">WindowOpen</animation>
    6.     <animation effect="fade" time="250">WindowClose</animation>
    7.   </style>
    Code (Text):
    1.        <control Style="HomeButtonPicture">
    2.         <description>BasicHome TV NoFocus</description>
    3.         <type>image</type>
    4.          <id>0</id>
    5.           <posX>#L12left</posX>
    6.            <posY>#L12top</posY>
    7.         <texture>basichome_button_tv.png</texture>
    8.         <visible>![Control.IsVisible(20091)|Control.IsVisible(60091)|Control.IsVisible(600081)]+[Control.IsVisible(40091)|Control.IsVisible(10101)]</visible>
    9.      </control>
    No animation. :mad:
    • Added in the theme folder to skins, a new XML. It registered a new window with a unique ID. But wee trying to go at it, is presented in the error log:
    Code (Text):
    1. <window>
    2.   <id>357951</id>
    Code (Text):
    1.             <control Style="SettingsButton">
    2.                 <description>ajs Basic Home settings</description>
    3.                 <type>button</type>
    4.                 <id>9600</id>
    5.                 <label>ajs Basic Home</label>
    6.                 <onright>960111</onright>
    7.                  <hyperlink>357951</hyperlink>
    8.                 <onfocus>#(skin.setstring('#skin.setting.focus','ajsbasichome'))</onfocus>
    9.             </control>
    Code (Text):
    1. GUIWindowManager: Could not find window 357951
    May need new files with windows placed in the folder skins? And then they override, the file of the theme?

    PS: And as a follow-up question, why are not all the variables are stored in the file SkinSettings.hml? Here's the code at the top of the value #skin.setting.focus is never stored.


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    No one has any ideas? Objections? Suggestions?
     
  4. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    @Developers @catavolt @Designers
    Someone can tell me how to add a new window to the skins theme?
     
  5. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Sorry but I do not understand the question. Can you explain it?
     
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    It is necessary to add to the skins, a new window with my settings. Ie so that when press the button <hyperlink> 2579752 </ hyperlink> in settings_GUI_Skin.xml I could go out the window with ID 2579752.

    I create a new file named settings_GUI_ajs.xml, It states <window> <id>2579752</ id>, in the file settings_GUI_Skin.xml adds a button with a hyperlink to the window with ID 2579752. Launch media portal. But he window with ID 2579752 does not see. (error - GUIWindowManager: Could not find window 2579752)
     
  7. regeszter
    • Premium Supporter

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    What do you want to do in ...ajs.xml?
     
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Change the settings of the skin.
     
  9. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,701
    Likes Received:
    2,688
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,652 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Finally read that will not work.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!