Layers (1 Viewer)

kolizz

Portal Member
April 19, 2006
16
0
Sweden
Hi!

I'm kinda new to MediaPortal and I already like the program a lot. I had this idea how i wanted my HTPC-frontend to look though, and that idea requires a new skin. After some playing around with the XML's I found out the hover image is under the menu selection images (the skin uses the screens full width for the selectors), which is not the way I want it. Is it possible to do a nasty work-around for this or is coding work required? Any ideas on how to solve it?

Images: The way it looks now and the way I want it to look.

Thanks in advance!
 

kolizz

Portal Member
April 19, 2006
16
0
Sweden
That wouldn't solve the problem with the hover image being behind the selection image (which is like 75% transparent, it's maybe a bit hard to see).
 

antonyfirewalk

Portal Member
November 28, 2004
46
0
UK
Hi there, i dont know if this would work but you could try changing home.xml so that the button graphic is read b4 hover ie
<control>
<description>template for button</description>
<type>button</type>
<id>1001</id>
<posX>400</posX>
<posY>160</posY>
<width>225</width>
<textXOff>10</textXOff>
<textYOff>8</textYOff>
<height>49</height>
<label>605</label>
<font>font16</font>
<texture>hp_selectionbar.png</texture>
<textureFocus>hp_selectionbar.png</textureFocus>
<textureNoFocus>-</textureNoFocus>
<visible>no</visible>
<textcolor>ffffffff</textcolor>
</control>
<control>
<description>template for hover image</description>
<type>image</type>
<id>1000</id>
<posX>85</posX>
<posY>200</posY>
<align>center</align>
<texture>-</texture>
<visible>no</visible>
</control>

as i say i dont know if it will work(but worth a try).good luck

Antony
 

kolizz

Portal Member
April 19, 2006
16
0
Sweden
Hi antonyfirewalk,

Thanks for you reply. I've tried that before, but gave it another chance. Tried to place the hover both first and last in the xml without any luck.


I have also noticed that all the objects got id's that seem to be equal to 'layers' - a higher number is always on top on a lower one. Is there any way to make a 'fake' object that just points at another one with an higher id (since just changing the id breaks that object as it seems to be used to identify the objects as hover images, time strings and so on)? Is there some way to play around with id's at all?
 

MrMario64

Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    hovers r hardcoded on a certain layer, sorry. Needs a code change if you want it to work on the normal home page.

    You can get it to work I think in the basichome.
     

    kolizz

    Portal Member
    April 19, 2006
    16
    0
    Sweden
    I was afraid of that. Is it possible that this will be changed in the near future? Are there any work-arounds avaliable?

    Any hints on where in the code I should look to modify this?
     

    MrMario64

    Retired Team Member
  • Premium Supporter
  • April 22, 2004
    822
    1
    50
    Home Country
    Netherlands Netherlands
    will not be added for .2

    But will most likely be done afterwards yes.
    No plan on a date or anyhting.
    try basichome.
     

    kolizz

    Portal Member
    April 19, 2006
    16
    0
    Sweden
    OK.

    I was a bit unclear, what I meant was: where in the program code should I look to modify it? Checked the source and got a bit confused.
     

    Users who are viewing this thread

    Top Bottom