I added reflection to the <image> and <menu> controls.
example for image:
Example for menu:
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
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>
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>
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