} \
)
+
+
+// 3 button
group {
- name: "elm/genlist/item/3button/default";
+ name: "elm/genlist/item/3button_flat/default";
+ alias: "elm/genlist/item/3button_flat_recent/default";
data.item: "treesize" 0;
data.item: "flips" "elm.flip.icon elm.flip.content";
- data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area elm.icon.1 elm.icon.2 elm.icon.3 elm.swallow.center_check";
- data.item: "vi_effect" "off";
+ data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area";
+ data.item: "vi_effect" "on";
+ data.item: "dim" "off";
+ data.item: "focus_bg" "off";
+
parts {
PART_LIST_BG
PART_LIST_PADDINGS(
- LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
- LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
+ LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
+ LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
)
+
PART(SWALLOW, "base",
- DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
- min: 360 0;
- fixed: 1 0;
- visible: 1;
- )
+ DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ min: 360 0;
+ fixed: 1 0;
+ visible: 1;
+ )
)
- part { name: "elm.icon.1.touch_area"; // left icon
-// type: RECT;
- type: SWALLOW;
- repeat_events, 0;
- description {
- state: "default" 0.0;
- color: 255 0 0 100;
- visible: 1;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;}
- }
- }
- part { name: "elm.icon.2.touch_area"; // center icon
-// type: RECT;
- type: SWALLOW;
- repeat_events, 0;
- description {
- state: "default" 0.0;
- color: 0 255 0 100;
- visible: 1;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -5 -5;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +5 +5;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -8 -8;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +8 +8;}
- }
+ part {
+ name: "elm.icon.1"; // left icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 100 100;
+ max: 100 100;
+ rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;}
+ }
}
- part { name: "elm.icon.3.touch_area"; // right icon
-// type: RECT;
- type: SWALLOW;
- repeat_events, 0;
- description {
- state: "default" 0.0;
- color: 0 0 255 100;
- visible: 1;
- align: 0.5 0.5;
- fixed: 1 1;
- rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -6 -5;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +6 +5;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -7 -7;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +7 +7;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -9 -8;}
- rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +9 +8;}
- }
+ part {
+ name: "elm.icon.1.touch_area"; // left icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 120 120;
+ max: 120 120;
+ rel1 { relative: 60/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 60/360 0.5; to: "base"; offset: 0 0;}
+ }
}
- part { name: "elm.icon.1"; // left icon
- type: SWALLOW;
- repeat_events, 1;
- description {
- state: "default" 0.0;
- //color: 255 0 0 255;
- visible: 1;
- align: 0.5 0;
- fixed: 1 1;
- min: 57 57;
- max: 57 57;
- rel1 { relative: 112/360 0; to: "base"; offset: 0 35;}
- rel2 { relative: 112/360 0; to: "base"; offset: 0 35;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- min: 57+(99-57)/2 57+(99-57)/2;
- max: 57+(99-57)/2 57+(99-57)/2;
- rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
- rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- min: 99 99;
- max: 99 99;
- rel1 { relative: 64/360 0; to: "base"; offset: 0 12;}
- rel2 { relative: 64/360 0; to: "base"; offset: 0 12;}
- }
+
+ part {
+ name: "elm.icon.2"; // center icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 100 100;
+ max: 100 100;
+ rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;}
+ }
+
}
- part { name: "elm.icon.2"; // center icon
- type: SWALLOW;
- repeat_events, 1;
- description {
- state: "default" 0.0;
- visible: 1;
- align: 0.5 0;
- fixed: 1 1;
- min: 57 57;
- max: 57 57;
- rel1 { relative: 0.5 0; to: "bg"; offset: 0 20;}
- rel2 { relative: 0.5 0; to: "bg"; offset: 0 20;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- min: 57+(99-57)/2 57+(99-57)/2;
- max: 57+(99-57)/2 57+(99-57)/2;
- rel1 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
- rel2 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- min: 99 99;
- max: 99 99;
- rel1 { relative: 0.5 0; to: "base"; offset: 0 12;}
- rel2 { relative: 0.5 0; to: "base"; offset: 0 12;}
- }
+ part {
+ name: "elm.icon.2.touch_area"; // center icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 120 120;
+ max: 120 120;
+ rel1 { relative: 180/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 180/360 0.5; to: "base"; offset: 0 0;}
+ }
+
}
- part { name: "elm.icon.3"; // right icon
- type: SWALLOW;
- repeat_events, 1;
- description {
- state: "default" 0.0;
- //color: 255 0 0 255;
- visible: 1;
- align: 0.5 0;
- fixed: 1 1;
- min: 57 57;
- max: 57 57;
- rel1 { relative: 249/360 0; to: "base"; offset: 0 35;}
- rel2 { relative: 249/360 0; to: "base"; offset: 0 35;}
- }
- description {
- state: "default" 0.1;
- inherit: "default" 0.0;
- min: 57+(99-57)/2 57+(99-57)/2;
- max: 57+(99-57)/2 57+(99-57)/2;
- rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
- rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
- }
- description {
- state: "default" 0.9;
- inherit: "default" 0.0;
- min: 99 99;
- max: 99 99;
- rel1 { relative: 297/360 0; to: "base"; offset: 0 12;}
- rel2 { relative: 297/360 0; to: "base"; offset: 0 12;}
- }
+
+
+ part {
+ name: "elm.icon.3"; // right icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 100 100;
+ max: 100 100;
+ rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;}
+ }
+ }
+ part {
+ name: "elm.icon.3.touch_area"; // right icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 120 120;
+ max: 120 120;
+ rel1 { relative: 300/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 300/360 0.5; to: "base"; offset: 0 0;}
+ }
}
- PART(SPACER, "elm.padding.fake",
- DESC_TB("elm.padding.top","elm.padding.bottom",
- min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
- max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
- fixed: 1 0;
- )
+ }
+ }
+
+//2button
+ group {
+ name: "elm/genlist/item/2button_flat/default";
+ data.item: "treesize" 0;
+ data.item: "flips" "elm.flip.icon elm.flip.content";
+ data.item: "contents" "base elm.icon.1 elm.icon.2 elm.icon.1.touch_area elm.icon.2.touch_area";
+ data.item: "vi_effect" "on";
+ data.item: "dim" "off";
+ data.item: "focus_bg" "off";
+
+
+ parts {
+ PART_LIST_BG
+ PART_LIST_PADDINGS(
+ LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
+ LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
)
- PART(SPACER, "elm.padding.center",
- DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom",
- min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
- max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
- fixed: 1 0;
- )
+
+ PART(SWALLOW, "base",
+ DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
+ min: 360 0;
+ fixed: 1 0;
+ visible: 1;
)
- PART(SWALLOW, "elm.swallow.center_check",
- description { state: "default" 0.0;
+ )
+
+ part {
+ name: "elm.icon.1"; // left icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
align: 0.5 0.5;
+ fixed: 1 1;
+ min: 100 100;
+ max: 100 100;
+ rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;}
}
- )
- }
+ }
+ part {
+ name: "elm.icon.1.touch_area"; // left icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 120 120;
+ max: 120 120;
+ rel1 { relative: 120/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 120/360 0.5; to: "base"; offset: 0 0;}
+ }
+ }
-//Gesture VI
- program { name: "do_start_expand_0.0";
- action: STATE_SET "default" 0.0;
- target: "elm.icon.1";
- target: "elm.icon.2";
- target: "elm.icon.3";
- target: "elm.icon.1.touch_area";
- target: "elm.icon.2.touch_area";
- target: "elm.icon.3.touch_area";
- transition: LINEAR 0.3;
- }
- program { name: "do_start_expand_0.1";
- action: STATE_SET "default" 0.1;
- target: "elm.icon.1";
- target: "elm.icon.2";
- target: "elm.icon.3";
- target: "elm.icon.1.touch_area";
- target: "elm.icon.2.touch_area";
- target: "elm.icon.3.touch_area";
- transition: LINEAR 0.3;
- }
- program { name: "do_start_expand_0.9";
- action: STATE_SET "default" 0.9;
- target: "elm.icon.1";
- target: "elm.icon.2";
- target: "elm.icon.3";
- target: "elm.icon.1.touch_area";
- target: "elm.icon.2.touch_area";
- target: "elm.icon.3.touch_area";
- transition: LINEAR 0.3;
- }
- program { name: "start_expand_0.0";
- source: "elm";
- signal: "elm,action,ime,0.0";
- script {
- run_program(PROGRAM:"do_start_expand_0.0");
- }
- }
- program { name: "start_expand_0.1";
- source: "elm";
- signal: "elm,action,ime,0.1";
- script {
- run_program(PROGRAM:"do_start_expand_0.1");
- }
- }
- program { name: "start_expand_0.9";
- source: "elm";
- signal: "elm,action,ime,0.9";
- script {
- run_program(PROGRAM:"do_start_expand_0.9");
- }
- }
+ part {
+ name: "elm.icon.2"; // center icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 100 100;
+ max: 100 100;
+ rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;}
+ }
-//Rotary VI
- program { name: "do_rotary_start_expand_0.9";
- action: STATE_SET "default" 0.9;
- target: "elm.icon.1";
- target: "elm.icon.2";
- target: "elm.icon.3";
- target: "elm.icon.1.touch_area";
- target: "elm.icon.2.touch_area";
- target: "elm.icon.3.touch_area";
- transition: LINEAR 0.5;
- }
- program { name: "do_rotary_start_expand_0.0";
- action: STATE_SET "default" 0.0;
- target: "elm.icon.1";
- target: "elm.icon.2";
- target: "elm.icon.3";
- target: "elm.icon.1.touch_area";
- target: "elm.icon.2.touch_area";
- target: "elm.icon.3.touch_area";
- transition: LINEAR 0.5;
- }
- program { name: "rotary_start_expand_0.9";
- source: "elm";
- signal: "elm,action,rotary,ime,0.9";
- script {
- run_program(PROGRAM:"do_rotary_start_expand_0.9");
- }
- }
- program { name: "rotary_start_expand_0.0";
- source: "elm";
- signal: "elm,action,rotary,ime,0.0";
- script {
- run_program(PROGRAM:"do_rotary_start_expand_0.0");
- }
+ }
+ part {
+ name: "elm.icon.2.touch_area"; // center icon
+ type: SWALLOW;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ align: 0.5 0.5;
+ fixed: 1 1;
+ min: 120 120;
+ max: 120 120;
+ rel1 { relative: 240/360 0.5; to: "base"; offset: 0 0;}
+ rel2 { relative: 240/360 0.5; to: "base"; offset: 0 0;}
+ }
+
+ }
}
+ }
+ group { name: "elm/button/base/ime/transparent";
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 130;
+ color_class: "AO015";
+ visible: 0;
+ }
+ description {
+ state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015P";
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color_class: "AO015D";
+ }
+ }
+ part {
+ name: "padding_left_top";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ min: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "padding_right_bottom";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 1.0 1.0;
+ min: 0 0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "icon_rect";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 1.0;
+ to: "padding_left_top";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "padding_left_top";
+ to_y: "padding_right_bottom";
+ }
+ min: 0 0;
+ fixed: 1 1;
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ min: 134 61;
+ max: 134 61;
+ fixed: 1 1;
+ }
+ }
+ }
}
group {
data.item: "flips" "elm.flip.icon elm.flip.content";
data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check";
data.item: "vi_effect" "off";
-
parts {
PART_LIST_BG
PART_LIST_PADDINGS(