//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
-// Licensed under the Flora License, Version 1.0 (the License);
+// Licensed under the Flora License, Version 1.1 (the License);
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
AppLog("DTMF Keypad rect(%d,%d,%d,%d)",rect.x,rect.y,rect.width,rect.height);
__pDTMFKeypad = new (std::nothrow) DtmfKeyPadPanel();
__pDTMFKeypad->Initialize(this, rect);
- AddControl(*__pDTMFKeypad);
+ AddControl(__pDTMFKeypad);
//set layout relation w.r.t call buttons panel
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(GetLandscapeLayoutN());
{
__DtmfString = static_cast<EditField*>(__pDTMFKeypad->GetControl(IDC_TEXTBOX))->GetText();
- RemoveControl(*__pDTMFKeypad);
+ RemoveControl(__pDTMFKeypad);
__pDTMFKeypad = null;
}
}
__pCallButtonsPanel = new (std::nothrow) CallButtonsPanel();
__pCallButtonsPanel->ConstructPanel(this, __formType);
__pCallButtonsPanel->SetBounds(pKeysBgLbl->GetBounds());
- r = AddControl(*__pCallButtonsPanel);
+ r = AddControl(__pCallButtonsPanel);
}
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(GetPortraitLayoutN());
pBgPopupArwBmp = null;
// Adds a Label to the Form
- AddControl(*__pMoreOptionsListAnchor);
+ AddControl(__pMoreOptionsListAnchor);
}
//create options menu list
__pMoreOptionsList->SetItemProvider(*this);
__pMoreOptionsList->AddListViewItemEventListener(*this);
//Add option list to the form
- AddControl(*__pMoreOptionsList);
+ AddControl(__pMoreOptionsList);
}
else
{
if (__pMoreOptionsListAnchor != null)
{
//removes and delete the child control
- RemoveControl(*__pMoreOptionsListAnchor);
+ RemoveControl(__pMoreOptionsListAnchor);
__pMoreOptionsListAnchor = null;
}
if (__pMoreOptionsList != null)
{
//removes and delete the child control
- RemoveControl(*__pMoreOptionsList);
+ RemoveControl(__pMoreOptionsList);
__pMoreOptionsList = null;
}
}
RemoveOrientationEventListener(*this);
if (__pCallButtonsPanel != null)
{
- RemoveControl(*__pCallButtonsPanel);
+ RemoveControl(__pCallButtonsPanel);
__pCallButtonsPanel = null;
}
if (__pActiveCallTimer != null)
//Remove small photo label
if (__pSmallPhotoLabel != null)
{
- RemoveControl(*__pSmallPhotoLabel);
+ RemoveControl(__pSmallPhotoLabel);
__pSmallPhotoLabel = null;
}
{
if (__pSmallPhotoLabel != null)
{
- RemoveControl(*__pSmallPhotoLabel);
+ RemoveControl(__pSmallPhotoLabel);
__pSmallPhotoLabel = null;
}
//Draw Small Photo and show on small photo label
__pSmallPhotoLabel->SetBackgroundColor(Color(0,0,0));
__pSmallPhotoLabel->SetBackgroundBitmap(pPhotoId);
// Add a Label to the Form
- AddControl(*__pSmallPhotoLabel);
+ AddControl(__pSmallPhotoLabel);
__pSmallPhotoLabel->Invalidate(true);
}