/*
- * nBeat-theme
+ * Beat-theme
*
* Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd.
*
#define EDIT_ICON_WIDTH 26
#define EDIT_ICON_HEIGHT 26
- #define GENLIST_EDIT_SELECT_ICON_WIDTH EDIT_ICON_WIDTH
- #define GENLIST_EDIT_SELECT_ICON_HEIGHT EDIT_ICON_HEIGHT
+ #define GENLIST_EDIT_CHECKBOX_WIDTH EDIT_ICON_WIDTH
+ #define GENLIST_EDIT_CHECKBOX_HEIGHT EDIT_ICON_HEIGHT
group { name: "elm/genlist/item/edit_control/default";
alias: "elm/genlist/item_odd/edit_control/default";
data.item: "del_confirm" "elm.icon.del_confirm";
data.item: "icon_width" 50;
data.item: "del_button_style" "custom/red";
- //data.item: "icons" "elm.swallow.end";
+ data.item: "icons" "elm.swallow.end";
data.item: "rename" "elm.swallow.edit_field_1line elm.swallow.edit_field_2line";
images {
- image: "checkbox_on.png" COMP;
- image: "checkbox_off.png" COMP;
- image: "01_list_reorder.png" COMP;
- image: "01_list_reorder_selected.png" COMP;
- image: "01_list_minus.png" COMP;
- image: "01_list_minus_rotated.png" COMP;
- image: "01_list_minus_on_rotate.png" COMP;
- image: "01_list_plus.png" COMP;
+ image: "00_check_bg.png" COMP;
+ image: "00_check_checking.png" COMP;
image: "01_list_reorder_bg_above.png" COMP;
image: "01_list_reorder_bg_below.png" COMP;
- image: "00_button_reveal.png" COMP;
+ image: "00_list_group_edit_field_middle.png" COMP;
+ image: "00_reorder_group_list_bg.png" COMP;
+ image: "00_list_body_bg.png" COMP;
}
parts {
part { name: "base";
scale: 1;
description { state: "default" 0.0;
min: 0 70;
- color: 0 0 0 0;
- }
- description { state: "rename" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- }
-
- }
- part { name: "base_line_above";
- type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- min: 0 3;
- fixed: 1 1;
- rel1.to: "base";
- rel2.to: "base";
- rel2.relative: 1.0 0.0;
- rel2.offset: -1 -1;
- color: GENLIST_EDIT_PART_LINE_INC;
+ color: 0 0 0 0;
}
}
- part { name: "base_line_below";
+ BEAT_GENLIST_PART_PADDING_TOP( 0 )
+ BEAT_GENLIST_PART_PADDING_BOTTOM( 0 )
+
+ part { name: "elm.padding.left";
type: RECT;
- mouse_events: 0;
- description { state: "default" 0.0;
- align: 1.0 1.0;
- min: 0 2;
- fixed: 1 1;
- rel1.to: "base";
- rel1.relative: 0.0 1.0;
- rel2.to: "base";
- color: GENLIST_EDIT_PART_LINE_INC;
- }
- }
- part { name: "reorder_glow_above";
- mouse_events: 0;
+ scale: 1;
description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 1 0;
visible: 0;
- rel1.to:"base";
- rel1.relative: 0.0 -0.3;
- rel2.to:"base";
- rel2.relative: 1.0 0.0;
- image {
- normal: "01_list_reorder_bg_above.png";
- }
- fill.smooth: 0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.0;
}
description { state: "reorder" 0.0;
inherit: "default" 0.0;
- visible: 1;
+ min: 20 0;
+ fixed: 1 0;
}
}
- part { name: "reorder_glow_below";
- mouse_events: 0;
+
+ BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
+
+ part { name: "reorder_left_image";
+ clip_to: "disclip";
+ mouse_events: 1;
+ scale: 1;
description { state: "default" 0.0;
- visible: 0;
- rel1.to:"base";
- rel1.relative: 0.0 1.0;
- rel2.to:"base";
- rel2.relative: 1.0 1.3;
- image {
- normal: "01_list_reorder_bg_below.png";
+ min: 15 0;
+ fixed: 1 0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
}
- fill.smooth: 0;
+ rel2 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.bottom";
+ }
+ image.normal: "00_list_body_bg.png";
}
description { state: "reorder" 0.0;
inherit: "default" 0.0;
- visible: 1;
- }
- }
- part { name: "elm.padding.left";
- type: RECT;
- scale: 1;
- mouse_events: 0;
- description { state: "default" 0.0;
- min: 10 0;
+ min: 15 0;
fixed: 1 0;
- visible: 0;
- rel2.relative: 0.0 1.0;
- align: 0.0 0.0;
+ image.border: 0 0 13 13;
+ image.normal: "00_reorder_group_list_bg.png";
}
}
- part { name: "elm.padding.top";
+
+ part { name: "elm.edit_bg";
type: RECT;
scale: 1;
- mouse_events: 0;
description { state: "default" 0.0;
- min: 0 18;
- fixed: 0 1;
- visible: 0;
- rel2.relative: 1.0 0.0;
- align: 0.0 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "reorder_left_image";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_y: "elm.padding.bottom";
+ }
+ color: GENLIST_PART_BG_COLOR_INC;
}
}
- part { name: "insert_icon";
+
+ part { name: "check_bg";
+ clip_to: "disclip";
+ mouse_events: 1;
scale: 1;
- repeat_events: 0;
description { state: "default" 0.0;
- min: 1 0;
- max: 1 0;
+ visible: 0;
+ min: 0 26;
fixed: 1 1;
- align: 0.0 0.0;
- rel1.to_x: "elm.padding.left";
- rel1.to_y: "elm.padding.top";
- rel1.relative: 1.0 1.0;
- rel2.to_y: "elm.padding.top";
- image.normal: "01_list_plus.png";
- fill.smooth: 0;
- visible:0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "reorder_left_image";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "reorder_left_image";
+ to_y: "base";
+ }
+ image.normal: "00_check_bg.png";
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
visible: 1;
- }
+ min: 26 26;
+
+ }
}
- part { name: "select_icon";
+
+ part { name: "check_checking";
+ clip_to: "disclip";
+ mouse_events: 1;
scale: 1;
- repeat_events: 0;
description { state: "default" 0.0;
- min: GENLIST_EDIT_SELECT_ICON_WIDTH GENLIST_EDIT_SELECT_ICON_HEIGHT;
- fixed: 1 1;
visible: 0;
- align: 0.0 0.0;
+ min: 26 26;
+ fixed: 1 1;
+ align: 0.0 0.5;
rel1 {
- relative: 1.0 1.0;
- to_x: "insert_icon";
- to_y: "elm.padding.top";
+ relative: 1.0 0.5;
+ to_x: "reorder_left_image";
+ to_y: "base";
}
rel2 {
- to_x: "insert_icon";
- to_y: "elm.padding.top";
+ relative: 1.0 0.5;
+ to_x: "reorder_left_image";
+ to_y: "base";
}
- image.normal: "checkbox_off.png";
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- visible: 1;
+ image.normal: "00_check_checking.png";
}
- description { state: "on_transfer" 0.0;
+ description { state: "on_uncheck" 0.0;
inherit: "default" 0.0;
- visible: 1;
- image.normal: "checkbox_on.png";
+ visible: 0;
}
- description { state: "del_confirm" 0.0;
+ description { state: "on_check" 0.0;
inherit: "default" 0.0;
visible: 1;
- image.normal: "checkbox_on.png";
- }
+ }
}
- part { name: "select_icon_touch_area";
+
+ part { name: "check_bg_touch_area";
type: RECT;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
- min: (GENLIST_EDIT_SELECT_ICON_WIDTH+10) 0;
+ min: (GENLIST_EDIT_CHECKBOX_WIDTH+10) 0;
fixed: 1 0;
align: 0 0.5;
- rel1 { relative: 0 0; to_x: "select_icon"; }
- rel2 { relative: 0 1; to_x: "select_icon"; }
+ rel1 { relative: 0 0; to_x: "check_bg"; }
+ rel2 { relative: 0 1; to_x: "check_bg"; }
color: 0 0 0 0;
}
}
- part { name: "reorder_icon";
+
+ part { name: "original_edc";
+ clip_to: "disclip";
+ type: SWALLOW;
+ mouse_events: 1;
scale: 1;
- repeat_events: 0;
description { state: "default" 0.0;
- min: 1 0;
- max: 1 0;
- fixed: 1 1;
- visible: 0;
- align: 1.0 0.0;
rel1 {
+ relative: 1.0 1.0;
+ to_x: "check_bg";
to_y: "elm.padding.top";
- relative: 1.0 1.0;
}
rel2 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
+ relative: 0.2 0.0;
+ to_x: "elm.swallow.end";
+ to_y: "elm.padding.bottom";
}
- image.normal: "01_list_reorder.png";
- fill.smooth: 0;
- visible:0;
}
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- visible: 0;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- image {
- normal: "01_list_reorder_selected.png";
- }
- visible: 0;
- }
- }
- part { name: "elm.icon.del_confirm";
- type: SWALLOW;
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 88 50;
- max: 88 50;
- fixed: 1 1;
- align: 1.0 0.0;
- rel1 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_x: "elm.padding.right";
- to_y: "elm.padding.top";
- relative: 0.0 1.0;
- }
- visible:0;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- visible:1;
- }
- description { state: "del_confirm" 0.0;
- inherit: "default" 0.0;
- visible:1;
- }
- }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
- part { name: "del_confirm_wrapper";
- type: RECT;
- scale: 1;
- repeat_events: 1;
- description { state: "default" 0.0;
- align: 0.0 0.0;
- rel1.to: "elm.icon.del_confirm";
- rel1.relative: 0.0 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 1.0 1.0;
-
- color: 255 255 255 0;
- visible:1;
- }
- description { state: "enabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 255;
- visible:0;
- }
- description { state: "on_transfer" 0.0;
- inherit: "default" 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 0.5 1.0;
- color: 255 255 255 255;
- visible:0;
- }
- description { state: "del_confirm" 0.0;
- inherit: "default" 0.0;
- rel2.to: "elm.icon.del_confirm";
- rel2.relative: 0.0 1.0;
- color: 255 255 255 255;
- visible:0;
- }
- }
+ part { name: "elm.swallow.end";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 1.0 0.5;
+ visible: 1;
+ rel1.to_x: "elm.padding.right";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ }
+ }
+ description { state: "disable" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
- part { name: "elm.padding.right";
- type: RECT;
- scale: 1;
- repeat_events: 0;
- description { state: "default" 0.0;
- min: 15 0;
- max: 15 0;
- fixed: 1 1;
- visible: 0;
- align: 1.0 0.0;
- rel1 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- rel2 {
- to_y: "elm.padding.top";
- relative: 1.0 1.0;
- }
- }
- }
- part { name: "elm.swallow.end";
- type: SWALLOW;
- scale: 1;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 1.0 0.5;
- visible: 1;
- rel1.to_x: "elm.padding.right";
- rel2 {
- relative: 0.0 1.0;
- to_x: "elm.padding.right";
- }
- }
- description { state: "disable" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
- part { name: "elm.swallow.edit_field_1line";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.0;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 0.5;
- offset: 0 0;
- }
- color: 0 0 0 255;
- }
- }
- part { name: "elm.swallow.edit_field_2line";
- type: SWALLOW;
- mouse_events: 1;
- scale: 1;
- description { state: "default" 0.0;
- rel1 {
- relative: 1.0 0.5;
- offset: 0 0;
- to_x: "elm.padding.left";
- }
- rel2 {
- to_x: "elm.padding.right";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- color: 0 0 0 255;
- }
- }
- }
- programs {
- program {
- name: "on_mouse_down";
- signal: "mouse,down,1";
- source: "base";
- action: SIGNAL_EMIT "elm,action,edit,reset" "elm";
+ part { name: "elm.swallow.edit_field_bg";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "check_bg";
+ offset: 0 1;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -6;
+ }
+ image.border: 13 13 9 9;
+ image.normal: "00_list_group_edit_field_middle.png";
}
- program {
- name: "on_delete";
- signal: "mouse,down,1";
- source: "select_icon_touch_area";
- action: SIGNAL_EMIT "elm,action,item,delete" "elm";
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+
+ part { name: "elm.swallow.edit_field_1line";
+ type: SWALLOW;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to_x: "check_bg";
+ offset: 0 1;
+ }
+ rel2 {
+ relative: 0.98 1.0;
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+
+ part { name: "bottom_line";
+ type: RECT;
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: 0 0;
+ fixed: 0 1;
+ visible: 1;
+ color: GENLIST_EDIT_PART_LINE_INC;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "check_bg";
+ offset: 0 -1;
}
- program {
- name: "on_insert";
- signal: "mouse,down,1";
- source: "insert_icon";
- action: SIGNAL_EMIT "elm,action,item,insert" "elm";
+ }
+ description {
+ state: "hide" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description {
+ state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ min: 0 5;
+ fixed: 0 1;
+ }
+ }
+ part { name: "reorder_glow_above";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 -0.3;
+ rel2.relative: 1.0 0.0;
+ image {
+ normal: "01_list_reorder_bg_above.png";
}
- program {
- name: "on_reorder";
- signal: "mouse,down,1";
- source: "reorder_icon";
- action: SIGNAL_EMIT "elm,click,item,reorder" "elm";
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "reorder_glow_below";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.3;
+ image {
+ normal: "01_list_reorder_bg_below.png";
}
- program {
- name: "del_mode";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- target: "elm.icon.del_confirm";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- after: "hide_del_confirm";
- }
+ fill.smooth: 0;
+ }
+ description { state: "reorder" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
- program {
- name: "to_del_mode";
- signal: "elm,state,delete";
- source: "elm";
- action: STATE_SET "on_transfer" 0.0;
- target: "select_icon";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- after: "del_mode";
- }
- program {
- name: "start_del_confirm_mode";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "del_confirm_wrapper";
- after: "animate_to_del_confirm_mode";
- }
- program {
- name: "animate_to_del_confirm_mode";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "on_transfer" 0.0;
- target: "select_icon";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.5;
- after: "del_confirm_mode";
- }
- program {
- name: "del_confirm_mode";
- action: STATE_SET "del_confirm" 0.0;
- target: "select_icon";
- target: "elm.icon.del_confirm";
- target: "del_confirm_wrapper";
- transition: LINEAR 0.5;
- }
- program {
- name: "hide_del_confirm";
- action: SIGNAL_EMIT "elm,action,hide,del_confirm" "elm";
- after : hide_del_confirm_wrapper;
- }
- program {
- name: "hide_del_confirm_wrapper";
- action: STATE_SET "default" 0.0;
- target: "del_confirm_wrapper";
- transition: LINEAR 0.1;
- }
- program {
- name: "show_reorder_glow";
- signal: "elm,action,item,reorder_start";
- source: "elm";
- action: STATE_SET "reorder" 0.0;
- target: "reorder_glow_above";
- target: "reorder_glow_below";
- }
- program {
- name: "hide_reorder_glow";
- signal: "elm,action,item,reorder_end";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_glow_above";
- target: "reorder_glow_below";
- }
- program {
- name: "enable_delete";
- signal: "elm,state,del,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- }
- program {
- name: "enable_delete_animated";
- signal: "elm,state,del,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "select_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_delete";
- signal: "elm,state,del,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "select_icon";
- }
- program {
- name: "disable_delete_animated";
- signal: "elm,state,del,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "select_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_insert";
- signal: "elm,state,ins,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "insert_icon";
- }
- program {
- name: "enable_insert_animated";
- signal: "elm,state,ins,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "insert_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_insert";
- signal: "elm,state,ins,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "insert_icon";
- }
- program {
- name: "disable_insert_animated";
- signal: "elm,state,ins,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "insert_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_reorder";
- signal: "elm,state,reorder,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "reorder_icon";
- }
- program {
- name: "enable_reorder_animated";
- signal: "elm,state,reorder,animated,enable";
- source: "elm";
- action: STATE_SET "enabled" 0.0;
- target: "reorder_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "disable_reorder";
- signal: "elm,state,reorder,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_icon";
- }
- program {
- name: "disable_reorder_animated";
- signal: "elm,state,reorder,animated,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "reorder_icon";
- transition: LINEAR 0.1;
- }
- program {
- name: "enable_rename";
- signal: "elm,state,rename,enable";
- source: "elm";
- action: STATE_SET "rename" 0.0;
- target: "base";
- }
- program {
- name: "disable_rename";
- signal: "elm,state,rename,disable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "base";
- }
- program {
- name: "enable_edit_end";
- signal: "elm,state,edit_end,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.end";
- }
- program {
- name: "disable_edit_end";
- signal: "elm,state,edit_end,disable";
- source: "elm";
- action: STATE_SET "disable" 0.0;
- target: "elm.swallow.end";
+ BEAT_GENLIST_PART_DISCLIP
+ }
+ programs {
+
+ // reorder signal
+ program { name: "reorder_enable";
+ signal: "elm,state,reorder_enable";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder_left_image";
+ target: "elm.padding.left";
+ target: "bottom_line";
+ }
+ program { name: "reorder_disable";
+ signal: "elm,state,reorder_disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_left_image";
+ target: "elm.padding.left";
+ target: "bottom_line";
+ }
+ program { name: "reorder_enable_effect";
+ signal: "elm,state,reorder_enable_effect";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder_left_image";
+ after: "reorder_enable_padding_effect";
+ }
+ program { name: "reorder_disable_effect";
+ signal: "elm,state,reorder_disable_effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_left_image";
+ after: "reorder_disable_padding_effect";
+ }
+ program { name: "reorder_enable_padding_effect";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.padding.left";
+ target: "bottom_line";
+ }
+ program { name: "reorder_disable_padding_effect";
+ signal: "elm,state,reorder_disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "elm.padding.left";
+ target: "bottom_line";
+ }
+
+ // checkbox
+ program {
+ name: "on_select";
+ signal: "mouse,clicked,1";
+ source: "check_bg_touch_area";
+ action: SIGNAL_EMIT "elm,action,item,select" "elm";
+ }
+ program {
+ name: "enable_select_mode";
+ signal: "elm,state,sel,enable";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "check_bg";
+ }
+ program {
+ name: "disable_select_mode";
+ signal: "elm,state,sel,disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "check_bg";
+ }
+ program {
+ name: "enable_select_effect_mode";
+ signal: "elm,state,sel,enable_effect";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.5;
+ target: "check_bg";
}
+ program {
+ name: "disable_select_effect_mode";
+ signal: "elm,state,sel,disable_effect";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.5;
+ target: "check_bg";
+ }
+ program {
+ name: "enable_delete";
+ signal: "elm,state,sel_uncheck";
+ source: "elm";
+ action: STATE_SET "on_uncheck" 0.0;
+ target: "check_checking";
+ }
+ program {
+ name: "select_icon_check_mode";
+ signal: "elm,state,sel_check";
+ source: "elm";
+ action: STATE_SET "on_check" 0.0;
+ target: "check_checking";
+ }
+
+ // reorder glow
+ program {
+ name: "show_reorder_glow";
+ signal: "elm,action,item,reorder_start";
+ source: "elm";
+ action: STATE_SET "reorder" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+ program {
+ name: "hide_reorder_glow";
+ signal: "elm,action,item,reorder_end";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_glow_above";
+ target: "reorder_glow_below";
+ }
+
+ // rename
+ program {
+ name: "enable_rename_mode";
+ signal: "elm,state,rename,enable";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.edit_field_bg";
+ target: "elm.swallow.edit_field_1line";
+ }
+ program {
+ name: "disable_rename_mode";
+ signal: "elm,state,rename,disable";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.edit_field_bg";
+ target: "elm.swallow.edit_field_1line";
+ }
}
}
data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
- images {
- image: "00_list_bar_press_1x80.png" COMP;
- }
+
parts {
part { name: "base";
type: RECT;
scale: 1;
description { state: "default" 0.0;
min: 0 70;
- color: GENLIST_PART_SELECT_ALL_BG_COLOR_INC;
+ color: GENLIST_PART_BG_COLOR_INC;
}
}
- BEAT_GENLIST_PART_BG_IMAGE
- BEAT_GENLIST_PART_BOTTOM_LINE
- BEAT_GENLIST_PART_PADDING_LEFT( 10 )
- BEAT_GENLIST_PART_PADDING_RIGHT( 10 )
- part { name: "elm.swallow.icon";
+
+ part { name: "bg";
+ type: RECT;
clip_to: "disclip";
- scale: 1;
+ repeat_events: 0;
+ mouse_events: 0;
description { state: "default" 0.0;
- align: 0.0 0.5;
- fixed: 1 1;
- visible:1;
- min: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- max: EDIT_ICON_WIDTH EDIT_ICON_HEIGHT;
- rel1 {
- relative: 1.0 0.0;
- to_x: "elm.padding.left";
- }
- rel2.to_x: "elm.padding.left";
- image {
- normal: "checkbox_off.png";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- image {
- normal: "checkbox_on.png";
- }
+ color: GENLIST_PART_SELECT_ALL_BG_COLOR_INC;
}
}
- part { name: "elm.padding.center";
+
+ BEAT_GENLIST_PART_BG_IMAGE
+ BEAT_GENLIST_PART_BOTTOM_LINE
+ BEAT_GENLIST_PART_PADDING_LEFT( 10 )
+ BEAT_GENLIST_PART_PADDING_RIGHT( 15 )
+ part { name: "elm.swallow.end";
clip_to: "disclip";
- type: RECT;
- mouse_events: 0;
+ type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
- min: 10 0;
fixed: 1 0;
- rel1 {
- relative: 1.0 0.0;
- to: "elm.swallow.icon";
- }
+ align: 1.0 0.5;
+ rel1.to_x: "elm.padding.right";
rel2 {
- relative: 1.0 1.0;
- to: "elm.swallow.icon";
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
}
- color: 0 0 0 0;
}
}
part { name: "elm.text";
description { state: "default" 0.0;
rel1 {
relative: 1.0 0.0;
- to_x: "elm.padding.center";
+ offset: 20 0;
+ to_x: "check_bg";
}
rel2 {
- to_x: "elm.padding.right";
+ to_x: "elm.swallow.end";
relative: 0.0 1.0;
+ offset: 20 0;
}
color: GENLIST_PART_TEXT_COLOR_INC;
text {
font: "SLP:style=Roman";
- size: 28;
+ size: 32;
min: 0 1;
align: 0.0 0.5;
text: "Select All";
color: 225 225 225 255;
}
}
- BEAT_GENLIST_PART_DISCLIP
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program { name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program { name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disclip";
+ part { name: "check_bg";
+ clip_to: "disclip";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 26 26;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ to_y: "base";
+ }
+ image.normal: "00_check_bg.png";
+ }
}
- program {
- name: "enable_select_check";
- signal: "elm,state,del_confirm";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "elm.swallow.icon";
+
+ part { name: "check_checking";
+ clip_to: "disclip";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 26 26;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ to_y: "base";
+ }
+ rel2 {
+ relative: 1.0 0.5;
+ to_x: "elm.padding.left";
+ to_y: "base";
+ }
+ image.normal: "00_check_checking.png";
+ }
+ description { state: "on_uncheck" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ description { state: "on_check" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
}
- program {
- name: "enable_select_uncheck";
- signal: "elm,state,del,animated,enable";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.swallow.icon";
+
+ part { name: "check_bg_touch_area";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: (GENLIST_EDIT_CHECKBOX_WIDTH+10) 0;
+ fixed: 1 0;
+ align: 0 0.5;
+ rel1 { relative: 0 0; to_x: "check_bg"; }
+ rel2 { relative: 0 1; to_x: "check_bg"; }
+ color: 0 0 0 0;
+ }
}
+
+ BEAT_GENLIST_PART_DISCLIP
+ }
+ programs {
+ program {
+ name: "enable_select_check";
+ signal: "elm,state,sel_check";
+ source: "elm";
+ action: STATE_SET "on_check" 0.0;
+ target: "check_checking";
+ }
+ program {
+ name: "enable_select_uncheck";
+ signal: "elm,state,sel_uncheck";
+ source: "elm";
+ action: STATE_SET "on_uncheck" 0.0;
+ target: "check_checking";
+ }
program {
- name: "on_mouse_down";
- signal: "mouse,down,1";
- source: "elm.swallow.icon";
- action: SIGNAL_EMIT "elm,action,select,press" "elm";
- }
+ name: "on_mouse_click";
+ signal: "mouse,click,1";
+ source: "check_bg_touch_area";
+ action: SIGNAL_EMIT "elm,action,select,click" "elm";
+ }
}
}