uifw/EikStd/coctlsrc/AknButton.cpp
branchRCL_3
changeset 64 85902f042028
parent 59 978afdc0236f
child 72 a5e7a4f63858
equal deleted inserted replaced
59:978afdc0236f 64:85902f042028
  2305         CAknButtonState* state = State();
  2305         CAknButtonState* state = State();
  2306         if ( !state )
  2306         if ( !state )
  2307             {
  2307             {
  2308             return;
  2308             return;
  2309             }            
  2309             }            
  2310         TBool hitArea( EFalse );
  2310         //Using HitAreaContainsL() to verify whether pointer event locates in valid area
  2311         TRAP_IGNORE( hitArea = HitAreaContainsL( aPointerEvent.iPosition, EFalse ))
  2311         //when KAknButtonHitTest is defined.
  2312         if ( ( iFlags & KAknButtonHitTest ) && !hitArea )
  2312         if ( iFlags & KAknButtonHitTest ) 
  2313             {
  2313             {
  2314             buttonEvent = EFalse;
  2314             TRAP_IGNORE( buttonEvent = HitAreaContainsL( aPointerEvent.iPosition, EFalse ))     
  2315             }
  2315             }
  2316         
  2316         
  2317         TBool redrawNeeded(EFalse);
  2317         TBool redrawNeeded(EFalse);
  2318         switch ( aPointerEvent.iType )
  2318         switch ( aPointerEvent.iType )
  2319             {
  2319             {