equal
deleted
inserted
replaced
3159 CXnDomAttribute* attribute( static_cast< CXnDomAttribute* > |
3159 CXnDomAttribute* attribute( static_cast< CXnDomAttribute* > |
3160 ( list.FindByName( effectid ) ) ); |
3160 ( list.FindByName( effectid ) ) ); |
3161 |
3161 |
3162 if ( attribute ) |
3162 if ( attribute ) |
3163 { |
3163 { |
|
3164 |
3164 const TDesC8& value( attribute->Value() ); |
3165 const TDesC8& value( attribute->Value() ); |
3165 TLex8 lex( value ); |
3166 TLex8 lex( value ); |
3166 TInt effect; |
3167 TInt effect; |
3167 lex.Val( effect ); |
3168 lex.Val( effect ); |
|
3169 |
3168 aEngine.AppUiAdapter().EffectManager()->BeginFullscreenEffectL( |
3170 aEngine.AppUiAdapter().EffectManager()->BeginFullscreenEffectL( |
3169 effect, aEngine.ViewManager()->ActiveViewData() ); |
3171 effect, aEngine.ViewManager()->ActiveViewData() ); |
|
3172 |
3170 } |
3173 } |
3171 } |
3174 } |
3172 |
3175 |
3173 // ----------------------------------------------------------------------------- |
3176 // ----------------------------------------------------------------------------- |
3174 // RunActivateViewL |
3177 // RunActivateViewL |
4319 { |
4322 { |
4320 aEngine.Editor()->RemoveWidgetL( aEngine.FocusedNode() ); |
4323 aEngine.Editor()->RemoveWidgetL( aEngine.FocusedNode() ); |
4321 } |
4324 } |
4322 else if ( nameString == XnPropertyNames::action::event::KRunFullScreenEffect ) |
4325 else if ( nameString == XnPropertyNames::action::event::KRunFullScreenEffect ) |
4323 { |
4326 { |
4324 RunFullScreenEffectL( aEngine, aEventNode ); |
4327 TInt viewCount( aEngine.ViewManager()->ViewAmount() ); |
|
4328 |
|
4329 if ( viewCount > KOneView ) |
|
4330 { |
|
4331 RunFullScreenEffectL( aEngine, aEventNode ); |
|
4332 } |
4325 } |
4333 } |
4326 else if ( nameString == XnPropertyNames::action::event::KActivateNextView ) |
4334 else if ( nameString == XnPropertyNames::action::event::KActivateNextView ) |
4327 { |
4335 { |
4328 RunActivateNextViewL( aEngine ); |
4336 RunActivateNextViewL( aEngine ); |
4329 } |
4337 } |