Building a skin from scratch - a tour - (2 Viewers)

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    I went one step further and added CD images based in the thumb if no Cd image is available. Looks good.

    Added Clear Art to the overlay, if there is space & designed some Dialogs (menu & ok). Next is the other layouts.

    I have added album view, now that is shown, but view selection only shows listview, all though i have both. How come?
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Have you taken into account that there are 2 sets of views in music? One has the list/icons/filmstrip/coverflow and the other user defined views like albums/artists/songs/years etc.
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Yep, i have the data views & can select what I want, its the normal view control (2 i think) that has just 1 entry.
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Yeah control id 2. Might be that the facadeview needs to be fully laid out with all the views to work right.

    This is what I have for the menu button:
    Code:
    	<control>
    	  <description>View-As</description>
    	  <type>menubutton</type>
    	  <id>2</id>
    	  <label></label>
    	  <mode>dialoglist</mode>
    	  <dialogTitle>792</dialogTitle>
    	  <valueTextInButton>yes</valueTextInButton>
    	  <onleft>50</onleft>
    	  <onup>120</onup>
    	  <valuePrefixText>95</valuePrefixText>
    	</control>
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    My Control #2:
    Code:
    <control Style="hiddenMenuItemStyle">
    					<description>View-As</description>
    					<type>menubutton</type>
    					<id>2</id>
    					<label></label>
    					<onright>50</onright>
    					<onleft>50</onleft>
    					<onup>17</onup>
    					<ondown>5</ondown>
    					<mode>dialoglist</mode>				   
    					<dialogTitle>792</dialogTitle>
    					<valueTextInButton>yes</valueTextInButton>
    					<valuePrefixText>95</valuePrefixText>
    					<animation effect="fade" time="100" delay="10">VisibleChange</animation>
    					<animation effect="slide" time="100" start="40,0" end="0,0" delay="10">VisibleChange</animation>
    				</control>
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Still no Album View selection, but now went on to Icon views. They seem to work. Next up filmstrip & coverflow - they need a redesigned layout as they are horizontal.

    I wanted to group all my controls together, so that I can switch them off easily by a single visibility statement, but if I group them some of them disappear???

    I group them with the following code:
    Code:
    		<control>
    			<dimColor>FFFFFFFF</dimColor>
    			<unfocusedAlpha>255</unfocusedAlpha>
    			<visible>true</visible>
    			<colordiffuse>FFFFFFFF</colordiffuse>
    <!-- Sub Controls are here -->
    		</control>

    The first pic is without the group code, the second is with the code. Is there anything else that I can change? I do not want to repeat visibility conditions 20 times for each control.
    13-51-38.png
    13-51-52.png
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,597
    10,590
    Königstein (Taunus)
    Home Country
    Germany Germany
    You are missing the <group> tag:
    <control>
    <description>group element</description>
    <type>group</type>
    <dimColor>FFFFFFFF</dimColor>
    <unfocusedAlpha>255</unfocusedAlpha>
    <visible>true</visible>
    <colordiffuse>FFFFFFFF</colordiffuse>
    <!-- Sub Controls are here -->
    </control>
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Home Country
    Ireland Ireland
    Did you miss a <type>group</type> in the top control?
    Also there are a lot of inconsistencies when using group controls depending on what sub controls are used.

    Edit.. Ha Catavolt beat me to it!!!!
     
    Last edited:

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Home Country
    Germany Germany
    Thx, i had this in there about 1000 times, with the type, but without the unfocusedalpha - that was my last try & then i forget the type!

    Ok, have to set my unfocusedalpha to my default group to 255 and remember to add the type. It works!

    Video will follow.
     

    Users who are viewing this thread

    Top Bottom