pSimpleTextForBodyText = new (std::nothrow) TextSimple(text, length, TEXT_ELEMENT_SOURCE_TYPE_EXTERNAL);
SysTryCatch(NID_UI_CTRL, pSimpleTextForBodyText != null, r = E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
- textObject->AppendElement(*pSimpleTextForBodyText);
-
if (isTitle == true)
{
+ pSimpleTextForBodyText->SetTextShadowEnabled(true);
textObject->SetWrap(TEXT_OBJECT_WRAP_TYPE_NONE);
}
else
{
textObject->SetWrap(TEXT_OBJECT_WRAP_TYPE_WORD);
}
+ textObject->AppendElement(*pSimpleTextForBodyText);
textObject->SetAction(TEXT_OBJECT_ACTION_TYPE_ABBREV);
textObject->SetAlignment(TEXT_OBJECT_ALIGNMENT_LEFT);
textObject->SetBounds(bounds);
TEXT_ELEMENT_SOURCE_TYPE_EXTERNAL);
SysTryCatch(NID_UI_CTRL, pSimpleText != null , r = E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+ pSimpleText->SetTextShadowEnabled(true);
+
_pTitleTextObject->AppendElement(*pSimpleText);
_pTitleTextObject->SetForegroundColor(__pPopup->GetTitleTextColor(), 0, _pTitleTextObject->GetTextLength());
_pTitleTextObject->SetWrap(TEXT_OBJECT_WRAP_TYPE_NONE);
TEXT_ELEMENT_SOURCE_TYPE_EXTERNAL);
SysTryCatch(NID_UI_CTRL, pSimpleTextForTitleText != null, r = E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
+
+ pSimpleTextForTitleText->SetTextShadowEnabled(true);
_pTitleTextObject->AppendElement(*pSimpleTextForTitleText);
_pTitleTextObject->SetForegroundColor(__pProgressPopup->GetTitleTextColor(), 0, _pTitleTextObject->GetTextLength());
_pTitleTextObject->SetWrap(TEXT_OBJECT_WRAP_TYPE_NONE);