home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning Engine: XBMC like Reflections
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Frodo" data-source="post: 128462" data-attributes="member: 10277"><p>I added reflection to the <image> and <menu> controls.</p><p></p><p>example for image:</p><p>[code]</p><p> <control></p><p> <description>some image</description></p><p> <type>image</type></p><p> <id>1</id></p><p> <posX>100</posX></p><p> <posY>100</posY></p><p> <width>100</width></p><p> <height>100</height></p><p> <texture flipY="true" diffuse="Thumb_Mask.png">cdimage.png</texture></p><p> </control></p><p>[/code]</p><p></p><p></p><p>Example for menu:</p><p>[code]</p><p></p><p> <control></p><p> <description>Menu</description></p><p> <type>menu</type></p><p> <animation effect="fade" time="250">WindowOpen</animation></p><p> <animation effect="fade" time="500">WindowClose</animation></p><p> <animation effect="zoom" start="20,20" end="100,100" center="384,288" time="500">WindowOpen</animation></p><p> <animation effect="zoom" start="100,100" end="20,20" center="384,288" time="500">WindowClose</animation></p><p> <id>50</id></p><p> <posX>370</posX></p><p> <posY>130</posY></p><p> <width>310</width></p><p> <textcolor>ffffffff</textcolor></p><p> <textColorNoFocus>ffa9d0f7</textColorNoFocus></p><p> <dimColor>80ffffff</dimColor></p><p> <buttonTextXOff>48</buttonTextXOff></p><p> <buttonTextYOff>6</buttonTextYOff></p><p> <buttonOffset>25</buttonOffset></p><p> <buttonFont>font16</buttonFont></p><p> <buttonHeight>45</buttonHeight></p><p> <spaceBetweenButtons>18</spaceBetweenButtons></p><p> <numberOfButtons>5</numberOfButtons></p><p> <textureButtonFocus>hp_selectionbar.png</textureButtonFocus></p><p> <textureButtonNoFocus>-</textureButtonNoFocus></p><p> <hoverX>100</hoverX></p><p> <hoverY>200</hoverY></p><p> <hoverWidth>230</hoverWidth></p><p> <hoverHeight>225</hoverHeight></p><p> <hoverKeepAspectratio>yes</hoverKeepAspectratio></p><p> <scrollTime>120</scrollTime></p><p> <scrollTimeMin>60</scrollTimeMin></p><p> <textureBackground>background_glass_menu_area.png</textureBackground></p><p> <onright>13</onright></p><p> <onleft>10</onleft></p><p> <hover flipY="true" diffuse="Thumb_Mask.png"/></p><p> </control></p><p>[/code]</p><p></p><p></p><p>For bluetwo reflections are not usable at this moment.</p><p>Reason:</p><p>- most are to big in height (the 'real' image is like 100pixels height, but the entire png is 200 pixels height)</p><p>- many images (all hovers) already include reflection</p><p></p><p></p><p>Frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 128462, member: 10277"] I added reflection to the <image> and <menu> controls. example for image: [code] <control> <description>some image</description> <type>image</type> <id>1</id> <posX>100</posX> <posY>100</posY> <width>100</width> <height>100</height> <texture flipY="true" diffuse="Thumb_Mask.png">cdimage.png</texture> </control> [/code] Example for menu: [code] <control> <description>Menu</description> <type>menu</type> <animation effect="fade" time="250">WindowOpen</animation> <animation effect="fade" time="500">WindowClose</animation> <animation effect="zoom" start="20,20" end="100,100" center="384,288" time="500">WindowOpen</animation> <animation effect="zoom" start="100,100" end="20,20" center="384,288" time="500">WindowClose</animation> <id>50</id> <posX>370</posX> <posY>130</posY> <width>310</width> <textcolor>ffffffff</textcolor> <textColorNoFocus>ffa9d0f7</textColorNoFocus> <dimColor>80ffffff</dimColor> <buttonTextXOff>48</buttonTextXOff> <buttonTextYOff>6</buttonTextYOff> <buttonOffset>25</buttonOffset> <buttonFont>font16</buttonFont> <buttonHeight>45</buttonHeight> <spaceBetweenButtons>18</spaceBetweenButtons> <numberOfButtons>5</numberOfButtons> <textureButtonFocus>hp_selectionbar.png</textureButtonFocus> <textureButtonNoFocus>-</textureButtonNoFocus> <hoverX>100</hoverX> <hoverY>200</hoverY> <hoverWidth>230</hoverWidth> <hoverHeight>225</hoverHeight> <hoverKeepAspectratio>yes</hoverKeepAspectratio> <scrollTime>120</scrollTime> <scrollTimeMin>60</scrollTimeMin> <textureBackground>background_glass_menu_area.png</textureBackground> <onright>13</onright> <onleft>10</onleft> <hover flipY="true" diffuse="Thumb_Mask.png"/> </control> [/code] For bluetwo reflections are not usable at this moment. Reason: - most are to big in height (the 'real' image is like 100pixels height, but the entire png is 200 pixels height) - many images (all hovers) already include reflection Frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Skinning Engine: XBMC like Reflections
Contact us
RSS
Top
Bottom