Music Viz - selectable in preview (1 Viewer)

TVKiwi

Portal Member
May 27, 2005
48
0
I am about to commence creating a skin for use on a small touch screen.
I understand most of what I have read in the xml files but I do have one question...

Is it possible to make the small preview window showing the viz selectable and therefore changing to full screen - like the TV preview in the TV Main Page. IE- I want to be able to click on the preview or 'touch' it and send the viz to full screen?
 

Harley

Retired Team Member
  • Premium Supporter
  • May 7, 2004
    2,053
    1,993
    Germany
    Home Country
    Germany Germany
    Hi,

    ..i think it will go with this change:

    .. open musicoverlay.xml

    search for this part:

    <control>
    <description>music logo</description>
    <type>image</type>
    <id>1</id>
    <posX>108</posX>
    <posY>422</posY>
    <width>98</width>
    <height>74</height>
    <texture>#thumb</texture>
    </control>

    ... add this funktion:

    <action>18</action>
    <textureFocus>video_window_focus.png</textureFocus>


    .. that it looks like this:


    <control>
    <description>music logo</description>
    <type>image</type>
    <id>1</id>
    <posX>108</posX>
    <posY>422</posY>
    <width>98</width>
    <height>74</height>
    <texture>#thumb</texture>
    <action>18</action>
    <textureFocus>video_window_focus.png</textureFocus>
    </control>

    I think it will go, but i can not test it yet. I´not on my pc yet.

    Greetings Harley
     

    Mr.Mitchell

    Retired Team Member
  • Premium Supporter
  • May 13, 2004
    227
    0
    the Netherlands
    And if that does not work you could try to add an invisible button with action 18 to the musicoverlay.xml that is in the same position as the previewviz. That way you can press the viz and the button will be pressed.
     

    TVKiwi

    Portal Member
    May 27, 2005
    48
    0
    Thanks all for the input, I had started progressing along Mr Mitchells idea, but not had much time lately to tinker.
     

    TVKiwi

    Portal Member
    May 27, 2005
    48
    0
    Thanks for the advice you guys.

    I got it sorted and now by clicking/touching the music viz I can make it go full screen. Much more user friendly this way as for most people this is their first instinct on a touch screen when trying to make this happen. This also happens on video previews as well.

    FYI - I took Mr Mitchells idea. The code I used follows in case anyone else might like to implement - just make sure the posx posy width and height match your rectangle.

    <control>
    <description>full screen touch</description>
    <type>button</type>
    <id>11</id>
    <posX>90</posX>
    <posY>425</posY>
    <width>100</width>
    <height>100</height>
    <action>18</action>
    </control>
     

    Users who are viewing this thread

    Top Bottom