alias: "elm/genlist/item_odd/1text.1icon/default";
alias: "elm/genlist/item_compress/1text.1icon/default";
alias: "elm/genlist/item_compress_odd/1text.1icon/default";
- alias: "elm/genlist/item/1text.1icon.4/default";
+ alias: "elm/genlist/item/1text.1icon.4/default";
alias: "elm/genlist/item_odd/1text.1icon.4/default";
alias: "elm/genlist/item_compress/1text.1icon.4/default";
alias: "elm/genlist/item_compress_odd/1text.1icon.4/default";
GENLIST_PROGRAM_FLIP_1TEXT_1ICON
}
}
+// 2.2.1.28
+ group { name: "elm/genlist/item/1text.1icon.divider/default";
+ alias: "elm/genlist/item_odd/1text.1icon.divider/default";
+ inherit: "elm/genlist/item/1text.1icon/default";
+ parts {
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.right", fixed: 1 1;)
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ /*
+ part { name: "elm.icon.touch";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ repeat_events: 1;
+ mouse_events: 1;
+ GENLIST_DESCRIPTION_R("elm.padding.right", color: 255 0 0 50; fixed: 1 0; min: 112 112;)
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ */
+ }
+ programs {
+ program {
+ name: "icon_touch";
+ signal: "mouse,up,1";
+ source: "elm.icon.touch";
+ action: SIGNAL_EMIT "mouse,up,1" "elm.icon";
+ }
+ }
+ }
+
// 2.2.1.4
group { name: "elm/genlist/item/1text.1icon.6/default";
alias: "elm/genlist/item_odd/1text.1icon.6/default";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- align: 0.0 0.5;
+ GENLIST_DESCRIPTION_LR("elm.padding.left", "elm.text.2.left",
+ align: 0 0.5;
color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
- min: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.text.2";
- }
text {
font: "SLP:style=Roman";
size: GENLIST_LIST_MAIN_TEXT_SIZE;
min: 0 1;
align: 0.0 0.5;
text_class: "list_item";
- }
+ )
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
GENLIST_DESCRIPTION_INVISIBLE_SELECTED
GENLIST_DESCRIPTION_FLIP_ENABLED
}
+ GENLIST_PART_PADDING_RIGHT_TO("elm.text.2.left", "elm.text.2", 16)
part { name: "elm.text.2";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- min: GENLIST_TEXT2_WIDTH_MIN 0;
- align: 1.0 0.5;
+ GENLIST_DESCRIPTION_R("elm.padding.right",
color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
- rel1 {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- }
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
- min: 0 1;
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
+ // FIXME: This text never stop in X axis
+ min: 1 1;
align: 1.0 0.5;
text_class: "slp_medium";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION_L("elm.padding.left",
min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
fixed: 1 1;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- }
- align: 0.0 0.5;
- }
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.icon.right";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_PADDING_16_INC 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.icon";
- }
- rel2.to_x: "elm.icon";
- visible: 0;
- }
- }
+ GENLIST_PART_PADDING_LEFT_TO("elm.padding.icon.right", "elm.icon", GENLIST_PADDING_SIZE_DEFAULT)
part { name: "elm.text.2";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_SIZE_133_INC 0;
- fixed: 1 0;
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- }
- align: 1.0 0.5;
+ GENLIST_DESCRIPTION_R("elm.padding.right",
+ min: 300 0;
color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
min: 0 1;
align: 1.0 0.5;
text_class: "slp_medium";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
GENLIST_DESCRIPTION_INVISIBLE_SELECTED
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.text2.left";
- clip_to: "disclip";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_ICON_SMALL_SIZE 0;
- fixed: 1 0;
- rel1.to_x: "elm.text.2";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.text.2";
- }
- visible: 0;
- align: 1.0 0.5;
- }
- }
part { name: "elm.text.1";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.icon.right";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.text2.left";
- }
- align: 0.0 0.5;
+ GENLIST_DESCRIPTION_LR("elm.padding.icon.right", "elm.text.2",
+ align: 0 0.5;
color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
text {
font: "SLP:style=Roman";
align: 0.0 0.5;
text_class: "list_item";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR;
GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_10_INC )
GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
- part { name: "elm.icon.colorbar";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
- fixed: 1 1;
- rel2.relative: 0.0 0.0;
- align: 0.0 0.0;
- }
- }
+ GENLIST_PART_COLORBAR
part { name: "elm.icon.checkbox";
clip_to: "disclip";
type: SWALLOW;
rel2.to: "elm.text.subject.rect";
align: 0.0 0.0;
text {
- style: "genlist_email_textblock_unread_style";
+ style: "genlist_style_email_unread";
min: 0 1;
max: 0 1;
align: 0.0 0.5;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_selected_style";
+ text.style: "genlist_style_email_selected";
}
description { state: "read" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_read_style";
+ text.style: "genlist_style_email_read";
}
description { state: "unread" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_unread_style";
+ text.style: "genlist_style_email_unread";
}
description { state: "urgency_read" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_urgency_read_style";
+ text.style: "genlist_style_email_urgency_read";
}
description { state: "urgency_unread" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_urgency_unread_style";
+ text.style: "genlist_style_email_urgency_unread";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
}
align: 0.0 0.5;
text {
- style: "genlist_email_textblock2_style";
+ style: "genlist_style_email_name";
min: 0 1;
align: 0.0 0.5;
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock2_selected_style";
+ text.style: "genlist_style_email_name_selected";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
}
}
-// ???
- /* NOTE: This style is a temporary style for email application. Otherwise do not use this. */
+// Email style (No UX???)
group { name: "elm/genlist/item/4text.8icon/default";
alias: "elm/genlist/item_odd/4text.8icon/default";
alias: "elm/genlist/item_compress/4text.8icon/default";
data.item: "texts" "elm.text.subject elm.text.name elm.text.date elm.text.preview elm.text.num";
data.item: "contents" "elm.icon.important elm.icon.important.touch elm.icon.num elm.icon.attach elm.icon.colorbar elm.swallow.outbox.progress elm.icon.checkbox elm.icon.checkbox.touch elm.icon.priority elm.icon.lastverb elm.icon.appointment";
data.item: "flips" "elm.flip.content";
+ script {
+ public email_state = 0;
+ }
images {
image: "00_list_bar_press_1x80.png" COMP;
image: "M02_button_06_normal.png" COMP;
GENLIST_PART_BG
GENLIST_PART_BG_IMAGE
GENLIST_PART_BOTTOM_LINE
- GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC )
- GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC )
+ GENLIST_PART_PADDING_TOP( 8 )
+ GENLIST_PART_PADDING_BOTTOM( 8 )
GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
- part { name: "elm.icon.colorbar";
- clip_to: "disclip";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
- fixed: 1 1;
- rel2.relative: 0.0 0.0;
- align: 0.0 0.0;
- }
- }
-
+ GENLIST_PART_COLORBAR
part { name: "elm.icon.checkbox.touch";
clip_to: "disclip";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
- max: GENLIST_PADDING_74_INC GENLIST_SIZE_160_INC;
- fixed: 1 1;
- rel1 {
- relative: 0.0 0.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- align: 0.0 0.5;
+ rel1.to: "elm.icon.checkbox";
+ rel1.offset: -GENLIST_PADDING_SIZE_LEFT 0;
+ rel2.to: "elm.icon.checkbox";
+ rel1.offset: GENLIST_PADDING_SIZE_DEFAULT 0;
}
}
part { name: "elm.icon.checkbox";
type: SWALLOW;
mouse_events: 1;
scale: 1;
- description { state: "default" 0.0;
- max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
- max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
+ GENLIST_DESCRIPTION_L("elm.padding.left",
+ max: GENLIST_ICON_CHECK_SIZE GENLIST_ICON_CHECK_SIZE;
+ max: GENLIST_ICON_CHECK_SIZE GENLIST_ICON_CHECK_SIZE;
fixed: 1 1;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- align: 0.0 0.5;
- }
- }
- part { name: "elm.padding.icon.checkbox.right";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_PADDING_16_INC 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.icon.checkbox";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "elm.icon.checkbox";
- to_y: "elm.padding.bottom";
- }
- align: 1.0 0.0;
- visible: 0;
- }
+ )
}
-
+ GENLIST_PART_PADDING_LEFT_TO("elm.padding.icon.checkbox.right", "elm.icon.checkbox", GENLIST_PADDING_SIZE_DEFAULT)
part { name: "elm.icon.important";
clip_to: "disclip";
type: SWALLOW;
mouse_events: 1;
scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_SIZE_56_INC GENLIST_SIZE_SLIDE_60_INC;
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.padding.top",
+ min: 56 60;
fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- align: 1.0 0.0;
- }
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
-
part { name: "elm.icon.important.touch";
clip_to: "disclip";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
- min: GENLIST_SIZE_56_INC GENLIST_SIZE_SLIDE_60_INC;
- fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- align: 1.0 0.0;
+ rel1.to: "elm.icon.important";
+ rel2.to: "elm.icon.important";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
-
- part { name: "elm.padding.icon.important.left";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_PADDING_16_INC 0;
- fixed: 1 0;
- rel1{
- relative: 0.0 1.0;
- to_x: "elm.icon.important";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.icon.important";
- }
- align: 1.0 0.0;
- visible: 0;
- }
- }
+ GENLIST_PART_PADDING_RIGHT_TO("elm.padding.icon.important.left", "elm.icon.important", GENLIST_PADDING_SIZE_DEFAULT)
+ // This part is used?
part { name: "elm.icon.num";
clip_to: "disclip";
type: IMAGE;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- max: 0 GENLIST_SIZE_SLIDE_60_INC;
+ GENLIST_DESCRIPTION_RT("elm.padding.icon.important.left", "elm.padding.top",
+ max: 0 60;
fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 GENLIST_SIZE_8_INC;
- to_x: "elm.padding.icon.important.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 GENLIST_SIZE_8_INC;
- to_x: "elm.padding.icon.important.left";
- to_y: "elm.padding.top";
- }
- align: 1.0 0.0;
+ rel1.offset: 0 8;
+ rel2.offset: 0 8;
image.normal: "M02_button_06_normal.png";
image.border: 5 5 5 5;
- }
+ )
description { state: "num_enable" 0.0;
inherit: "default" 0.0;
- max: GENLIST_HEIGHT_62_INC GENLIST_SIZE_SLIDE_60_INC;
- min: GENLIST_SIZE_46_INC GENLIST_SIZE_44_INC;
+ max: 62 60;
+ min: 46 44;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
-
+ // This part is used?
part { name: "elm.text.num";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- max: 0 GENLIST_SIZE_SLIDE_60_INC;
+ GENLIST_DESCRIPTION_RT("elm.padding.icon.important.left", "elm.padding.top",
+ max: 0 60;
fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- offset: 0 GENLIST_SIZE_8_INC;
- to_x: "elm.padding.icon.important.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 0 GENLIST_SIZE_8_INC;
- to_x: "elm.padding.icon.important.left";
- to_y: "elm.padding.top";
- }
- align: 1.0 0.0;
- }
+ rel1.offset: 0 8;
+ rel2.offset: 0 8;
+ )
description { state: "num_enable" 0.0;
inherit: "default" 0.0;
- max: GENLIST_HEIGHT_62_INC GENLIST_SIZE_SLIDE_60_INC;
- min: GENLIST_SIZE_46_INC GENLIST_SIZE_44_INC;
+ max: 62 60;
+ min: 46 44;
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
+ size: 32;
min: 1 1;
align: 0.5 0.5;
text_class: "slp_medium";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
-
part { name: "elm.icon.attach";
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- description { state: "default" 0.0;
- min: 0 GENLIST_SIZE_SLIDE_60_INC;
+ GENLIST_DESCRIPTION_RT("elm.icon.num", "elm.padding.top",
+ min: 0 60;
fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.icon.num";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.icon.num";
- to_y: "elm.padding.top";
- }
- align: 1.0 0.0;
- }
+ )
description { state: "attach_enable" 0.0;
inherit: "default" 0.0;
- min: GENLIST_SIZE_48_INC GENLIST_SIZE_SLIDE_60_INC;
+ min: 48 60;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION_LRT("elm.padding.icon.checkbox.right", "elm.icon.attach", "elm.padding.top",
min: 0 GENLIST_SIZE_SLIDE_60_INC;
fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.icon.checkbox.right";
- to_y: "elm.padding.top";
- }
- rel2{
- relative: 0.0 1.0;
- to_x: "elm.icon.attach";
- to_y: "elm.padding.top";
- }
- align: 0.0 0.0;
text {
- style: "genlist_email_textblock_unread_style";
+ style: "genlist_style_email_unread";
min: 0 1;
max: 0 1;
- align: 0.0 0.5;
+ align: 0 0.5;
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_selected_style";
+ text.style: "genlist_style_email_selected";
}
description { state: "read" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_read_style";
+ text.style: "genlist_style_email_read";
}
description { state: "unread" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_unread_style";
+ text.style: "genlist_style_email_unread";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
visible: 0;
}
}
-
part { name: "elm.icon.priority";
clip_to: "disclip";
type: SWALLOW;
}
align: 0.0 0.0;
text {
- style: "genlist_email_textblock2_style";
+ style: "genlist_style_email_name";
min: 0 1;
align: 0.0 0.5;
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock2_selected_style";
+ text.style: "genlist_style_email_name_selected";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
program { name: "go_passive";
signal: "elm,state,unselected";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg_image";
- target: "elm.text.subject";
- target: "elm.text.name";
- target: "elm.text.date";
- target: "elm.text.preview";
transition: LINEAR 0.1;
+ script {
+ set_state(PART:"bg_image", "default", 0.0);
+ set_state(PART:"elm.text.name", "default", 0.0);
+ set_state(PART:"elm.text.date", "default", 0.0);
+ set_state(PART:"elm.text.preview", "default", 0.0);
+ if (get_int(email_state) == 1)
+ set_state(PART:"elm.text.subject", "read", 0.0);
+ else
+ set_state(PART:"elm.text.subject", "unread", 0.0);
+ }
}
program { name: "go_disabled";
signal: "elm,state,disabled";
program { name: "go_read";
signal: "elm,state,read";
source: "elm";
- action: STATE_SET "read" 0.0;
- target: "elm.text.subject";
+ script {
+ set_int(email_state, 1);
+ set_state(PART:"elm.text.subject", "read", 0.0);
+ }
}
program { name: "go_unread";
signal: "elm,state,unread";
source: "elm";
- action: STATE_SET "unread" 0.0;
- target: "elm.text.subject";
+ script {
+ set_int(email_state, 0);
+ set_state(PART:"elm.text.subject", "unread", 0.0);
+ }
}
program { name: "go_attach";
signal: "elm,state,attach";
rel2.to: "elm.text1.rect";
align: 0.0 0.0;
text {
- style: "genlist_email_textblock_unread_style";
+ style: "genlist_style_email_unread";
min: 0 1;
max: 0 1;
align: 0.0 0.5;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_selected_style";
+ text.style: "genlist_style_email_selected";
}
description { state: "read" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_read_style";
+ text.style: "genlist_style_email_read";
}
description { state: "unread" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_unread_style";
+ text.style: "genlist_style_email_unread";
}
description { state: "urgency_read" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_urgency_read_style";
+ text.style: "genlist_style_email_urgency_read";
}
description { state: "urgency_unread" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock_urgency_unread_style";
+ text.style: "genlist_style_email_urgency_unread";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
}
align: 0.0 0.5;
text {
- style: "genlist_email_textblock2_style";
+ style: "genlist_style_email_name";
min: 0 1;
align: 0.0 0.5;
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_email_textblock2_selected_style";
+ text.style: "genlist_style_email_name_selected";
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
image: "00_list_bar_press_1x80.png" COMP;
}
parts {
- GENLIST_PART_BASE( GENLIST_HEIGHT_129_INC )
+ GENLIST_PART_BASE( 129 )
GENLIST_PART_BG_IMAGE
GENLIST_PART_BOTTOM_LINE
- GENLIST_PART_PADDING_TOP( GENLIST_PADDING_10_INC )
- GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_TOP( 10 )
+ GENLIST_PART_PADDING_BOTTOM( 10 )
GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
part { name: "elm.swallow.colorbar";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
- min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
+ min: 10 21;
fixed: 1 1;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.padding.bottom",
fixed: 1 1;
- rel1 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- align: 1.0 0.5;
- }
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.icon2.left";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_PADDING_16_INC 0;
- fixed: 1 0;
- rel1.to_x: "elm.icon.2";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.icon.2";
- }
- align: 1.0 0.0;
- visible: 0;
- }
- }
+ GENLIST_PART_PADDING_RIGHT_TO("elm.padding.icon2.left", "elm.icon.2", GENLIST_PADDING_16_INC)
part { name: "elm.text.2";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.icon2.left", "elm.padding.bottom",
min: 0 GENLIST_SIZE_48_INC;
- fixed: 0 1;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.bottom";
- }
- rel2 {
- relative: 0.0 0.0;
- to_x: "elm.padding.icon2.left";
- to_y: "elm.padding.bottom";
- }
- align: 0.0 1.0;
+ fixed: 0 1;
color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
min: 0 1;
align: 0.0 0.5;
text_class: "slp_medium";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
+ // virtual padding for limiting flexible text
+ GENLIST_PART_PADDING_RIGHT_TO("elm.padding.text1.right", "elm.icon.2", GENLIST_ICON_SMALL_SIZE+32)
part { name: "elm.text.1";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
- min: 0 0;
- max: GENLIST_SIZE_560_INC 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- to_y: "elm.text.2";
- }
- align: 0.0 0.5;
+ GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.text1.right", "elm.padding.top", "elm.text.2",
+ align: 0 0.5;
color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
text {
font: "SLP:style=Roman";
size: GENLIST_LIST_MAIN_TEXT_SIZE;
- min: 1 1;
- align: 0.0 0.5;
+ min: 0 1;
+ max: 1 1;
+ align: 0 0.5;
text_class: "list_item";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.icon1.left";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- min: GENLIST_PADDING_16_INC 0;
- fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.text.1";
- }
- rel2.to_x: "elm.text.1";
- align: 0.0 0.0;
- visible: 0;
- }
- }
+ GENLIST_PART_PADDING_LEFT_TO("elm.padding.icon1.left", "elm.text.1", GENLIST_PADDING_16_INC)
part { name: "elm.icon.1";
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION("elm.padding.icon1.left", "elm.padding.icon2.left", "elm.padding.top", "elm.text.2",
min: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
max: GENLIST_ICON_SMALL_SIZE GENLIST_ICON_SMALL_SIZE;
fixed: 1 1;
- rel1 {
- relative: 1.0 1.0;
- to_x: "elm.padding.icon1.left";
- to_y: "elm.padding.top";
- }
- rel2 {
- relative: 1.0 0.0;
- to_x: "elm.padding.icon1.left";
- to_y: "elm.text.2";
- }
- align: 0.0 0.5;
- }
+ align: 0 0.5;
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
GENLIST_PART_FLIP
}
align: 0.0 0.5;
text {
- style: "genlist_email_textblock_unread_style";
+ style: "genlist_style_email_unread";
min: 0 1;
max: 0 1;
align: 0.0 0.5;
GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
- GENLIST_PADDING("elm.icon.right", GENLIST_DESCRIPT_LINE_RIGHT("default", "elm.text.4", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
- GENLIST_PADDING("elm.text.1.right", GENLIST_DESCRIPT_LINE_RIGHT("default", "elm.icon.1", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
- GENLIST_PADDING("elm.text.3.right", GENLIST_DESCRIPT_LINE_RIGHT("default", "elm.text.2", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
+ GENLIST_PADDING("elm.icon.right", GENLIST_DESCRIPTION_RTB("elm.text.4", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
+ GENLIST_PADDING("elm.text.1.right", GENLIST_DESCRIPTION_RTB("elm.icon.1", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
+ GENLIST_PADDING("elm.text.3.right", GENLIST_DESCRIPTION_RTB("elm.text.2", "elm.padding.top", "elm.padding.bottom", fixed: 1 0; min:16 0; visible: 0;))
part { name: "elm.bubble";
type: IMAGE;
description{ state: "default" 0.0;
clip_to: "disclip";
type: TEXT;
scale: 1;
- GENLIST_DESCRIPT_DOT_RT("default", "elm.padding.right", "elm.padding.top",
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.padding.top",
color: GENLIST_LIST_BUBBLE_TEXT_COLOR;
fixed: 1 1;
min: GENLIST_ICON_MEDIUM_SIZE 60;
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- GENLIST_DESCRIPT_DOT_RT("default", "elm.icon.right", "elm.padding.top",
+ GENLIST_DESCRIPTION_RT("elm.icon.right", "elm.padding.top",
color: 0 255 255 255;
fixed: 1 1;
min: GENLIST_ICON_MEDIUM_SIZE GENLIST_ICON_MEDIUM_SIZE;
clip_to: "disclip";
type: TEXT;
scale: 1;
- GENLIST_DESCRIPT_DOT_RB("default", "elm.padding.right", "elm.padding.bottom",
+ GENLIST_DESCRIPTION_RB("elm.padding.right", "elm.padding.bottom",
color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
fixed: 1 1;
min: 0 48;
clip_to: "disclip";
type: TEXTBLOCK;
scale: 1;
- GENLIST_DESCRIPT_DOT_RT("default", "elm.padding.right", "elm.padding.top",
+ GENLIST_DESCRIPTION_RT("elm.padding.right", "elm.padding.top",
fixed: 1 1;
min: GENLIST_ICON_MEDIUM_SIZE 60;
max: GENLIST_ICON_MEDIUM_SIZE 60;
clip_to: "disclip";
type: TEXTBLOCK;
scale: 1;
- GENLIST_DESCRIPT_DOT_RB("default", "elm.padding.right", "elm.padding.bottom",
+ GENLIST_DESCRIPTION_RB("elm.padding.right", "elm.padding.bottom",
fixed: 1 1;
min: 0 48;
max: 300 48;
GENLIST_PART_BASE( GENLIST_HEIGHT_129_INC )
GENLIST_PART_BG_IMAGE
GENLIST_PART_BOTTOM_LINE
- GENLIST_PART_PADDING_TOP( GENLIST_PADDING_10_INC )
- GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_TOP( 10 )
+ GENLIST_PART_PADDING_BOTTOM( 10 )
GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
part { name: "elm.icon.1";
clip_to: "disclip";
type: SWALLOW;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION_L("elm.padding.left",
min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
fixed: 1 1;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2 {
- relative: 1.0 1.0;
- to_x: "elm.padding.left";
- }
- align: 0.0 0.5;
- }
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
+ GENLIST_PART_PADDING_LEFT_TO("elm.padding.icon1.right", "elm.icon.1", GENLIST_PADDING_SIZE_DEFAULT)
part { name: "elm.text.1";
clip_to: "disclip";
type: TEXT;
scale: 1;
- description { state: "default" 0.0;
+ GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.text4.left", "elm.padding.top", "elm.text.3",
color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
- fixed: 0 1;
- min: 0 GENLIST_SIZE_SLIDE_60_INC;
- rel1 { relative: 1.0 1.0;
- to_x: "elm.icon.1";
- to_y: "elm.padding.top";
- }
- rel2 { relative: 0.0 1.0;
- to_x: "elm.padding.text1.right";
- to_y: "elm.padding.text1.right";
- }
+ min: 0 60;
text {
font: "SLP:style=Roman";
size: GENLIST_LIST_MAIN_TEXT_SIZE;
align: 0.0 0.5;
text_class: "list_item";
}
- }
+ )
description { state: "read" 0.0;
inherit: "default" 0.0;
color: GENLIST_LIST_MAIN_TEXT_READ_COLOR;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.text1.right";
+ GENLIST_PART_PADDING_RIGHT_TO("elm.padding.text4.left", "elm.bubble", GENLIST_PADDING_SIZE_DEFAULT)
+ part { name: "elm.bubble";
clip_to: "disclip";
- type: RECT;
- scale: 1;
+ type: IMAGE;
description { state: "default" 0.0;
- fixed: 1 1 ;
- align: 1.0 0.0;
- visible: 0;
- min: GENLIST_PADDING_16_INC GENLIST_SIZE_SLIDE_60_INC;
- max: GENLIST_PADDING_16_INC GENLIST_SIZE_SLIDE_60_INC;
- rel1 { relative: 0.0 1.0;
- to_x: "elm.text.2";
- to_y: "elm.padding.top";
- }
- rel2 { relative: 0.0 1.0;
- to_x: "elm.text.2";
- to_y: "elm.padding.top";
+ rel1.to: "elm.text.4";
+ rel2.to: "elm.text.4";
+ // bubble is larger than text in X axis (left, right)
+ rel1.offset: -5 0;
+ rel2.offset: 5 0;
+ image {
+ normal: "00_winset_list_bubble_bg.png";
+ border: 6 6 0 0;
}
}
}
- part { name: "elm.text.2";
+ part { name: "elm.text.4";
clip_to: "disclip";
type: TEXT;
scale: 1;
- description { state: "default" 0.0;
- color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
- fixed: 0 1;
- align: 1.0 1.0;
- min: 0 GENLIST_SIZE_SLIDE_60_INC;
- rel1 { relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
- rel2 { relative: 0.0 1.0;
- to_x: "elm.padding.right";
- to_y: "elm.padding.bottom";
- }
+ GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
+ // bubble is larger than text in X axis (left, right)
+ rel1.offset: -5 0;
+ rel2.offset: -5 0;
+ color: GENLIST_LIST_BUBBLE_TEXT_COLOR;
+ min: 0 48;
text {
font: "SLP:style=Medium";
size: GENLIST_FONT_32_INC;
min: 1 1;
- align: 0.5 0.5;
+ align: 1 0.5;
text_class: "slp_medium";
}
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
- }
+ )
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.bubble";
- type: IMAGE;
- description{ state: "default" 0.0;
- fixed: 0 1;
- min: GENLIST_SIZE_48_INC GENLIST_SIZE_48_INC;
- rel1 { relative: 0 0;
- to_x: "elm.padding.bubble.text4.left";
- to_y: "elm.padding.bubble.text4.left";
- }
- rel2 { relative: 1 1;
- to_x: "elm.padding.bubble.text4.right";
- to_y: "elm.padding.bubble.text4.right";
- }
- image {
- normal: "00_winset_list_bubble_bg.png";
- border: 6 6 0 0;
- }
- }
- }
- part { name: "elm.padding.bubble.text4.left";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 1 0;
- visible: 0;
- min: GENLIST_SIZE_10_INC GENLIST_SIZE_48_INC;
- max: GENLIST_SIZE_10_INC GENLIST_SIZE_48_INC;
- rel1 { relative: 0 1;
- to_x: "elm.text.4";
- to_y: "elm.padding.top";
- }
- rel2 { relative: 0 0;
- to_x: "elm.text.4";
- to_y: "elm.text.2";
- }
-
- }
- }
- part { name: "elm.padding.bubble.text4.right";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 1 0;
- visible: 0;
- min: GENLIST_SIZE_10_INC GENLIST_SIZE_48_INC;
- max: GENLIST_SIZE_10_INC GENLIST_SIZE_48_INC;
- rel1 { relative: 0 1;
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- }
- rel2 { relative: 0 0;
- to_x: "elm.padding.right";
- to_y: "elm.text.2";
- }
- }
- }
- part { name: "elm.text.4";
+ part { name: "elm.text.2";
clip_to: "disclip";
type: TEXT;
scale: 1;
- description { state: "default" 0.0;
- color: GENLIST_LIST_BUBBLE_TEXT_COLOR;
- fixed: 0 1;
- align: 1.0 0.0;
- min: GENLIST_SIZE_28_INC GENLIST_SIZE_48_INC;
- rel1 { relative: 0 1;
- to_x: "elm.padding.bubble.text4.right";
- to_y: "elm.padding.top";
- }
- rel2 { relative: 0 0;
- to_x: "elm.padding.bubble.text4.right";
- to_y: "elm.text.2";
- }
+ GENLIST_DESCRIPTION_RB("elm.padding.right", "elm.padding.bottom",
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ min: 0 60;
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
min: 1 1;
align: 0.5 0.5;
text_class: "slp_medium";
}
+ )
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
- part { name: "elm.padding.text3.right";
- clip_to: "disclip";
- type: RECT;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 1;
- align: 1.0 0.0;
- visible: 0;
- min: GENLIST_PADDING_16_INC GENLIST_SIZE_48_INC;
- max: GENLIST_PADDING_16_INC GENLIST_SIZE_48_INC;
- rel1 { relative: 0 0;
- to_x: "elm.padding.bubble.text4.left";
- to_y: "elm.padding.bubble.text4.left";
- }
- rel2 { relative: 0 0;
- to_x: "elm.padding.bubble.text4.left";
- to_y: "elm.padding.bottom";
- }
- }
- }
+ GENLIST_PART_PADDING_RIGHT_TO("elm.padding.text2.left", "elm.text.2", GENLIST_PADDING_SIZE_DEFAULT)
part { name: "elm.text.3";
clip_to: "disclip";
type: TEXT;
scale: 1;
- description { state: "default" 0.0;
- color: GENLIST_NAME_TEXT_COLOR;
- fixed: 0 1;
- align: 0.0 0.0;
- min: 0 GENLIST_SIZE_48_INC;
- rel1 { relative: 1 1;
- to_x: "elm.icon.1";
- to_y: "elm.text.1";
- }
- rel2 { relative: 0 1;
- to_x: "elm.padding.text3.right";
- to_y: "elm.padding.text3.right";
- }
+ GENLIST_DESCRIPTION_LRB("elm.padding.icon1.right", "elm.padding.text2.left", "elm.padding.bottom",
+ color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
+ align: 0 1;
+ min: 0 48;
text {
font: "SLP:style=Medium";
- size: GENLIST_FONT_32_INC;
+ size: GENLIST_LIST_SUB_TEXT_SIZE;
min: 0 1;
align: 0.0 0.5;
text_class: "slp_medium";
}
- }
+ )
description { state: "selected" 0.0;
inherit: "default" 0.0;
- color: GENLIST_LIST_MAIN_TEXT_FOCUS_COLOR;
+ color: GENLIST_LIST_SUB_TEXT_FOCUS_COLOR;
}
GENLIST_DESCRIPTION_FLIP_ENABLED
}
target: "bg_image";
target: "elm.text.1";
target: "elm.text.2";
+ target: "elm.text.3";
}
program { name: "go_passive";
signal: "elm,state,unselected";
target: "bg_image";
target: "elm.text.1";
target: "elm.text.2";
+ target: "elm.text.3";
transition: LINEAR 0.1;
}
program { name: "go_read";