From 2cda33bc2f73cde4256086e23422223f230b7de3 Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Thu, 28 Jun 2012 19:48:05 +0900 Subject: [PATCH] [genlist] add elm.flip.icon part Conflicts: themes/widgets/genlist/genlist_normal.edc Change-Id: I8a3dadbd142c68a8bbcbdd747d162491c35c7d28 --- themes/widgets/genlist/genlist_macro.edc | 30 +++++++++++++++++++++++++++--- themes/widgets/genlist/genlist_normal.edc | 4 +++- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/themes/widgets/genlist/genlist_macro.edc b/themes/widgets/genlist/genlist_macro.edc index 8efcf2a..bfef1f8 100644 --- a/themes/widgets/genlist/genlist_macro.edc +++ b/themes/widgets/genlist/genlist_macro.edc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved * * PROPRIETARY/CONFIDENTIAL * @@ -532,10 +532,32 @@ } #define GENLIST_PART_FLIP \ + part { name: "elm.flip.icon"; \ + clip_to: "disclip"; \ + type: SWALLOW; \ + scale: 1; \ + description { state: "default" 0.0; \ + visible: 0; \ + fixed: 1 1; \ + align: 1 0; \ + min: 80 0; \ + rel1 { \ + relative: 0.0 0.0; \ + to_x: "elm.padding.right"; \ + } \ + rel2 { \ + relative: 0.0 1.0; \ + to_x: "elm.padding.right"; \ + } \ + } \ + description { state: "flip_enabled" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ part { name: "elm.flip.content"; \ clip_to: "disclip"; \ type: SWALLOW; \ - mouse_events: 1; \ scale: 1; \ description { state: "default" 0.0; \ visible: 0; \ @@ -546,7 +568,7 @@ } \ rel2 { \ relative: 0.0 0.5; \ - to_x: "elm.padding.right"; \ + to_x: "elm.flip.icon"; \ } \ } \ description { state: "flip_enabled" 0.0; \ @@ -619,6 +641,7 @@ source: "elm"; \ action: STATE_SET "flip_enabled" 0.0; \ target: "elm.text"; \ + target: "elm.flip.icon"; \ target: "elm.flip.content"; \ } \ program { name: "flip_disabled"; \ @@ -626,6 +649,7 @@ source: "elm"; \ action: STATE_SET "default" 0.0; \ target: "elm.text"; \ + target: "elm.flip.icon"; \ target: "elm.flip.content"; \ } diff --git a/themes/widgets/genlist/genlist_normal.edc b/themes/widgets/genlist/genlist_normal.edc index 9f9dd25..7611afc 100644 --- a/themes/widgets/genlist/genlist_normal.edc +++ b/themes/widgets/genlist/genlist_normal.edc @@ -341,7 +341,7 @@ data.item: "stacking" "above"; data.item: "selectraise" "on"; data.item: "texts" "elm.text"; - data.item: "flips" "elm.flip.content"; + data.item: "flips" "elm.flip.icon elm.flip.content"; images { image: "00_list_bar_press_1x80.png" COMP; } @@ -16697,6 +16697,7 @@ } GENLIST_PROGRAM_FLIP_2TEXT GENLIST_PROGRAM_PLAY_BUTTON_PRESS + //GENLIST_PROGRAM_FLIP_1TEXT } } @@ -17041,6 +17042,7 @@ } GENLIST_PROGRAM_FLIP_1TEXT_3ICON GENLIST_PROGRAM_PLAY_BUTTON_PRESS + //GENLIST_PROGRAM_FLIP_1TEXT } } -- 2.7.4