Question: Three questions about the skins that I was plagued. (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • 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:
      <style Name="HomeButtonPicture">
        <width>623</width>
        <height>271</height>
        <animation effect="fade" time="250">VisibleChange</animation>
        <animation effect="fade" time="250">WindowOpen</animation>
        <animation effect="fade" time="250">WindowClose</animation>
      </style>
    Code:
           <control Style="HomeButtonPicture">
            <description>BasicHome TV NoFocus</description>
            <type>image</type>
             <id>0</id>
              <posX>#L12left</posX>
               <posY>#L12top</posY>
            <texture>basichome_button_tv.png</texture>
            <visible>![Control.IsVisible(20091)|Control.IsVisible(60091)|Control.IsVisible(600081)]+[Control.IsVisible(40091)|Control.IsVisible(10101)]</visible>
         </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:
    <window>
      <id>357951</id>
    Code:
                <control Style="SettingsButton">
                    <description>ajs Basic Home settings</description>
                    <type>button</type>
                    <id>9600</id>
                    <label>ajs Basic Home</label>
                    <onright>960111</onright>
                     <hyperlink>357951</hyperlink>
                    <onfocus>#(skin.setstring('#skin.setting.focus','ajsbasichome'))</onfocus>
                </control>
    Code:
    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.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #2
    No one has any ideas? Objections? Suggestions?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #3
    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:
    GUIWindowManager: Could not find window 357951

    @Developers @catavolt @Designers
    Someone can tell me how to add a new window to the skins theme?
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #5
    Sorry but I do not understand the question. Can you explain it?
    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)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    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)
    What do you want to do in ...ajs.xml?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #8
    Finally read that will not work.
    Each skin file must have a unique id and it must match the id in the application or plugin using the skin. This id is used to reference this skin page from a hyperlink in another skin page.
     

    Users who are viewing this thread

    Top Bottom