uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectParser.cpp
branchGCC_SURGE
changeset 36 a7cff2fbd499
parent 19 f5bac0badc7e
equal deleted inserted replaced
33:bb0f3b79fdbe 36:a7cff2fbd499
   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                 }