Calling for help from the skinner's deep hell (1 Viewer)

Fidoboy

Portal Pro
April 27, 2006
216
0
Spain
Ok, i'm working really hard to make a new skin for MediaPortal. But there is some dark points that i need to clarify:

- How can i change the position for the video and tv overlay FOR EACH screen?. For example, i want to have a given position in main home screen and another for other screens.

- How can i set the selected text color for buttons?. I want to have one text color for unselected buttons and a different one for the selected button.

- It's possible to use shadows in labels? (i want to mean drop shadows)

- Can i rotate labels?

- It's possible to set the transparency level for a image (png, jpg)

- how can i use the hourglass graphic? for example, when entering my pictures it takes some time, and i want to display a waiting picture...

for the moment, i think that this is enough... :wink:

Thanks in advance,
 

Vanessa

Portal Pro
May 31, 2006
329
1
Fidoboy said:
Ok, i'm working really hard to make a new skin for MediaPortal. But there is some dark points that i need to clarify:

- How can i change the position for the video and tv overlay FOR EACH screen?. For example, i want to have a given position in main home screen and another for other screens.

- How can i set the selected text color for buttons?. I want to have one text color for unselected buttons and a different one for the selected button.

- It's possible to use shadows in labels? (i want to mean drop shadows)

- Can i rotate labels?

- It's possible to set the transparency level for a image (png, jpg)

- how can i use the hourglass graphic? for example, when entering my pictures it takes some time, and i want to display a waiting picture...

for the moment, i think that this is enough... :wink:

Thanks in advance,

haha :) i have the same questions.
 

mofux

Portal Designer
  • Premium Supporter
  • January 27, 2006
    678
    34
    Dresden, Germany
    - How can i change the position for the video and tv overlay FOR EACH screen?. For example, i want to have a given position in main home screen and another for other screens.

    there should be an image with the id "99" in each screen - move that arround. if it's not there make yourself such an image (with id 99) - i hope i remember right there

    - How can i set the selected text color for buttons?. I want to have one text color for unselected buttons and a different one for the selected button.

    it seems that this isn't supported currently :( but i guess it we be inm soon

    - It's possible to use shadows in labels? (i want to mean drop shadows)
    - Can i rotate labels?

    no, not possible

    - It's possible to set the transparency level for a image (png, jpg)

    yes! <colordiffuse>a0ffffff</colordiffuse> sets the alpha to a0 f.e.

    - how can i use the hourglass graphic? for example, when entering my pictures it takes some time, and i want to display a waiting picture...
    as far as i know this is hardcoded (hourglasses aren't that easy to implement as you need a seperate thread)
     

    Fidoboy

    Portal Pro
    April 27, 2006
    216
    0
    Spain
    mofux said:
    - How can i change the position for the video and tv overlay FOR EACH screen?. For example, i want to have a given position in main home screen and another for other screens.

    there should be an image with the id "99" in each screen - move that arround. if it's not there make yourself such an image (with id 99) - i hope i remember right there

    I'm trying right now, but i have no luck... i've added this code in BasicHome.xml:

    Code:
    <control>
    			<description>video preview window</description> 
    			<type>videowindow</type> 
    			<id>99</id> 
    			<posX>511</posX> 
    			<posY>410</posY> 
    			<width>135</width> 
    			<height>108</height> 
    			<action>18</action>
    			<textureFocus>tv_green_border.png</textureFocus> 
    		</control>

    I get a black rectangle (it's showed even if there is no video playing) and when i play a video, another overlay rectangle is displayed this time with the movie. But my overlay rectangle is not working.. :?

    Can u explain it better? Can u post a piece of code here?

    Thanks in advance,
     

    mofux

    Portal Designer
  • Premium Supporter
  • January 27, 2006
    678
    34
    Dresden, Germany
    oh, i think you need to disable allowOverlay in order to use it

    <allowOverlay>no</allowOverlay> at the top of your xml file

    another thing (i'm not completely sure on that)

    try to make the <type>image</type> instead of videowindow
     

    Harley

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

    i think the only way to have the overlay on different points in the screens is to delete this in videooverlay.xml

    <control>
    <description>video rectangle</description>
    <type>image</type>
    <id>0</id>
    <posX>75</posX>
    <posY>399</posY>
    <width>161</width>
    <height>134</height>
    <texture>playback_background.png</texture>
    <colorkey>0</colorkey>
    <colordiffuse>ffffffff</colordiffuse>
    </control>
    <control>
    <description>video preview window</description>
    <type>videowindow</type>
    <id>1</id>
    <posX>86</posX>
    <posY>410</posY>
    <width>135</width>
    <height>108</height>
    <action>18</action>
    <textureFocus>tv_green_border.png</textureFocus>
    </control>

    ..and set it in each screen, you will have the Videowindow with different positions x and y

    Greetings Harley :)
     

    Fidoboy

    Portal Pro
    April 27, 2006
    216
    0
    Spain
    Great idea Harley, it should work, i'll try it later... And about the selected color for text in the buttons, could be included in the next release? I think that it should be easy...
     

    Fidoboy

    Portal Pro
    April 27, 2006
    216
    0
    Spain
    I'm testing right now, and it works, but there is a problem, the rectangle remains even if there is no video playing :? How could i avoid this?
     

    Users who are viewing this thread

    Top Bottom