Updated hoversel colors in Chooser according to theme changes. 47/93047/1
authorEugene Kurzberg <i.kurtsberg@samsung.com>
Thu, 20 Oct 2016 07:04:26 +0000 (10:04 +0300)
committerEugene Kurzberg <i.kurtsberg@samsung.com>
Thu, 20 Oct 2016 07:04:39 +0000 (10:04 +0300)
Change-Id: Ib38531383a9af97c053c157cd5c62123c92d6114
Signed-off-by: Eugene Kurzberg <i.kurtsberg@samsung.com>
lib-contacts/src/Contacts/Chooser/ContactsGroupsNavigator.cpp

index 2b05245..c7bd532 100644 (file)
@@ -34,8 +34,9 @@
 #define MULTI_BTN_ITEM_H 76
 #define MULTI_BTN_LINE_MAX 3
 
-#define COLOR_HOVERSEL_BG_PRESSED   0,   0,   0,  77, 0, 0, 0, 0, 0, 0, 0, 0
-#define COLOR_HOVERSEL_FG         250, 250, 250, 255, 0, 0, 0, 0, 0, 0, 0, 0
+#define COLOR_HOVERSEL_EFFECT             0,   0,   0,   0, 0, 0, 0, 0, 0, 0, 0, 0
+#define COLOR_HOVERSEL_EFFECT_PRESSED     0,   0,   0,  77, 0, 0, 0, 0, 0, 0, 0, 0
+#define COLOR_HOVERSEL_FG               250, 250, 250, 255, 0, 0, 0, 0, 0, 0, 0, 0
 
 using namespace Contacts;
 using namespace Contacts::Chooser;
@@ -93,11 +94,12 @@ void ContactsGroupsNavigator::onCreated()
        elm_object_part_content_set(m_TitleLayout, PART_MULTI_BTN, m_MultiBtnBox);
 
        Evas_Object *edje = elm_layout_edje_get(getSelector()->getEvasObject());
-       edje_object_color_class_set(edje, "hoversel/default/bg-pressed", COLOR_HOVERSEL_BG_PRESSED);
+       edje_object_color_class_set(edje, "hoversel/default/effect", COLOR_HOVERSEL_EFFECT);
+       edje_object_color_class_set(edje, "hoversel/default/effect_pressed", COLOR_HOVERSEL_EFFECT_PRESSED);
        edje_object_color_class_set(edje, "hoversel/default/icon", COLOR_HOVERSEL_FG);
        edje_object_color_class_set(edje, "hoversel/default/underline", COLOR_HOVERSEL_FG);
-       edje_object_color_class_set(edje, "hoversel/default/text-normal", COLOR_HOVERSEL_FG);
-       edje_object_color_class_set(edje, "hoversel/default/text-pressed", COLOR_HOVERSEL_FG);
+       edje_object_color_class_set(edje, "hoversel/default/text", COLOR_HOVERSEL_FG);
+       edje_object_color_class_set(edje, "hoversel/default/text_pressed", COLOR_HOVERSEL_FG);
 }
 
 void ContactsGroupsNavigator::onPageAttached(Ui::NavigatorPage *page)