phoneapp/phoneuiview/src/cphonebuttonscontroller.cpp
branchRCL_3
changeset 20 3c221667e687
parent 7 544e34b3255a
equal deleted inserted replaced
14:b8d67d6176f5 20:3c221667e687
   351                 iFlags &= ~EButtonsDimSilence;
   351                 iFlags &= ~EButtonsDimSilence;
   352                 break;
   352                 break;
   353             case EPhoneInCallCmdCreateConference:
   353             case EPhoneInCallCmdCreateConference:
   354                 iFlags &= ~EButtonsDimCreateConference;
   354                 iFlags &= ~EButtonsDimCreateConference;
   355                 break;
   355                 break;
       
   356             case EPhoneInCallCmdHold:
       
   357                 iFlags &= ~EButtonsDimHold;
       
   358                 break;
   356             default:
   359             default:
   357                 break;                
   360                 break;                
   358             }
   361             }
   359 
   362 
   360         SetButtonDimming(); 
   363         SetButtonDimming(); 
   386                 iFlags |= EButtonsDimSilence;
   389                 iFlags |= EButtonsDimSilence;
   387                 break;
   390                 break;
   388            case EPhoneInCallCmdCreateConference:
   391            case EPhoneInCallCmdCreateConference:
   389                 iFlags |= EButtonsDimCreateConference;
   392                 iFlags |= EButtonsDimCreateConference;
   390                 break;
   393                 break;
       
   394            case EPhoneInCallCmdHold:
       
   395                 iFlags |= EButtonsDimHold;
       
   396                 break;
   391             default:
   397             default:
   392                 break;                
   398                 break;                
   393             }
   399             }
   394 
   400 
   395         SetButtonDimming(); 
   401         SetButtonDimming(); 
   624                     }
   630                     }
   625                 break;    
   631                 break;    
   626                 }
   632                 }
   627             case EPhoneInCallCmdHold:
   633             case EPhoneInCallCmdHold:
   628                 {
   634                 {
   629                 if ( iFlags & EButtonsVideoCallOngoing )
   635                 if ( iFlags & EButtonsVideoCallOngoing || iFlags & EButtonsDimHold )
   630                     {
   636                     {
   631                     iTouchPane.SetButtonDimmed( commandId, ETrue );
   637                     iTouchPane.SetButtonDimmed( commandId, ETrue );
   632                     }
   638                     }
   633                 else
   639                 else
   634                     {
   640                     {