uiacceltk/hitchcock/ServerCore/Inc/alfbridge.h
branchRCL_3
changeset 12 f93c875b566e
parent 10 7c5dd702d6d3
child 13 3a60ebea00d0
equal deleted inserted replaced
10:7c5dd702d6d3 12:f93c875b566e
    64                         TInt aHandle,
    64                         TInt aHandle,
    65                         CHuiVisual* aEffectedVisual,
    65                         CHuiVisual* aEffectedVisual,
    66                         CHuiVisual* aTemporaryPresenterVisual,
    66                         CHuiVisual* aTemporaryPresenterVisual,
    67                         TBool aIsLayout, 
    67                         TBool aIsLayout, 
    68                         TBool aHideWhenFinished,
    68                         TBool aHideWhenFinished,
    69                         TBool aCanDestroyOrHideImmediately) 
    69                         TBool aCanDestroyOrHideImmediately,
       
    70                         TBool aIsFullScreenEffect) 
    70                 : iHandle(aHandle), 
    71                 : iHandle(aHandle), 
    71                 iEffectedVisual(aEffectedVisual),
    72                 iEffectedVisual(aEffectedVisual),
    72                 iTemporaryPresenterVisual(aTemporaryPresenterVisual),
    73                 iTemporaryPresenterVisual(aTemporaryPresenterVisual),
    73                 iIsLayout(aIsLayout),
    74                 iIsLayout(aIsLayout),
    74                 iHideWhenFinished(aHideWhenFinished),
    75                 iHideWhenFinished(aHideWhenFinished),
    75                 iCanDestroyOrHideImmediately(aCanDestroyOrHideImmediately)
    76                 iCanDestroyOrHideImmediately(aCanDestroyOrHideImmediately),
       
    77                 iIsFullScreenEffect(aIsFullScreenEffect)
    76                         {
    78                         {
    77 //                        RDebug::Printf("TEffectCleanupStruct - 0x%x 0x%x, %d", iEffectedVisual, iTemporaryPresenterVisual, iIsLayout );
    79 //                        RDebug::Printf("TEffectCleanupStruct - 0x%x 0x%x, %d", iEffectedVisual, iTemporaryPresenterVisual, iIsLayout );
    78                         };
    80                         };
    79 
    81 
    80                 TInt iHandle;
    82                 TInt iHandle;
    82                 TBool iIsLayout;
    84                 TBool iIsLayout;
    83 
    85 
    84                 TBool iHideWhenFinished;
    86                 TBool iHideWhenFinished;
    85                 
    87                 
    86                 TBool iCanDestroyOrHideImmediately;
    88                 TBool iCanDestroyOrHideImmediately;
    87 				
    89 
       
    90                 TBool iIsFullScreenEffect;
       
    91                 
    88 				// not own, unless iEffectedVisual has EShouldDestroy flag enabled
    92 				// not own, unless iEffectedVisual has EShouldDestroy flag enabled
    89                 CHuiVisual* iEffectedVisual;
    93                 CHuiVisual* iEffectedVisual;
    90 				// owned
    94 				// owned
    91                 CHuiVisual* iTemporaryPresenterVisual;
    95                 CHuiVisual* iTemporaryPresenterVisual;
    92             };
    96             };
   425 	 *
   429 	 *
   426 	 *
   430 	 *
   427 	 *	@return	ETrue, 	if layout have been initialized succesfully for the effect
   431 	 *	@return	ETrue, 	if layout have been initialized succesfully for the effect
   428 	 			EFalse,	if any visuals have been removed. Effect should not be applied.
   432 	 			EFalse,	if any visuals have been removed. Effect should not be applied.
   429      */
   433      */
   430     TBool SetupEffectLayoutContainerL(TInt aHandle,CHuiLayout* aSourceLayout, TBool aIsExitEffect, TBool aCanDestroyOrHideImmediately);
   434     TBool SetupEffectLayoutContainerL(TInt aHandle,CHuiLayout* aSourceLayout, TBool aIsFullScreenEffect, TBool aIsExitEffect, TBool aCanDestroyOrHideImmediately);
   431 
   435 
   432     /*
   436     /*
   433      *	AddEffectItemL
   437      *	AddEffectItemL
   434 	 *
   438 	 *
   435 	 *	Prepares visual for the effect. Removes previous effect if necessary. @aItemDestroyed will return EFalse,
   439 	 *	Prepares visual for the effect. Removes previous effect if necessary. @aItemDestroyed will return EFalse,
   442             CHuiVisual* aSourceVisual, 
   446             CHuiVisual* aSourceVisual, 
   443             CHuiLayout* aTargetLayout, 
   447             CHuiLayout* aTargetLayout, 
   444             CHuiControl* aEffectControl,
   448             CHuiControl* aEffectControl,
   445             TBool aInsertTemporaryVisual,
   449             TBool aInsertTemporaryVisual,
   446             TBool& aItemDestroyed,
   450             TBool& aItemDestroyed,
       
   451             TBool aIsFullScreenEffect,
   447             TBool aIsExitEffect = EFalse,
   452             TBool aIsExitEffect = EFalse,
   448             TBool aCanDestroyOrHideImmediately = EFalse);
   453             TBool aCanDestroyOrHideImmediately = EFalse
       
   454             );
   449             
   455             
   450 
   456 
   451     /*
   457     /*
   452      *	AddToEffectLayoutContainerL
   458      *	AddToEffectLayoutContainerL
   453      */
   459      */
   455             TInt aEffectHandle,
   461             TInt aEffectHandle,
   456             CHuiLayout* aSourceLayout, 
   462             CHuiLayout* aSourceLayout, 
   457             CHuiLayout* aTargetLayout,
   463             CHuiLayout* aTargetLayout,
   458             CHuiControl* aEffectControlGroup,
   464             CHuiControl* aEffectControlGroup,
   459             TInt& aItemsDestroyed,
   465             TInt& aItemsDestroyed,
       
   466             TBool aIsFullScreenEffect,
   460             TBool aAddLayout = ETrue,
   467             TBool aAddLayout = ETrue,
   461             TBool aIsExitEffect = EFalse,
   468             TBool aIsExitEffect = EFalse,
   462             TBool aCanDestroyOrHideImmediately = EFalse);
   469             TBool aCanDestroyOrHideImmediately = EFalse);
   463 
   470 
   464     /*
   471     /*