elm.text.2 in 3text.6icon style. Applied email application's fix.
Change-Id: I8b410f20aad496df784ac02d6160a93d152ff426
*/
#include "genlist_macro.edc"
+#include "genlist_textblock_style.edc"
#include "genlist_styles.edc"
#include "genlist_sweep.edc"
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;
--- /dev/null
+/*
+ * 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;
+ }
+}
#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";\
#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";\
#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";\
#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";\