skinning problems
#1
I'm trying to get visualisation/videowindow in my skin, using the following code (in includes.xml):

Code:
<include name="background">
    <control type="visualisation">
      <description>visualisation</description>
      <posx>0</posx>
      <posy>550</posy>
      <width>1280</width>
      <height>170</height>
      <visible>!Skin.HasSetting(HomeViewToggle)</visible>
    </control>

     <control type="videowindow">
       <description>video preview window</description>
       <posx>0</posx>
       <posy>550</posy>
       <width>1280</width>
       <height>170</height>
       <visible>!Skin.HasSetting(HomeViewToggle)</visible>
     </control>

   <control>
      <description>stonebackground</description>
      <type>image</type>
      <posx>0</posx>
      <posy>0</posy>
      <width>1280</width>
      <height>720</height>
      <texture>stenen.png</texture>
      <visible>!Player.HasMedia | Skin.HasSetting(HomeViewToggle)</visible>
      <include>startup-image</include>
    </control>

But the background stays black:
Image

When i try a video, it does show up. (the videocounter is visible in win32)
As the code for the visualisation is the same, it should work, no?

Another problem i'm having:

Image

The border has to be invisible when the video doesn't have a thumbnail.
I tried with:
Code:
<visible>Container.HasThumb</visible>
But that does not seem to work.
Anyone that can help?
Reply
#2
why can't you just lay down a default icon first (a black rectangle), then lay your thumb over that, then lay your border down last.
Reply

Logout Mark Read Team Forum Stats Members Help
skinning problems0