<Feature Name="http://tizen.org/feature/screen.coordinate_system.logical">Normal</Feature>
</Requirements>
<Apps>
- <ApiVersion>2.0</ApiVersion>
+ <ApiVersion>2.1</ApiVersion>
<Privileges>
- <Privilege>http://tizen.org/privilege/wifi.read</Privilege>
- <Privilege>http://tizen.org/privilege/certificate.read</Privilege>
- <Privilege>http://tizen.org/privilege/imemanager</Privilege>
- <Privilege>http://tizen.org/privilege/bluetooth.admin</Privilege>
- <Privilege>http://tizen.org/privilege/alarm</Privilege>
<Privilege>http://tizen.org/privilege/application.launch</Privilege>
+ <Privilege>http://tizen.org/privilege/appmanager.kill</Privilege>
+ <Privilege>http://tizen.org/privilege/appsetting</Privilege>
+ <Privilege>http://tizen.org/privilege/bluetooth.admin</Privilege>
<Privilege>http://tizen.org/privilege/bluetooth.gap</Privilege>
- <Privilege>http://tizen.org/privilege/packageinfo</Privilege>
- <Privilege>http://tizen.org/privilege/systemsetting.read</Privilege>
- <Privilege>http://tizen.org/privilege/nfc.admin</Privilege>
- <Privilege>http://tizen.org/privilege/packagemanager.install</Privilege>
- <Privilege>http://tizen.org/privilege/systeminfo</Privilege>
+ <Privilege>http://tizen.org/privilege/bluetoothmanager</Privilege>
+ <Privilege>http://tizen.org/privilege/certificate.read</Privilege>
+ <Privilege>http://tizen.org/privilege/certificate.write</Privilege>
<Privilege>http://tizen.org/privilege/content.read</Privilege>
- <Privilege>http://tizen.org/privilege/appsetting</Privilege>
- <Privilege>http://tizen.org/privilege/wifimanager</Privilege>
- <Privilege>http://tizen.org/privilege/systemsetting.write</Privilege>
- <Privilege>http://tizen.org/privilege/packagesetting</Privilege>
- <Privilege>http://tizen.org/privilege/package.info</Privilege>
- <Privilege>http://tizen.org/privilege/setting</Privilege>
+ <Privilege>http://tizen.org/privilege/imemanager</Privilege>
+ <Privilege>http://tizen.org/privilege/nfc.admin</Privilege>
<Privilege>http://tizen.org/privilege/nfc.p2p</Privilege>
- <Privilege>http://tizen.org/privilege/wifi.admin</Privilege>
+ <Privilege>http://tizen.org/privilege/nfcmanager</Privilege>
+ <Privilege>http://tizen.org/privilege/package.info</Privilege>
+ <Privilege>http://tizen.org/privilege/packagemanager.install</Privilege>
+ <Privilege>http://tizen.org/privilege/packagemanager.setting</Privilege>
+ <Privilege>http://tizen.org/privilege/power</Privilege>
<Privilege>http://tizen.org/privilege/privacymanager.read</Privilege>
<Privilege>http://tizen.org/privilege/privacymanager.write</Privilege>
- <Privilege>http://tizen.org/privilege/networkmanager</Privilege>
+ <Privilege>http://tizen.org/privilege/setting</Privilege>
+ <Privilege>http://tizen.org/privilege/settingmanager.write</Privilege>
+ <Privilege>http://tizen.org/privilege/system</Privilege>
<Privilege>http://tizen.org/privilege/telephony</Privilege>
- <Privilege>http://tizen.org/privilege/certificate.write</Privilege>
- <Privilege>http://tizen.org/privilege/application.kill</Privilege>
- <Privilege>http://tizen.org/privilege/platforminfo</Privilege>
- <Privilege>http://tizen.org/privilege/nfcmanager</Privilege>
+ <Privilege>http://tizen.org/privilege/wifi.admin</Privilege>
+ <Privilege>http://tizen.org/privilege/wifi.read</Privilege>
+ <Privilege>http://tizen.org/privilege/wifi.wifidirect.admin</Privilege>
+ <Privilege>http://tizen.org/privilege/wifi.wifidirect.read</Privilege>
+ <Privilege>http://tizen.org/privilege/wifimanager</Privilege>
</Privileges>
<UiApp Main="True" MenuIconVisible="True" Name="Settings" SubMode="True">
<UiScalability BaseScreenSize="Normal" CoordinateSystem="Logical" LogicalCoordinate="720"/>
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
case ID_ITEM_ABOUT_PHONE_MAIN_MY_NUMBER:
{
- SimInfo* pSimInfo = new (std::nothrow) SimInfo();
- if (pSimInfo->Construct() == E_SUCCESS)
+ SimStateManager* pSimStateManager = new (std::nothrow) SimStateManager();
+ SimInfo simInfo;
+
+ if (pSimStateManager->Construct() == E_SUCCESS && pSimStateManager->GetSimInfo(simInfo) == E_SUCCESS)
{
- itemSubText = pSimInfo->GetPhoneNumber();
+ itemSubText = simInfo.GetPhoneNumber();
if (itemSubText.IsEmpty() == true)
{
}
itemMainText = ResourceManager::GetString(L"IDS_ST_BODY_MY_NUMBER");
- delete pSimInfo;
+ delete pSimStateManager;
}
break;
__pEditField->AddKeypadEventListener(*this);
pItem->SetIndividualSelectionEnabled(__pEditField, true);
- pItem->AddControl(*__pEditField);
+ pItem->AddControl(__pEditField);
relativeLayout.SetMargin(*__pEditField, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*__pEditField, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_HIGHLIGHTED);
}
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_NORMAL);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_HIGHLIGHTED);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pFirstLine->SetText(ResourceManager::GetString(L"IDS_ST_BODY_MY_NUMBER"));
pFirstLine->Invalidate(false);
- SimInfo* pSimInfo = new (std::nothrow) SimInfo();
- if (pSimInfo->Construct() == E_SUCCESS)
+ SimStateManager* pSimStateManager = new (std::nothrow) SimStateManager();
+ SimInfo simInfo;
+
+ if (pSimStateManager->Construct() == E_SUCCESS && pSimStateManager->GetSimInfo(simInfo) == E_SUCCESS)
{
tempValue.Remove(0, tempValue.GetLength());
- tempValue = pSimInfo->GetPhoneNumber();
+ tempValue = simInfo.GetPhoneNumber();
if (pSecondLine->GetText().Equals(tempValue, false) == false)
{
pSecondLine->SetText(ResourceManager::GetString(L"IDS_ST_HEADER_UNAVAILABLE"));
pSecondLine->Invalidate(false);
}
- delete pSimInfo;
+ delete pSimStateManager;
}
break;
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pInvalidFormatLabel->SetTextConfig(GetFontSize(), LABEL_TEXT_STYLE_NORMAL);
pInvalidFormatLabel->SetBackgroundColor(COLOR_BG_GROUP_ITEM_LISTITEM);
pInvalidFormatLabel->SetName(L"InvalidFormat");
- AddControl(*pInvalidFormatLabel);
+ AddControl(pInvalidFormatLabel);
Invalidate(true);
}
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetName(pNode->GetId());
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
pItem->SetEnabled(true);
delete groupText;
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSlider->AddSliderEventListener(*this);
pSlider->SetName(pItemNode->GetId());
- pItem->AddControl(*pSlider);
+ pItem->AddControl(pSlider);
relativeLayout.SetMargin(*pSlider, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pEditField->SetName(id);
pEditField->AddKeypadEventListener(*this);
- pItem->AddControl(*pEditField);
+ pItem->AddControl(pEditField);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
pItem->SetIndividualSelectionEnabled(pEditField, true);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
}
else if ((pItemNode->GetType()).Equals(ID_APPSETTING_ITEM_TYPE_EXPAND_LIST, false))
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetName(pItemNode->GetId());
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
}
else if ((pItemNode->GetType()).Equals(ID_APPSETTING_ITEM_TYPE_EXPAND_ITEM, false))
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
delete pParentValue;
delete pCurrentValue;
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemMainRectangle, L" ");
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
delete pBitmap;
pItem->SetEnabled(false);
__pTableView->Construct(bounds, false, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pSecondLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
pLabel->SetName(groupText);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemIconRect.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_RADIO)
{
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
pSecondLabel->SetName(itemSetname);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, itemRectSecondLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pAnimation->SetRepeatCount(ID_IN_PROGRESS__REPEAT_COUNT);
pAnimation->SetName(L"SearchAnimation");
pAnimation->SetShowState(true);
- pItem->AddControl(*pAnimation);
+ pItem->AddControl(pAnimation);
pAnimation->Play();
}
else
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSlider->AddAdjustmentEventListener(*this);
pSlider->AddSliderEventListener(*this);
- pItem->AddControl(*pSlider);
+ pItem->AddControl(pSlider);
relativeLayout.SetMargin(*pSlider, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLabel->SetTextConfig(H_GROUP_INDEX_TEXT_GAP, LABEL_TEXT_STYLE_NORMAL);
pItem->SetEnabled(false);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
return pItem;
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
\ No newline at end of file
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
DisableUninstallFooter();
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
pSecondLabel->SetTextConfig(H_GROUP_INDEX_TEXT_GAP, LABEL_TEXT_STYLE_NORMAL);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetTextConfig(ALERT_POPUP_LABEL_FONT_SIZE, LABEL_TEXT_STYLE_BOLD);
- __installFromSDCardPopup->AddControl(*pLabel);
+ __installFromSDCardPopup->AddControl(pLabel);
buttonText = ResourceManager::GetString(L"IDS_ST_BUTTON_YES");
pLhsButton = new (std::nothrow) Button();
pLhsButton->Construct(itemRectLhsButton, buttonText);
pLhsButton->SetActionId(IDA_SD_INSTALL_POPUP_OK);
- __installFromSDCardPopup->AddControl(*pLhsButton);
+ __installFromSDCardPopup->AddControl(pLhsButton);
buttonText = ResourceManager::GetString(L"IDS_COM_SK_NO");
pRhslButton->Construct(itemRectRhsButton, buttonText);
pRhslButton->SetActionId(IDA_SD_INSTALL_POPUP_CANCEL);
- __installFromSDCardPopup->AddControl(*pRhslButton);
+ __installFromSDCardPopup->AddControl(pRhslButton);
pLhsButton->AddActionEventListener(*this);
pRhslButton->AddActionEventListener(*this);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
delete pRelativeLayout;
}
- AddControl(*__pTableView);
+ AddControl(__pTableView);
}
\ No newline at end of file
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_NONE);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pEditField->AddTextEventListener(*this);
__pEditField->SetText(__pPassword);
pItem->SetIndividualSelectionEnabled(__pEditField, true);
- pItem->AddControl(*__pEditField);
+ pItem->AddControl(__pEditField);
relativeLayout.SetMargin(*__pEditField, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*__pEditField, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*__pEditField, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pButton->AddActionEventListener(*this);
pItem->SetIndividualSelectionEnabled(pButton, true);
- pItem->AddControl(*pButton);
+ pItem->AddControl(pButton);
relativeLayout.SetMargin(*pButton, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pButton->AddActionEventListener(*this);
pItem->SetIndividualSelectionEnabled(pButton, true);
- pItem->AddControl(*pButton);
+ pItem->AddControl(pButton);
relativeLayout.SetMargin(*pButton, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_CENTER);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetTextConfig(INSERT_RESULT_POPUP_FONT_SIZE, LABEL_TEXT_STYLE_BOLD);
- __pInstallResultPopup->AddControl(*pLabel);
+ __pInstallResultPopup->AddControl(pLabel);
buttonText = ResourceManager::GetString(L"IDS_ST_BUTTON_OK");
pLhsButton = new (std::nothrow) Button();
pLhsButton->SetActionId(buttonId);
pLhsButton->AddActionEventListener(*this);
- __pInstallResultPopup->AddControl(*pLhsButton);
+ __pInstallResultPopup->AddControl(pLhsButton);
}
void
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_RADIO_BUTTON_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pTableView = new (std::nothrow) GroupedTableView();
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->SetGroupedLookEnabled(true);
__pTableView->AddGroupedTableViewItemEventListener(*this);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pEditDate->AddDateChangeEventListener(*this);
pEditDate->SetName(L"EditDate");
- pItem->AddControl(*pEditDate);
+ pItem->AddControl(pEditDate);
EditTime* pEditTime = new (std::nothrow) EditTime();
pEditTime->Construct(Point(pEditDate->GetWidth(), 0), L" ");
pEditTime->AddTimeChangeEventListener(*this);
pEditTime->SetName(L"EditTime");
- pItem->AddControl(*pEditTime);
+ pItem->AddControl(pEditTime);
pItem->SetIndividualSelectionEnabled(pEditDate, true);
pItem->SetIndividualSelectionEnabled(pEditTime, true);
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (groupIndex == ID_GROUP_DATE_AND_TIME_FORMAT)
{
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_DETAIL_BUTTON, 0, 0);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_DETAIL_ARROW_BUTTON, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
}
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
switch (style)
{
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
pLabel->SetTextConfig(ALERT_POPUP_LABEL_FONT_SIZE, LABEL_TEXT_STYLE_BOLD);
- __usbDebuggingPopup->AddControl(*pLabel);
+ __usbDebuggingPopup->AddControl(pLabel);
buttonText = ResourceManager::GetString(L"IDS_ST_BUTTON_OK");
pLhsButton = new (std::nothrow) Button();
pLhsButton->Construct(itemRectLhsButton, buttonText);
pLhsButton->SetActionId(IDA_USB_DEBUGGING_POPUP_OK);
- __usbDebuggingPopup->AddControl(*pLhsButton);
+ __usbDebuggingPopup->AddControl(pLhsButton);
buttonText = ResourceManager::GetString(L"IDS_ST_BODY_CANCEL");
pRhslButton->Construct(itemRectRhsButton, buttonText);
pRhslButton->SetActionId(IDA_USB_DEBUGGING_POPUP_CANCEL);
- __usbDebuggingPopup->AddControl(*pRhslButton);
+ __usbDebuggingPopup->AddControl(pRhslButton);
pLhsButton->AddActionEventListener(*this);
pRhslButton->AddActionEventListener(*this);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
switch (style)
{
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_DETAIL_ARROW_BUTTON, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemMainRectangle, itemMainText);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, MAIN_RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
\ No newline at end of file
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabelArrow->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabelArrow);
+ pItem->AddControl(pLabelArrow);
relativeLayout.SetMargin(*pLabelArrow, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_DETAIL_ARROW_BUTTON, 0, 0);
relativeLayout.SetRelation(*pLabelArrow, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
relativeLayout.SetRelation(*pLabel, *pLabelArrow, RECT_EDGE_RELATION_RIGHT_TO_LEFT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetIndividualSelectionEnabled(pLabel, true);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
return pItem;
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
return pItem;
}
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_TITLE_HELP_TEXT, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- AddControl(*pLabel);
+ AddControl(pLabel);
Label* pSecondLabel = new (std::nothrow) Label();
pSecondLabel->Construct(HelpContentsRect, itemHelp);
pSecondLabel->SetTextConfig(FONT_SIZE_TITLE_HELP_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecondLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- AddControl(*pSecondLabel);
+ AddControl(pSecondLabel);
helpTitleRect.y = (HelpContentsRect.y + HelpContentsRect.height);
}
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
}
pLabel = new (std::nothrow) Label();
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemIconRectangle, L"");
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemMainRectangle, itemMainText);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetTextConfig(ALERT_POPUP_LABEL_FONT_SIZE, LABEL_TEXT_STYLE_BOLD);
- __uninstallResultPopup->AddControl(*pLabel);
+ __uninstallResultPopup->AddControl(pLabel);
buttonText = ResourceManager::GetString(L"IDS_ST_BUTTON_OK");
pOkButton = new (std::nothrow) Button();
pOkButton->Construct(itemRectLhsButton, buttonText);
pOkButton->SetActionId(IDA_UNINSTALL_OK);
- __uninstallResultPopup->AddControl(*pOkButton);
+ __uninstallResultPopup->AddControl(pOkButton);
pOkButton->AddActionEventListener(*this);
pLabel->SetTextConfig(FONT_MAIN_TEXT_SIZE_SMALL, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pUninstallButton->SetActionId(IDA_UNINSTALL);
pUninstallButton->AddActionEventListener(*this);
- pItem->AddControl(*pStopButton);
- pItem->AddControl(*pUninstallButton);
+ pItem->AddControl(pStopButton);
+ pItem->AddControl(pUninstallButton);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT, TABLE_VIEW_ITEM_DRAWING_STATUS_PRESSED);
}
else
pBitmapLabel = new (std::nothrow) Label();
pBitmapLabel->Construct(itemIconRectangle, L"");
pBitmapLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pBitmapLabel);
+ pItem->AddControl(pBitmapLabel);
}
pLabel = new (std::nothrow) Label();
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSubRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetTextConfig(ALERT_POPUP_LABEL_FONT_SIZE, LABEL_TEXT_STYLE_BOLD);
- __uninstallConfirmPopup->AddControl(*pLabel);
+ __uninstallConfirmPopup->AddControl(pLabel);
buttonText = ResourceManager::GetString(L"IDS_ST_BUTTON_UNINSTALL");
pOkButton = new (std::nothrow) Button();
pOkButton->Construct(itemRectLhsButton, buttonText);
pOkButton->SetActionId(IDA_UNINSTALL_CONFIRM_OK);
- __uninstallConfirmPopup->AddControl(*pOkButton);
+ __uninstallConfirmPopup->AddControl(pOkButton);
buttonText = ResourceManager::GetString(L"IDS_COM_SK_NO");
pCancelButton->Construct(itemRectRhsButton, buttonText);
pCancelButton->SetActionId(IDA_UNINSTALL_CONFIRM_CANCEL);
- __uninstallConfirmPopup->AddControl(*pCancelButton);
+ __uninstallConfirmPopup->AddControl(pCancelButton);
pOkButton->AddActionEventListener(*this);
pCancelButton->AddActionEventListener(*this);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->Construct(itemLabelRect, itemText);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemLabelRect.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemIconLabelRect, itemText);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemIconLabelRect.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSecondLineTextRect.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, itemRectLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemRectLabel, itemText);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, itemRectLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetEnabled(false);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLineLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecondLineLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pSecondLineLabel);
+ pItem->AddControl(pSecondLineLabel);
relativeLayout.SetMargin(*pSecondLineLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLineLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLineLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, style);\r
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);\r
\r
- pItem->AddControl(*pLabel);\r
+ pItem->AddControl(pLabel);\r
pItem->SetEnabled(false);\r
relativeLayout.SetMargin(*pLabel, itemMainText.x, 0, 0, 0);\r
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);\r
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);\r
pLabel->SetTextColor(COLOR_MAIN_TEXT);\r
\r
- pItem->AddControl(*pLabel);\r
+ pItem->AddControl(pLabel);\r
if (groupIndex == ID_GROUP_NFC_PREDEFINED_ITEM)\r
{\r
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);\r
pSecondLineLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);\r
pSecondLineLabel->SetTextColor(COLOR_SUB_TEXT);\r
\r
- pItem->AddControl(*pSecondLineLabel);\r
+ pItem->AddControl(pSecondLineLabel);\r
relativeLayout.SetMargin(*pSecondLineLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);\r
relativeLayout.SetRelation(*pSecondLineLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);\r
relativeLayout.SetRelation(*pSecondLineLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);\r
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->AddGroupedTableViewItemEventListener(*this);
__pSearchBar->AddKeypadEventListener(*this);
__pSearchBar->SetContentAreaSize(Dimension(0, 0));
- AddControl(*__pSearchBar);
+ AddControl(__pSearchBar);
}
result
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
__pCheckButton->SetActionId(IDA_BUTTON_CHECKED, IDA_BUTTON_UNCHECKED, IDA_BUTTON_SELECTED);
__pCheckButton->SetText(itemMainText);
- AddControl(*__pCheckButton);
+ AddControl(__pCheckButton);
__pCheckButton->AddActionEventListener(*this);
__pTableView->Construct(bounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FIXED);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->AddGroupedTableViewItemEventListener(*this);
__pLabelItemCount->SetTextConfig(FONT_SIZE_POPUP_TEXT, LABEL_TEXT_STYLE_BOLD);
__pLabelItemCount->SetTextColor(COLOR_MAIN_TEXT);
- AddControl(*__pLabelItemCount);
+ AddControl(__pLabelItemCount);
__pLabelItemCount->SetBackgroundColor(COLOR_BG_CHECKBOX);
__pLabelItemCount->SetShowState(false);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, RELATIVE_LAYOUT_LEFT_MARGIN, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(colorText);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(colorText);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
delete pBitmapSoundMin;
delete pBitmapSoundMax;
- pItem->AddControl(*pSlider);
+ pItem->AddControl(pSlider);
pItem->SetIndividualSelectionEnabled(pSlider, true);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
}
}
delete pBitmapSoundMin;
delete pBitmapSoundMax;
- pItem->AddControl(*pSlider);
+ pItem->AddControl(pSlider);
pItem->SetIndividualSelectionEnabled(pSlider, true);
relativeLayout.SetRelation(*pSlider, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
}
}
__pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->AddGroupedTableViewItemEventListener(*this);
__pSearchBar->AddKeypadEventListener(*this);
__pSearchBar->SetContentAreaSize(Dimension(0, 0));
- AddControl(*__pSearchBar);
+ AddControl(__pSearchBar);
CreateTableView();
CreateFooter();
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_GROUP_TITLE_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pItem->SetBackgroundColor(COLOR_BG_GROUP_INDEX_DEFAULT);
pItem->SetEnabled(false);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemMainRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
pSecLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
- pItem->AddControl(*pSecLabel);
+ pItem->AddControl(pLabel);
+ pItem->AddControl(pSecLabel);
relativeLayout.SetHorizontalFitPolicy(*pSecLabel, FIT_POLICY_FIXED);
relativeLayout.SetRelation(*pSecLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemSubRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
__pIconListView->SetItemBorderStyle(ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE);
__pIconListView->AddIconListViewItemEventListener(*this);
- AddControl(*__pIconListView);
+ AddControl(__pIconListView);
Invalidate(true);
}
__pIconListView->SetItemBorderStyle(ICON_LIST_VIEW_ITEM_BORDER_STYLE_NONE);
__pIconListView->AddIconListViewItemEventListener(*this);
- AddControl(*__pIconListView);
+ AddControl(__pIconListView);
Invalidate(true);
}
pLabelNoContents->SetTextColor(textColor);
pLabelNoContents->SetText(labelText);
- AddControl(*pLabel);
- AddControl(*pLabelNoContents);
+ AddControl(pLabel);
+ AddControl(pLabelNoContents);
}
}
}
pLabel->SetTextConfig(fontSize, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, 0, 0, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetName(NO_CONTENTS);
pLabel->SetBackgroundBitmap(*pBitmap);
- AddControl(*pLabel);
+ AddControl(pLabel);
}
void
relativeLayout.SetMargin(*pLabel, itemRectLable.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
}
return pItem;
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
pSecondLabel->SetName(itemSetname);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, itemRectSecondLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pPopupTextLabel->SetTextConfig(FONT_SIZE_POPUP_TEXT, LABEL_TEXT_STYLE_NORMAL);
pPopupTextLabel->SetTextColor(COLOR_POPUP_TEXT);
- __pForgetAPPoup->AddControl(*pPopupTextLabel);
+ __pForgetAPPoup->AddControl(pPopupTextLabel);
itemRect = Rectangle(X_CONFIRM_POPUP_FORGET_AP_LHS_BUTTON
, Y_CONFIRM_POPUP_FORGET_AP_LHS_BUTTON
pLhsButton->Construct(itemRect, itemText);
pLhsButton->SetActionId(IDA_FORGET_AP_POPUP_LHS_BUTTON);
- __pForgetAPPoup->AddControl(*pLhsButton);
+ __pForgetAPPoup->AddControl(pLhsButton);
itemRect = Rectangle(X_CONFIRM_POPUP_FORGET_AP_RHS_BUTTON
, Y_CONFIRM_POPUP_FORGET_AP_RHS_BUTTON
pRhsButton->Construct(itemRect, itemText);
pRhsButton->SetActionId(IDA_FORGET_AP_POPUP_RHS_BUTTON);
- __pForgetAPPoup->AddControl(*pRhsButton);
+ __pForgetAPPoup->AddControl(pRhsButton);
pLhsButton->AddActionEventListener(*this);
pRhsButton->AddActionEventListener(*this);
pLabel->SetTextConfig(itemLableTextSize, style);
pLabel->SetTextColor(itemLableTextColor);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectLable.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(itemLableTextSize , LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(itemLableTextColor);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_DETAILED)
{
relativeLayout.SetMargin(*pLabel, itemRectLable.x, RELATIVE_LAYOUT_RIGHT_MARGIN_DETAIL_BUTTON, 0, 0);
pLabel->SetTextConfig(FONT_SIZE_MAIN_TEXT, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- AddControl(*pLabel);
+ AddControl(pLabel);
}
void
pLabel->SetTextConfig(FONT_SIZE_MAIN_TEXT, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- AddControl(*pLabel);
+ AddControl(pLabel);
}
void
__pCheckButton->SetActionId(IDA_WIFI_DIRECT_CONNECTION_SELECT_ALL_GROUP_ITEM,
IDA_WIFI_DIRECT_CONNECTION_UNSELECT_ALL_GROUP_ITEM, IDA_WIFI_DIRECT_CONNECTION_SELECTED_GROUP_ITEM);
- AddControl(*__pCheckButton);
+ AddControl(__pCheckButton);
__pCheckButton->AddActionEventListener(*this);
__pCheckButton->SetColor(CHECK_BUTTON_STATUS_NORMAL, COLOR_BG_CHECKBOX);
__pTableView->Construct(bounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FIXED);
__pTableView->SetItemProvider(this);
- AddControl(*__pTableView);
+ AddControl(__pTableView);
__pTableView->AddGroupedTableViewItemEventListener(*this);
__pLabelItemCount->SetBackgroundColor(COLOR_BG_CHECKBOX);
__pLabelItemCount->SetShowState(false);
- AddControl(*__pLabelItemCount);
+ AddControl(__pLabelItemCount);
RelativeLayout* pRelativeLayout = dynamic_cast<RelativeLayout*>(this->GetLayoutN());
if (pRelativeLayout != null)
{
__pAnimation->AddAnimationEventListener(*this);
__pAnimation->SetShowState(false);
- AddControl(*__pAnimation);
+ AddControl(__pAnimation);
}
void
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
pLabel = new (std::nothrow) Label();
pLabel->Construct(itemIconLabelRect, itemText);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemIconLabelRect.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextConfig(FONT_SIZE_GROUP_TITLE_TEXT, style);
pLabel->SetTextColor(COLOR_HELP_TEXT_TYPE_01);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pButton->SetActionId(buttonActionId);
pButton->AddActionEventListener(*this);
- pItem->AddControl(*pButton);
+ pItem->AddControl(pButton);
}
else
{
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
delete pBitmap;
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pSecondLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pLabel, itemRectSecondLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
{
pAnimation->SetRepeatCount(WIFI_DIRECT_DEFAULT_COUNT);
- pItem->AddControl(*pAnimation);
+ pItem->AddControl(pAnimation);
SetHandlerInProgressAnimation(pAnimation);
pAnimation = null;
pLabel->SetTextConfig(itemLabelTextSize, style);
pLabel->SetTextColor(itemLabelTextColor);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
relativeLayout.SetMargin(*pLabel, itemRectLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetBackgroundBitmap(*pBitmap);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
delete pBitmap;
}
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
- pItem->AddControl(*pLabel);
+ pItem->AddControl(pLabel);
if (style == TABLE_VIEW_ANNEX_STYLE_ONOFF_SLIDING)
{
relativeLayout.SetMargin(*pLabel, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN_ONOFF_SLIDING, 0, 0);
pSecondLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
- pItem->AddControl(*pSecondLabel);
+ pItem->AddControl(pSecondLabel);
relativeLayout.SetMargin(*pSecondLabel, itemRectSecondLabel.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pSecondLabel, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
return pItem;
}
- pItem->AddControl(*pButton);
+ pItem->AddControl(pButton);
relativeLayout.SetMargin(*pButton, itemRectangle.x, RELATIVE_LAYOUT_RIGHT_MARGIN, 0, 0);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
relativeLayout.SetRelation(*pButton, *pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);