equal
deleted
inserted
replaced
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 { |