uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectParser.cpp
branchRCL_3
changeset 18 1801340c26a2
parent 17 c9d868f1e20c
child 19 e5af45d51884
equal deleted inserted replaced
17:c9d868f1e20c 18:1801340c26a2
   727         case ENodeTypeKeyFrame:
   727         case ENodeTypeKeyFrame:
   728             {
   728             {
   729             TReal32 time = ParseFloatAttributeL(aNode, KLitAt);
   729             TReal32 time = ParseFloatAttributeL(aNode, KLitAt);
   730             TReal32 aux1 = ParseFloatAttributeL(aNode, KLitAux1, EFalse);
   730             TReal32 aux1 = ParseFloatAttributeL(aNode, KLitAux1, EFalse);
   731             TReal32 aux2 = ParseFloatAttributeL(aNode, KLitAux2, EFalse);
   731             TReal32 aux2 = ParseFloatAttributeL(aNode, KLitAux2, EFalse);
   732             VALUE_TYPE value = ParseAnimationKeyFrameValueL<PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine);
   732             VALUE_TYPE value = ParseAnimationKeyFrameValueL<typename PARAM_TYPE::ValueType, TIMELINE_TYPE>(aNode->FirstChild(), aTimeLine);
   733             TRAPD(err, aTimeLine.AppendKeyFrameL(time, value, aux1, aux2));
   733             TRAPD(err, aTimeLine.AppendKeyFrameL(time, value, aux1, aux2));
   734             if (err != KErrNone)
   734             if (err != KErrNone)
   735                 {
   735                 {
   736                 FAIL(KErrGeneral, _L("Unable to append new key frame to timeline"));
   736                 FAIL(KErrGeneral, _L("Unable to append new key frame to timeline"));
   737                 }
   737                 }