Change-Id: Iff22118ba6c32705430cf4e2d1aa0741ad77ee57
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
extern const wchar_t* APPCONTROL_DATA_SINGLE;
extern const wchar_t* APPCONTROL_DATA_CONTACT_ID;
extern const wchar_t* APPCONTROL_DATA_URI_FILE;
extern const wchar_t* APPCONTROL_DATA_SINGLE;
extern const wchar_t* APPCONTROL_DATA_CONTACT_ID;
extern const wchar_t* APPCONTROL_DATA_URI_FILE;
+extern const wchar_t* APPCONTROL_DATA_MMS;
extern const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER;
extern const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER;
extern const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER;
extern const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER;
static const unsigned int COLOR_HEADER_CONTORL_PANEL = Color32<0, 0, 0, 100>::Value;
static const unsigned int COLOR_HEADER_BUTTON1 = Color32<0, 0, 0, 100>::Value;
static const unsigned int COLOR_HEADER_CONTORL_PANEL = Color32<0, 0, 0, 100>::Value;
static const unsigned int COLOR_HEADER_BUTTON1 = Color32<0, 0, 0, 100>::Value;
+static const unsigned int COLOR_DELETE_BUTTON_NORMAL = Color32<208, 82, 82>::Value;
+static const unsigned int COLOR_DELETE_BUTTON_PRESSED = Color32<194, 71, 71>::Value;
+static const unsigned int COLOR_DELETE_BUTTON_TEXT = Color32<248, 246, 239>::Value;
static const Rectangle RECT_CONTORL_BUTTON_PLAY (280, 400, 160, 160);
static const Rectangle RECT_LANDSCAP_CONTORL_BUTTON_PLAY (560, 216, 160, 160);
static const Rectangle RECT_CONTORL_BUTTON_PLAY (280, 400, 160, 160);
static const Rectangle RECT_LANDSCAP_CONTORL_BUTTON_PLAY (560, 216, 160, 160);
pDeleteButton->Construct(
Rectangle(0, Y_DELETE_BUTTON, popupClientBounds.width / 2 - GAP_W_POPUP_ITEM, H_DELETE_BUTTON),
ResourceManager::GetString(L"IDS_COM_BODY_DELETE"));
pDeleteButton->Construct(
Rectangle(0, Y_DELETE_BUTTON, popupClientBounds.width / 2 - GAP_W_POPUP_ITEM, H_DELETE_BUTTON),
ResourceManager::GetString(L"IDS_COM_BODY_DELETE"));
+ pDeleteButton->SetColor(BUTTON_STATUS_NORMAL, COLOR_DELETE_BUTTON_NORMAL);
+ pDeleteButton->SetColor(BUTTON_STATUS_PRESSED, COLOR_DELETE_BUTTON_PRESSED);
+ pDeleteButton->SetTextColor(COLOR_DELETE_BUTTON_TEXT);
pDeleteButton->SetActionId(ACTION_ID_DELETE_POPUP_DEL);
pDeleteButton->AddActionEventListener(*this);
pDeleteButton->SetActionId(ACTION_ID_DELETE_POPUP_DEL);
pDeleteButton->AddActionEventListener(*this);
{
HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter);
pDataList->Construct();
{
HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter);
pDataList->Construct();
+ pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE),
+ new (std::nothrow) String(filePath));
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS),
pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS),
- new (std::nothrow) String(filePath));
+ new (std::nothrow) String(APPCONTROL_DATA_MMS));
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES,
APPCONTROL_OPERATION_ID_COMPOSE, pDataList, this);
__pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES,
APPCONTROL_OPERATION_ID_COMPOSE, pDataList, this);
const wchar_t* APPCONTROL_DATA_SINGLE = L"single";
const wchar_t* APPCONTROL_DATA_CONTACT_ID = L"contactId";
const wchar_t* APPCONTROL_DATA_URI_FILE = L"file://";
const wchar_t* APPCONTROL_DATA_SINGLE = L"single";
const wchar_t* APPCONTROL_DATA_CONTACT_ID = L"contactId";
const wchar_t* APPCONTROL_DATA_URI_FILE = L"file://";
+const wchar_t* APPCONTROL_DATA_MMS = L"MMS";
const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper";
const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper.lock";
const wchar_t* SETTING_VALUE_HOME_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper";
const wchar_t* SETTING_VALUE_LOCK_SCREEN_WALLPAPER = L"http://tizen.org/setting/screen.wallpaper.lock";