775 TTime time; |
775 TTime time; |
776 time.UniversalTime(); |
776 time.UniversalTime(); |
777 AMT_ADD_TIME(params->iHandle, time.Int64(), ETrue); |
777 AMT_ADD_TIME(params->iHandle, time.Int64(), ETrue); |
778 #endif |
778 #endif |
779 CHuiFxEffect* effect = NULL; |
779 CHuiFxEffect* effect = NULL; |
780 engine->LoadEffectL( params->iFileName, effect, iVisual->Effectable(), NULL , NULL, params->iHandle, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ); |
780 // Note: alf effects do not support taking screenshot |
|
781 // Note: alf effects do not support freezing. |
|
782 engine->LoadEffectL( params->iFileName, effect, iVisual->Effectable(), NULL , NULL, params->iHandle, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ); |
|
783 iVisual->SetFreezeState(EFalse); |
781 // The effect will be automatically set to the visual if parsing succeeds |
784 // The effect will be automatically set to the visual if parsing succeeds |
782 } |
785 } |
783 break; |
786 break; |
784 } |
787 } |
785 case EAlfVisualSetGroupEffect: |
788 case EAlfVisualSetGroupEffect: |
796 #endif |
799 #endif |
797 CHuiFxEffect* effect = NULL; |
800 CHuiFxEffect* effect = NULL; |
798 // this will add the group, if it does not exist already |
801 // this will add the group, if it does not exist already |
799 // Begin and End group events are supposed to come through GfxTransEffect API. |
802 // Begin and End group events are supposed to come through GfxTransEffect API. |
800 engine->BeginGroupEffect(groupHandle); |
803 engine->BeginGroupEffect(groupHandle); |
|
804 // Note: alf effects do not support taking screenshot |
|
805 // Note: alf effects do not support freezing. |
801 engine->LoadGroupEffectL( params->iFileName, effect, iVisual->Effectable(),groupHandle, NULL, NULL, params->iHandle, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ); |
806 engine->LoadGroupEffectL( params->iFileName, effect, iVisual->Effectable(),groupHandle, NULL, NULL, params->iHandle, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ); |
|
807 iVisual->SetFreezeState(EFalse); |
802 // The effect will be automatically set to the visual if parsing succeeds |
808 // The effect will be automatically set to the visual if parsing succeeds |
803 } |
809 } |
804 break; |
810 break; |
805 } |
811 } |
806 case EAlfVisualRemoveEffect: |
812 case EAlfVisualRemoveEffect: |
807 { |
813 { |
808 iVisual->SetEffect(NULL); |
814 iVisual->SetEffect(NULL); |
|
815 iVisual->SetFreezeState(EFalse); // Note: alf effects do not support freezing. |
809 break; |
816 break; |
810 } |
817 } |
811 |
818 |
812 default: |
819 default: |
813 |
820 |