[MOD] Favourites Dialog Fix
#1
Thumbs Up 
UPDATE
Here is a alternative Favourites view and it will work for any versoin of Aeon Stark...

Image

just open DialogFavourites.xml and add the code below:

Code:
<window type="dialog" id="134">
<defaultcontrol always="true">450</defaultcontrol>
    <animation type="WindowOpen" reversible="false">
        <effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
        <effect type="fade" start="0" end="100" time="300" />
    </animation>
    <animation type="WindowClose" reversible="false">
        <effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
        <effect type="fade" start="100" end="0" time="300" />
    </animation>        
    <controls>

    <control type="image">
        <description>Darken screen</description>
        <posx>0</posx>
        <posy>0</posy>
        <width>1280</width>
        <height>720</height>
        <texture>common/black.png</texture>
        <colordiffuse>d7FFFFFF</colordiffuse>
        <include>Animation_CommonFade</include>
        <visible>Control.HasFocus(450)</visible>
    </control>

    <control type="image">
        <description>Panel</description>
        <posx>200</posx>
        <posy>40</posy>
        <width>881</width>
        <height>481</height>
        <texture>osd/osd_settings_back.png</texture>
    </control>

    <control type="image">
        <posx>250</posx>
        <posy>55</posy>
        <width>781</width>
        <height>40</height>
        <texture>osd/osd_settings_buttonnf.png</texture>
    </control>

    <control type="label">
        <description>Favourites Label</description>
        <posx>280</posx>
        <posy>55</posy>
        <width>721</width>
        <height>40</height>
        <align>center</align>
        <aligny>center</aligny>
        <textcolor>66000000</textcolor>        
        <label>$LOCALIZE[1036]</label>
        <font>Font_WeatherTitle</font>
    </control>

    <control type="list" id="450">
        <posx>250</posx>
        <posy>95</posy>
        <width>781</width>
        <height>405</height>
        <onleft>-</onleft>
        <onright>-</onright>
        <onup>450</onup>
        <ondown>450</ondown>
        <pagecontrol>-</pagecontrol>
        <scrolltime>0</scrolltime>

        <itemlayout height="40">
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>781</width>
                <height>40</height>
                <texture>osd/osd_settings_buttonnf.png</texture>
            </control>
            <control type="label">
                <posx>30</posx>
                <posy>0</posy>
                <width>721</width>
                <height>40</height>
                <textcolor>FF929191</textcolor>
                <selectedcolor>9b3cd2fd</selectedcolor>                        
                <aligny>center</aligny>
                <font>Font_OSDOptions</font>                
                <info>ListItem.Label</info>
            </control>
        </itemlayout>
        <focusedlayout height="40">
            <control type="image">
                <posx>0</posx>
                <posy>0</posy>
                <width>781</width>
                <height>40</height>
                <texture>osd/osd_settings_buttonf.png</texture>
            </control>        
            <control type="label">
                <posx>30</posx>
                <posy>0</posy>
                <width>721</width>
                <height>40</height>
                <textcolor>FFFFFFFF</textcolor>
                <selectedcolor>9b3cd2fd</selectedcolor>                
                <aligny>center</aligny>
                <font>Font_OSDOptions</font>                
                <info>ListItem.Label</info>
            </control>
        </focusedlayout>
    </control>

</controls>
</window>



-----------------OLD---------------------

here is the code for the Favourites Dialog for Aeon Stark (0.91/0.90) not the one on github,

for it to work with the Aeon Stark on github you would need to edit some of the code (IE. width,height,posy and posx)

Image

just open DialogFavourites.xml and add the code below:
Code:
<window type="dialog" id="134">
<defaultcontrol always="true">450</defaultcontrol>
<animation type="WindowOpen" reversible="false">
    <effect type="zoom" start="80" end="100" center="640,360" easing="out" tween="back" time="300" />
    <effect type="fade" start="0" end="100" time="300" />
</animation>
<animation type="WindowClose" reversible="false">
    <effect type="zoom" start="100" end="80" center="640,360" easing="in" tween="back" time="300" />
    <effect type="fade" start="100" end="0" time="200" />
</animation>    
<controls>

<control type="image">
    <description>Darken screen for Context Menu etc.</description>
    <posx>0</posx>
    <posy>0</posy>
    <width>1280</width>
    <height>720</height>
    <texture>common/black.png</texture>
    <colordiffuse>d7FFFFFF</colordiffuse>
    <include>Animation_CommonFade</include>
    <visible>Control.HasFocus(450)</visible>
</control>

<control type="group">
    <posx>505</posx>
    <control type="image">
        <description>background top image</description>
        <posx>0</posx>
        <posy>185</posy>
        <width>270</width>
        <height>15</height>
        <texture border="4">dialogs/context_top.png</texture>
    </control>
    <control type="image">
        <description>background image</description>
        <posx>0</posx>
        <posy>200</posy>
        <width>270</width>
        <height>350</height>
        <texture border="4">dialogs/context_middle.png</texture>
    </control>
    <control type="image">
        <description>background bottom image</description>
        <posx>0</posx>
        <posy>550</posy>
        <width>270</width>
        <height>16</height>
        <texture border="4">dialogs/context_bottom.png</texture>
    </control>
        <control type="list" id="450">
        <posx>5</posx>
        <posy>200</posy>
        <width>260</width>
        <height>400</height>
        <onleft>-</onleft>
        <onright>-</onright>
        <onup>450</onup>
        <ondown>450</ondown>

        <itemlayout height="35">
            <control type="image">
                <texture border="4">dialogs/context_nofocus.png</texture>
                <height>34</height>
                <width>264</width>
                <colordiffuse>aaffffff</colordiffuse>
            </control>
            <control type="label">
                <label>$INFO[ListItem.Label]</label>
                <posx>132</posx>
                <posy>5</posy>
                <height>34</height>
                <width>245</width>
                <align>center</align>
                <font>Font_ContextMenuButton</font>
                <textcolor>FF8f8f8f</textcolor>
                <colordiffuse>FFffffff</colordiffuse>
            </control>
        </itemlayout>

        <focusedlayout height="35">
            <control type="image">
                <texture border="4">dialogs/context_highlight.png</texture>
                <posx>0</posx>
                <posy>0</posy>
                <height>34</height>
                <width>264</width>
                <colordiffuse>aaffffff</colordiffuse>
            </control>
            <control type="label">
                <label>$INFO[ListItem.Label]</label>
                <posx>132</posx>
                <posy>5</posy>
                <height>34</height>
                <width>245</width>
                <align>center</align>
                <font>Font_ContextMenuButton</font>
                <textcolor>FFFFFFFF</textcolor>
                <colordiffuse>FFffffff</colordiffuse>
            </control>
        </focusedlayout>
    </control>
</control>

</controls>
</window>
Reply
#2
Update see 1st post....
Reply
#3
will the update work on auriga ?
Reply
#4
yep Smile
Image
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
[MOD] Favourites Dialog Fix00