477 CGenericItutUiMgrBase::EStateSpelling && |
477 CGenericItutUiMgrBase::EStateSpelling && |
478 !iInEditWordQueryDlg) |
478 !iInEditWordQueryDlg) |
479 { |
479 { |
480 if ( iDataMgr->IsPortraitWest() && (!iDataMgr->IsChineseSpellMode())) |
480 if ( iDataMgr->IsPortraitWest() && (!iDataMgr->IsChineseSpellMode())) |
481 { |
481 { |
482 iWindow->Icf()->HideBubble(); |
482 //iWindow->Icf()->HideBubble(); |
483 iWindow->SetIndiWithTextFlag( ETrue ); |
483 iWindow->SetIndiWithTextFlag( ETrue ); |
484 iWindow->IndiBubbleWithText(); |
484 iWindow->IndiBubbleWithText(); |
485 |
|
486 if ( iDataMgr->IndicatorData().iIndicatorImgID != 0 && |
|
487 iDataMgr->IndicatorData().iIndicatorMaskID != 0 && |
|
488 iDataMgr->IndicatorData().iIndicatorTextImgID != 0 && |
|
489 iDataMgr->IndicatorData().iIndicatorTextMaskID != 0 ) |
|
490 { |
|
491 iWindow->SetIndiBubbleImageL( |
|
492 iDataMgr->IndicatorData().iIndicatorImgID, |
|
493 iDataMgr->IndicatorData().iIndicatorMaskID, |
|
494 iDataMgr->IndicatorData().iIndicatorTextImgID, |
|
495 iDataMgr->IndicatorData().iIndicatorTextMaskID); |
|
496 } |
|
497 } |
485 } |
498 else |
486 else |
499 { |
487 { |
500 iWindow->Icf()->HideBubble(); |
488 //iWindow->Icf()->HideBubble(); |
501 iWindow->MsgBubbleForChinese(); |
489 iWindow->MsgBubbleForChinese(); |
502 } |
490 } |
503 iWindow->Icf()->ShowBubble(aInfo,iWindow->Icf()->MsgBubbleCtrl()->Rect()); |
491 iWindow->Icf()->ShowBubble(aInfo,iWindow->Icf()->MsgBubbleCtrl()->Rect()); |
504 } |
492 } |
505 else |
493 else |
506 { |
494 { |
507 if ((!iDataMgr->IsPortraitWest()) || iDataMgr->IsChineseSpellMode()) |
495 if ((!iDataMgr->IsPortraitWest()) || iDataMgr->IsChineseSpellMode()) |
508 { |
496 { |
509 iWindow->Icf()->HideBubble(); |
497 iWindow->Icf()->HideBubble(); |
510 } |
498 } |
511 else |
499 else |
512 { |
500 { |
513 if ( itutLayoutOwner->UiMgr()->CurrentState() && |
501 if ( itutLayoutOwner->UiMgr()->CurrentState() && |
514 itutLayoutOwner->UiMgr()->CurrentState()->StateType() != |
502 itutLayoutOwner->UiMgr()->CurrentState()->StateType() != |
515 CGenericItutUiMgrBase::EStateSpelling ) |
503 CGenericItutUiMgrBase::EStateSpelling ) |
516 { |
504 { |
517 iWindow->Icf()->HideBubble(); |
505 //iWindow->Icf()->HideBubble(); |
518 iWindow->SetIndiWithTextFlag( EFalse ); |
506 iWindow->SetIndiWithTextFlag( EFalse ); |
519 iWindow->IndiBubbleWithoutText(); |
507 iWindow->IndiBubbleWithoutText(); |
520 } |
508 } |
521 |
|
522 if ( iDataMgr->IndicatorData().iIndicatorImgID != 0 && |
|
523 iDataMgr->IndicatorData().iIndicatorMaskID != 0 && |
|
524 iDataMgr->IndicatorData().iIndicatorTextImgID != 0 && |
|
525 iDataMgr->IndicatorData().iIndicatorTextMaskID != 0 ) |
|
526 { |
|
527 iWindow->SetIndiBubbleImageL( |
|
528 iDataMgr->IndicatorData().iIndicatorImgID, |
|
529 iDataMgr->IndicatorData().iIndicatorMaskID, |
|
530 iDataMgr->IndicatorData().iIndicatorTextImgID, |
|
531 iDataMgr->IndicatorData().iIndicatorTextMaskID); |
|
532 } |
|
533 |
509 |
534 iWindow->Icf()->ShowBubble( KEmptyString, |
510 iWindow->Icf()->ShowBubble( KEmptyString, |
535 iWindow->Icf()->MsgBubbleCtrl()->Rect()); |
511 iWindow->Icf()->MsgBubbleCtrl()->Rect()); |
536 } |
512 } |
537 } |
513 } |