- Moderator
- #1
- 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>
- 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
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.