Flip textbox control (flip-x and flip-y / mirror-x and mirror-y)
#1
Lightbulb 
Is it possible to add a flipx or flipy attribute to textboxes/labels as it is to textures?
Reply
#2
no but why ?
so you have to look at it in a mirror ?
or are you looking for a mirror effect like the icons
Reply
#3
I'm looking for the mirror effect so dynamic text can be included in reflections. To make this possible...

Image
Reply
#4
That looks silly to me, but it's probably possible using a rotate of 180 degrees about the x axis, centred appropriately.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Rotate about x axis would result in the text being upside down but not a mirror image, wouldn't it?
Not quite right for reflections, thanks for the suggestion though.

EDIT: Wow really wasn't awake when I wrote that. Yes, x-axis would do it but don't think there is any other way of doing it apart from the flip attribute is there?
Reply
#6
It's an animation type. rotatex or something like that. You do a conditional animation with the condition as true (i.e. always applied).

See the PM3 coverflow stuff for a rotate about y axis, and modify accordingly.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#7
Thanks Jonathan, I'll take a look.
Reply
#8
<animation effect="rotatex" start="180" end="180" time="0" center="[bottom of the panel]" condition="true">conditional</animation>
  • Livingroom - C2D E8400, P5N7A-VM on a Samsung 46" LE46M86 FullHD via HDMI
  • Kitchen - ASRock 330 HT Displayed on a Samsung Lapfit 22" dual touch screen LD220Z
  • Bedroom - LG Laptop on a 32" tv
Reply
#9
Does that give it the 'mirror' looking effect then? Huh
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
Gamester17 Wrote:Does that give it the 'mirror' looking effect then? Huh

Yep, works a treat.
Only just got home from work, havn't had a chance to try it until now.

Cheers guys! Big Grin
Reply
#11
i think with everything else reflected it looks good. Smile
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#12
I wasn't too sure how it would turn out (if at all) like the idea in my head but I think it works pretty well...

Image

Image

EDIT: Apart from the '1/2' label I've just noticed half way up the page!
Reply
#13
Turn the spinner off.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Flip textbox control (flip-x and flip-y / mirror-x and mirror-y)0