textinput/peninputsplititut/src/peninputsplititutwindowmanager.cpp
branchRCL_3
changeset 50 5a1685599b76
parent 44 ecbabf52600f
child 56 8152b1f1763a
equal deleted inserted replaced
46:bd83ceabce89 50:5a1685599b76
   257         		}
   257         		}
   258         	}
   258         	}
   259         	break;
   259         	break;
   260         case ECmdPenInputFingerMatchIndicator:
   260         case ECmdPenInputFingerMatchIndicator:
   261         	{
   261         	{
   262         	iWindow->UpdateIndiBubbleL( aData );
   262             if ( iLayoutOwner->UiMgr()->CurrentState() )
   263         	handle = ETrue;
   263                 {
       
   264                 if (iLayoutOwner->UiMgr()->CurrentState()->StateType() == CSplitItutUiMgrBase::EStateSpelling )
       
   265                     {
       
   266                     iWindow->UpdateSpellIndiBubbleL( aData );
       
   267                     }
       
   268                 else
       
   269                     {
       
   270                     iWindow->UpdateSplitIndiBubbleL( aData );
       
   271                     }
       
   272                 handle = ETrue;
       
   273                 }
   264         	}
   274         	}
   265         	break;
   275         	break;
   266         default:
   276         default:
   267             break;
   277             break;
   268             
   278             
   326     
   336     
   327 // ---------------------------------------------------------------------------
   337 // ---------------------------------------------------------------------------
   328 // CSplitItutWindowManager::HandleAppInfoChangeL
   338 // CSplitItutWindowManager::HandleAppInfoChangeL
   329 // ---------------------------------------------------------------------------
   339 // ---------------------------------------------------------------------------
   330 //
   340 //
   331 void CSplitItutWindowManager::HandleAppInfoChangeL(const TDesC& /*aInfo*/)
   341 void CSplitItutWindowManager::HandleAppInfoChangeL(const TDesC& aInfo)
   332     {
   342     {
       
   343     if ( iWindow )
       
   344         {
       
   345         CBubbleCtrl* splitIndibubble = static_cast<CBubbleCtrl*> 
       
   346                                     (iWindow->Control(ECtrlIdSplitIndiBubble)) ;
       
   347 
       
   348         if ( splitIndibubble )
       
   349             { 
       
   350             if ( aInfo.Length() > 0 && !iInEditWordQueryDlg)
       
   351                 {
       
   352                 TRAP_IGNORE(splitIndibubble->SetTextL(aInfo));
       
   353                 }
       
   354             else
       
   355                 {
       
   356                 TRAP_IGNORE(splitIndibubble->SetTextL(KNullDesC));
       
   357                 }
       
   358             iWindow->SetSplitIndiBubble();
       
   359             if (splitIndibubble->IsShowing())//make sure we redraw if visible
       
   360                 {
       
   361                 splitIndibubble->Popup(splitIndibubble->Rect());
       
   362                 }
       
   363             }
       
   364         }
       
   365         
   333     }
   366     }
   334 
   367 
   335 // ---------------------------------------------------------------------------
   368 // ---------------------------------------------------------------------------
   336 // CSplitItutWindowManager::ApplyVariantLafDataL
   369 // CSplitItutWindowManager::ApplyVariantLafDataL
   337 // ---------------------------------------------------------------------------
   370 // ---------------------------------------------------------------------------