From 215ee6b7d97412f329cdbe7a53c81a736e3912a9 Mon Sep 17 00:00:00 2001 From: Nataliia Kamyshna Date: Thu, 25 Feb 2016 12:49:26 +0200 Subject: [PATCH] TizenRefApp-5766 Extract common code from DETAILS_ITEM_LAYOUT_EDJ theme and move to common library TizenRefApp-5767 Integrate CONTACT_DETAILS_ITEM_LAYOUT_EDJ theme with Contacts/BasicInfoItem Change-Id: Iac9420a4c944ddf9502c6015c1eeab539c05ab3e Signed-off-by: Nataliia Kamyshna --- lib-common/.cproject | 15 +-- lib-common/CMakeLists.txt | 4 +- lib-common/res/common/edje/dummy.edc | 3 - lib-common/res/{common => details}/CMakeLists.txt | 4 +- lib-common/res/details/edje/DetailsItemLayout.h | 28 +++++ .../res/details/edje/DetailsItemLayoutMetrics.h | 6 - .../res/details/edje/details-item-layout.edc | 137 +++++++++++++++++++++ lib-contact/.cproject | 17 +-- lib-contact/CMakeLists.txt | 2 +- lib-contact/res/details/CMakeLists.txt | 2 +- ...ilsItemLayout.h => ContactsDetailsItemLayout.h} | 14 +-- .../edje/ContactsDetailsItemLayoutMetrics.h | 29 +++++ .../edje/{DetailsPath.h => ContactsDetailsPath.h} | 8 +- ...layout.edc => contacts-details-item-layout.edc} | 103 ++-------------- .../src/Contacts/Details/ActionFieldItem.cpp | 4 +- lib-contact/src/Contacts/Details/BasicInfoItem.cpp | 4 +- lib-contact/src/Contacts/Details/DetailsView.cpp | 2 +- packaging/org.tizen.contacts.spec | 1 - 18 files changed, 234 insertions(+), 149 deletions(-) delete mode 100644 lib-common/res/common/edje/dummy.edc rename lib-common/res/{common => details}/CMakeLists.txt (81%) create mode 100644 lib-common/res/details/edje/DetailsItemLayout.h rename {lib-contact => lib-common}/res/details/edje/DetailsItemLayoutMetrics.h (89%) create mode 100644 lib-common/res/details/edje/details-item-layout.edc rename lib-contact/res/details/edje/{DetailsItemLayout.h => ContactsDetailsItemLayout.h} (75%) create mode 100644 lib-contact/res/details/edje/ContactsDetailsItemLayoutMetrics.h rename lib-contact/res/details/edje/{DetailsPath.h => ContactsDetailsPath.h} (84%) rename lib-contact/res/details/edje/{details-item-layout.edc => contacts-details-item-layout.edc} (63%) diff --git a/lib-common/.cproject b/lib-common/.cproject index faca374..1ff4b07 100644 --- a/lib-common/.cproject +++ b/lib-common/.cproject @@ -5,18 +5,17 @@ - - + - + @@ -118,7 +117,7 @@ - +