void
ActiveCallForm::ShowDTMFKeypad(void)
{
-
-
if(__pDTMFKeypad == null)
{
//update rect according to client screen area
{
pRelativeLayout->SetRelation(*__pCallButtonsPanel, *pKeysBgLbl, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pRelativeLayout->SetRelation(*__pCallButtonsPanel, *pKeysBgLbl, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
+ pRelativeLayout->SetRelation(*__pCallButtonsPanel, *pKeysBgLbl, RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM);
+ pRelativeLayout->SetRelation(*__pCallButtonsPanel, *pKeysBgLbl, RECT_EDGE_RELATION_TOP_TO_TOP);
}
return r;
//switch to Dialer Form to make an call
if(__pCallPresentor->GetCurrentCallCount() == 1)
{
-/* ArrayList* pArgs = new (std::nothrow) ArrayList(SingleObjectDeleter);
- pArgs->Construct();
- String* formType = new (std::nothrow) String();
- formType->Append(__formType);
- pArgs->Add(formType);
- pSceneManager->GoForward( ForwardSceneTransition(IDSCN_DIALER, SCENE_TRANSITION_ANIMATION_TYPE_NONE,
- SCENE_HISTORY_OPTION_NO_HISTORY), pArgs);*/
- __pCallPresentor->LaunchDialAppControl();
-
+ __pCallPresentor->LaunchDialAppControl();
}
}
break;
//change AddCall Button status
__pCallButtonsPanel->EnableAddCallButton(isEnableAddCall);
//change JoinCall Button status
- __pCallButtonsPanel->EnableJoinCallButton(isEnableJoinCall);
+ __pCallButtonsPanel->EnableJoinCallButton(__pCallPresentor->IsEnableJoinCallButton());
AppLog("EXIT");
}
}
//update JoinCall button status
- bool isEnableJoinCall = true;
- AppCallInfo* pConfCallInfo = __pCallPresentor->GetConferenceCallInfoN();
- if(pConfCallInfo != null && pConfCallInfo->GetCallerListCount() >= IDI_MAX_CONF_CALL_PARTICIPANTS)
- {
- isEnableJoinCall = false;
- }
- __pCallButtonsPanel->EnableJoinCallButton(isEnableJoinCall);
- delete pConfCallInfo;
- pConfCallInfo = null;
+ __pCallButtonsPanel->EnableJoinCallButton(__pCallPresentor->IsEnableJoinCallButton());
Invalidate(true);
AppLog("EXIT");
}