[mythtv-commits] Ticket #10256: Animation support
MythTV
noreply at mythtv.org
Wed Jan 11 23:21:23 UTC 2012
#10256: Animation support
---------------------------------------------+----------------------------
Reporter: Jonatan <mythtv@…> | Owner: stuartm
Type: Patch - Feature | Status: new
Priority: minor | Milestone: 0.25
Component: MythTV - User Interface Library | Version: Trunk Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------------+----------------------------
Changes (by stuartm):
* version: Unspecified => Trunk Head
* milestone: unknown => 0.25
Comment:
Thanks for the patch.
I once proposed a different xml markup for animations, I think it would be
worth getting it right from the start. I don't have the original to hand
but it went something like this:
{{{
<animation name="showing" trigger="AboutToShow">
<unit duration="500"> <!-- duration can also be specified per item if
different -->
<move start="x,y" end="x2,y2" path="linear" easingcurve="OutQuart"
/>
<alpha start="0" end="255" />
</unit>
<wait duration="100">
<unit>
<!-- No second unit in your example, but units would occur in
sequence instead of parallel -->
</unit>
</animation>
<animation name="hiding" trigger="AboutToHide">
<!-- Well you get the idea -->
</animation>
}}}
I wonder if we can't find a more readily understandable names for
easingcurve and it's various values, not essential since their meaning can
be found through google but for example 'outQuart' could be 'decelerating'
which no-one would need to google.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10256#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list