uiacceltk/hitchcock/coretoolkit/inc/HuiFxEffect.h
changeset 13 8f67d927ea57
parent 0 15bf7259bb7c
child 19 f5bac0badc7e
equal deleted inserted replaced
0:15bf7259bb7c 13:8f67d927ea57
    27 class CHuiFxLayer;
    27 class CHuiFxLayer;
    28 class CHuiFxGroupLayer;
    28 class CHuiFxGroupLayer;
    29 class MHuiEffectable;
    29 class MHuiEffectable;
    30 // Hui Effect Flags
    30 // Hui Effect Flags
    31 // The flags must be 1 bit flags to allow several to be set simultaneously (if needed)
    31 // The flags must be 1 bit flags to allow several to be set simultaneously (if needed)
    32 const TInt KHuiFlagsNone = 0x00000000;
    32 const TInt KHuiFlagsNone = 0x0;
    33 const TInt KHuiFadeEffectFlag = 0x00000001;
    33 
       
    34 /** Effect is system fade effect */
       
    35 const TInt KHuiFadeEffectFlag = 0x1;
       
    36 
       
    37 /** Effect does not use margins. It is clipped inside its area. */
    34 const TInt KHuiFxEffectDisableMarginsFlag = 0x2;
    38 const TInt KHuiFxEffectDisableMarginsFlag = 0x2;
       
    39 
       
    40 /** Effect is not applied to children visuals. */
    35 const TInt KHuiFxEffectExcludeChildrenFlag = 0x4;
    41 const TInt KHuiFxEffectExcludeChildrenFlag = 0x4;
       
    42 
       
    43 /** Effect is grouped and syncronized with other effect(s)*/
    36 const TInt KHuiFxWaitGroupSyncronization = 0x8;
    44 const TInt KHuiFxWaitGroupSyncronization = 0x8;
       
    45 
       
    46 /** Effect duration is started after it has first time been drawn. */
    37 const TInt KHuiFxDelayRunUntilFirstFrameHasBeenDrawn = 0x10;
    47 const TInt KHuiFxDelayRunUntilFirstFrameHasBeenDrawn = 0x10;
       
    48 
       
    49 /** Background pixels are not read even if effect would be applied to background. */
    38 const TInt KHuiFxDisableBackground = 0x20;
    50 const TInt KHuiFxDisableBackground = 0x20;
       
    51 
       
    52 /** Effect content is composited using blending even if normally it would require other mode */ 
    39 const TInt KHuiFxAlwaysBlend = 0x40;
    53 const TInt KHuiFxAlwaysBlend = 0x40;
       
    54 
       
    55 /** Effect content is marked to produce opaque content on the screen. This can be used to avoid drawing unnecessarely under the effect area. */
       
    56 const TInt KHuiFxOpaqueHint = 0x80;
       
    57 
       
    58 /** Background pixels are read for every layer. This is used for fading legacy ALF content only. */
       
    59 const TInt KHuiFxEnableBackgroundInAllLayers = 0x100;
       
    60 
       
    61 /** Background pixels are not read for every frame (only once in a while), thus background content looks frozen if it is visible. */
       
    62 const TInt KHuiFxFrozenBackground = 0x200;
    40 
    63 
    41 class MAlfGfxEffectObserver
    64 class MAlfGfxEffectObserver
    42     {
    65     {
    43     public:
    66     public:
    44     	/**
    67     	/**