[*][Genlist] Changed TEXT part to TEXTBLOCK part of elm.text.1 and
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Wed, 12 Oct 2011 09:08:40 +0000 (18:08 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Thu, 13 Oct 2011 02:50:09 +0000 (11:50 +0900)
elm.text.2 in 3text.6icon style. Applied email application's fix.

Change-Id: I8b410f20aad496df784ac02d6160a93d152ff426

themes/groups/genlist/genlist.edc
themes/groups/genlist/genlist_styles.edc
themes/groups/genlist/genlist_textblock_style.edc [new file with mode: 0644]
themes/inc/nbeat-black-hd-inc.edc
themes/inc/nbeat-black-inc.edc
themes/inc/nbeat-hd-inc.edc
themes/inc/nbeat-inc.edc

index 50928da..3279422 100644 (file)
@@ -26,6 +26,7 @@
 */
 
 #include "genlist_macro.edc"
+#include "genlist_textblock_style.edc"
 
 #include "genlist_styles.edc"
 #include "genlist_sweep.edc"
index 787ea2b..db2b4a6 100644 (file)
                visible: 0;
             }
          }
-         part { name: "elm.text.1";
+         part { name: "elm.text1.rect";
             clip_to: "disclip";
-            type: TEXT;
-            mouse_events: 0;
+            type: RECT;
             scale: 1;
             description { state: "default" 0.0;
                min: 0 GENLIST_SIZE_38_INC;
-               fixed: 0 1;
+               fixed: 1 0;
                rel1 {
                   relative: 1.0 1.0;
-                  to_x: "elm.padding.left";
+                  to_x: "elm.swallow.colorbar";
                   to_y: "elm.padding.top";
                }
                rel2 {
-                  relative: 0.0 1.0;
+                  relative: 0.0 0.0;
                   to_x: "elm.padding.icon1.left";
                   to_y: "elm.padding.top";
                }
                align: 0.0 0.0;
-               color: GENLIST_PART_TEXT_COLOR_INC;
+               visible: 0;
+            }
+         }
+         part { name: "elm.text.1";
+            clip_to: "disclip";
+            type: TEXTBLOCK;
+            mouse_events: 0;
+            scale: 1;
+            description { state: "default" 0.0;
+               fixed: 1 1;
+               rel1.to: "elm.text1.rect";
+               rel2.to: "elm.text1.rect";
+               align: 0.0 0.0;
                text {
-                  font: "SLP:style=Roman";
-                  size: GENLIST_FONT_28_INC;
+                  style: "genlist_email_textblock_style";
                   min: 0 1;
+                  max: 0 1;
                   align: 0.0 0.5;
                }
             }
             description { state: "selected" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
+               text.style: "genlist_email_textblock_selected_style";
             }
             description { state: "read" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_EMAIL_READ_TEXT_COLOR_INC;
+               text.style: "genlist_email_textblock_read_style";
             }
             description { state: "unread" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_TEXT_COLOR_INC;
+               text.style: "genlist_email_textblock_unread_style";
             }
-            description { state: "urgency_unread" 0.0;
+            description { state: "urgency_read" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC;
+               text.style: "genlist_email_textblock_urgency_read_style";
             }
-            description { state: "urgency_read" 0.0;
+            description { state: "urgency_unread" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC;
+               text.style: "genlist_email_textblock_urgency_unread_style";
             }
             GENLIST_DESCRIPTION_RENAME_ENABLED
          }
          part { name: "elm.text.2";
             clip_to: "disclip";
-            type: TEXT;
+            type: TEXTBLOCK;
             scale: 1;
             description { state: "default" 0.0;
                fixed: 1 1;
                   to_y: "elm.padding.bottom";
                }
                align: 0.0 0.5;
-               color: GENLIST_PART_SUB_TEXT_COLOR_INC;
                text {
-                  font: "SLP:style=Medium";
-                  size: GENLIST_FONT_20_INC;
-                  min: 0 0;
+                  style: "genlist_email_textblock2_style";
+                  min: 0 1;
                   align: 0.0 0.5;
                }
             }
             description { state: "selected" 0.0;
                inherit: "default" 0.0;
-               color: GENLIST_PART_TEXT_SELECTED_COLOR_INC;
+               text.style: "genlist_email_textblock2_selected_style";
             }
             GENLIST_DESCRIPTION_RENAME_ENABLED
          }
             source: "elm";
             action: STATE_SET "selected" 0.0;
             target: "bg_image";
+            target: "elm.text.1";
             target: "elm.text.2";
             target: "elm.text.3";
          }
             source: "elm";
             action: STATE_SET "default" 0.0;
             target: "bg_image";
+            target: "elm.text.1";
             target: "elm.text.2";
             target: "elm.text.3";
             transition: LINEAR 0.1;
diff --git a/themes/groups/genlist/genlist_textblock_style.edc b/themes/groups/genlist/genlist_textblock_style.edc
new file mode 100644 (file)
index 0000000..afc2c9a
--- /dev/null
@@ -0,0 +1,62 @@
+/*
+ *  nbeat-theme
+ *
+ * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, IlKook Yun <ilkook.yun@samsung.com>, CinWoo Kim <cinoo.kim@samsung.com> JiYeon Park <jy0703.park@samsung.com>
+ * 
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ * 
+ * This library is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ * License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+/*
+ * vim:ts=3
+*/
+
+
+styles {
+   style { name: "genlist_email_textblock_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock_selected_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock_read_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock_unread_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock_urgency_unread_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock_urgency_read_style";
+      base: "font=SLP:style=Roman font_size="GENLIST_FONT_28_INC" color="GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock2_style";
+      base: "font=SLP:style=Medium font_size="GENLIST_FONT_20_INC" color="GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+   style { name: "genlist_email_textblock2_selected_style";
+      base: "font=SLP:style=Medium font_size="GENLIST_FONT_20_INC" color="GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC" text_class=list_item ellipsis=1.0";
+      tag:  "match" GENLIST_PART_MATCH_TAG_COLOR_INC;
+   }
+}
index 6f0f1ca..75d2a4e 100644 (file)
 #define GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC 207 37 37 255
 #define GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC 171 82 82 255
 #define GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC "#646464FF"
+#define GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC "#959595"
+#define GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC "#646464"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC "#AB5252"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC "#CF2525"
 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 57 166 215 255
 #define GENLIST_GROUP_PART_BASE_EVENT_INC \
          part { name: "base_event";\
index d4084ec..13f539c 100644 (file)
 #define GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC 207 37 37 255
 #define GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC 171 82 82 255
 #define GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC "#646464FF"
+#define GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC "#959595"
+#define GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC "#646464"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC "#AB5252"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC "#CF2525"
 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 57 166 215 255
 #define GENLIST_GROUP_PART_BASE_EVENT_INC \
          part { name: "base_event";\
index b19fff2..db194c2 100644 (file)
 #define GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC 207 37 37 255
 #define GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC 171 82 82 255
 #define GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000FF"
+#define GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC "#FFFFFF"
+#define GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC "#6C6C6C"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC "#AB5252"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC "#CF2525"
 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 108 108 108 255
 #define GENLIST_GROUP_PART_BASE_EVENT_INC \
          part { name: "base_event";\
index dbf8d09..3aeeaca 100644 (file)
 #define GENLIST_PART_EMAIL_URGENCY_UNREAD_TEXT_COLOR_INC 207 37 37 255
 #define GENLIST_PART_EMAIL_URGENCY_READ_TEXT_COLOR_INC 171 82 82 255
 #define GENLIST_PART_EMAIL_MSGCOUNT_TEXT_COLOR_INC 255 255 255 255
+#define GENLIST_PART_TEXTBLOCK_STYLE_COLOR_INC "#000000FF"
+#define GENLIST_PART_TEXTBLOCK_STYLE_SELECTED_COLOR_INC "#FFFFFF"
+#define GENLIST_PART_TEXTBLOCK_SUB_STYLE_COLOR_INC "#6C6C6C"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_READ_STYLE_COLOR_INC "#AB5252"
+#define GENLIST_PART_TEXTBLOCK_URGENCY_UNREAD_STYLE_COLOR_INC "#CF2525"
 #define GENLIST_GROUP_PART_TEXT_COLOR_INC 108 108 108 255
 #define GENLIST_GROUP_PART_BASE_EVENT_INC \
          part { name: "base_event";\