General Category > General Discussion & Help

Reloadable Items inside a container

(1/1)

Sleeps5:
I'm trying to build a layout that uses only what's available in the users medium and system artwork folders.  And I'm using containers to "draw" the layout, but I'm limited to squares and rotation.  I wanted to display a video inside a rotated square container, but have the video left alone, but only visible inside the container.  is this possible?

I tried this, but the code doesn't work.
<container backgroundColor="0000ff" x="center" y="center" angle="45" xOffset="0" yOffset="0" backgroundAlpha=".15" height="200" width="200" layer="3">
<reloadableVideo imageType="screenshot" height="400" width="400" layer="2"/>
</container>

This has it in the correct space, but the video is of course rotated.  I can make the video smaller and the container tags limit the visibility as expected.  But in all instances the video is rotated also.
<reloadableVideo imageType="screenshot" x="center" y="center" xOffset="340" yOffset="-100" height="400" width="400" containerX="1300" containerY="440" angle="45" layer="2"/>

Pieter Hulshoff:
I'm afraid not. RetroFE uses 2D SDL, and so the container code is just a simple view window I implemented. Creating a rotated view window is a lot harder to do. I'll give it some thought though.

Navigation

[0] Message Index

Go to full version