* limitations under the License.
*/
-
+ sounds {
+ sample {
+ name: "touch_sound" AS_IS;
+ source: "S_Touch_30ms.wav";
+ }
+ }
group {
name: "elm/multibuttonentry/base/default";
data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
+ data.item: "closed_button_type" "label"; /* image, label, default: label */
parts {
part {
}
}
part {
- name: "elm.swallow.box";
+ name: "box.swallow";
type: SWALLOW;
description {
state: "default" 0.0;
program {
name: "event_allow";
signal: "elm,state,event,allow";
- source: "elm";
+ source: "";
action: STATE_SET "invisible" 0.0;
target: "block_events";
}
program {
name: "event_block";
signal: "elm,state,event,block";
- source: "elm";
+ source: "";
action: STATE_SET "default" 0.0;
target: "block_events";
}
}
group {
- name: "elm/multibuttonentry/label/default";
+ name: "elm/multibuttonentry/guidetext/default";
styles {
style {
- name: "multibuttonentry_label_style";
- base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=slp";
+ name: "multibuttonentry_guide_style";
+ base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=tizen";
tag: "br" "\n";
tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
tag: "tab" "\t";
}
}
parts {
part {
- name: "right.pad";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
- fixed: 1 0;
- rel1.relative: 1.0 0.0;
- align: 1.0 0.5;
- color: 0 0 0 0;
- }
- }
- part {
name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
- multiline: 0;
scale: 1;
description {
state: "default" 0.0;
- min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
- text {
- style: "multibuttonentry_label_style";
- min: 1 0;
- }
- rel2 {
- relative: 0.0 1.0;
- to: "right.pad";
- }
+ min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
+ text.style: "multibuttonentry_guide_style";
}
}
}
}
group {
- name: "elm/multibuttonentry/guide/default";
+ name: "elm/multibuttonentry/btn/default";
styles {
style {
- name: "multibuttonentry_guide_style";
- base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=slp";
- tag: "br" "\n";
- tag: "ps" "ps";
- tag: "hilight" "+ font=SLP:style=Bold";
- tag: "b" "+ font=SLP:style=Bold";
- tag: "tab" "\t";
+ name: "multibuttonentry_btn_text_style";
+ base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" text_class=tizen";
}
- }
-
- parts {
- part {
- name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- multiline: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
- text {
- style: "multibuttonentry_guide_style";
- min: 1 0;
- }
- }
+ style {
+ name: "multibuttonentry_btn_text_ellipsis_style";
+ base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" ellipsis=1 text_class=tizen";
}
}
-}
-
-group {
- name: "elm/multibuttonentry/button/default";
images {
image: "00_contacts_button.png" COMP;
image: "00_contacts_button_press.png" COMP;
}
- data.item: "max_size" MULTIBUTTONENTRY_BUTTON_MAX_INC;
+ data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
+ data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
parts {
part {
- name: "bg";
+ name: "elm.btn.bg";
type: IMAGE;
mouse_events: 0;
scale: 1;
}
}
part {
- name: "left.pad";
+ name: "left.padding";
type: RECT;
mouse_events: 0;
scale: 1;
}
}
part {
- name: "right.pad";
+ name: "right.padding";
type: RECT;
mouse_events: 0;
scale: 1;
}
}
part {
- name: "elm.text";
- type: TEXT;
+ name: "elm.btn.text";
+ type: TEXTBLOCK;
mouse_events: 0;
+ multiline: 0;
scale: 1;
description {
state: "default" 0.0;
- color: MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC;
text {
- font: "SLP:style=Regular";
- size: MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC;
+ style: "multibuttonentry_btn_text_style";
min: 1 0;
- text_class: "slp";
}
rel1 {
relative: 1.0 0.0;
- to: "left.pad";
+ to: "left.padding";
}
rel2 {
relative: 0.0 1.0;
- to: "right.pad";
+ to: "right.padding";
}
}
description {
state: "ellipsis" 0.0;
inherit: "default" 0.0;
- min: MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 0;
- text.min: 0 0;
+ text {
+ style: "multibuttonentry_btn_text_ellipsis_style";
+ min: 0 0;
+ }
}
}
part { name: "events";
program {
name: "text_ellipsis";
signal: "elm,state,text,ellipsis";
- source: "elm";
+ source: "";
action: STATE_SET "ellipsis" 0.0;
- target: "elm.text";
+ target: "elm.btn.text";
}
program {
name: "focused";
- signal: "elm,state,bg,focus";
- source: "elm";
+ signal: "focused";
+ source: "";
action: STATE_SET "focused" 0.0;
- target: "bg";
+ target: "elm.btn.bg";
after: "selected";
}
program {
name: "unfocused";
- signal: "elm,state,bg,unfocus";
- source: "elm";
+ signal: "default";
+ source: "";
action: STATE_SET "default" 0.0;
- target: "bg";
+ target: "elm.btn.bg";
}
program {
name: "clicked";
signal: "mouse,clicked,1";
source: "events";
action: SIGNAL_EMIT "elm,action,clicked" "";
+ after: "touch_snd";
+ }
+ program {
+ name: "touch_snd";
+ action: PLAY_SAMPLE "touch_sound" 1.0;
}
program {
name: "selected";
min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
text {
- font: "SLP:style=Regular";
+ font: "Tizen:style=Regular";
size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;
min: 1 0;
- text_class: "slp";
+ text_class: "tizen";
}
rel1 {
relative: 1.0 0.0;
}
}
}
+
+group {
+ name: "elm/multibuttonentry/closedbutton/default";
+
+ images {
+ image: "00_circle_button.png" COMP;
+ image: "00_button_expand_closed.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "closed_button_bg";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
+ image.normal: "00_circle_button.png";
+ }
+ }
+ part {
+ name: "closed_button";
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ image.normal: "00_button_expand_closed.png";
+ }
+ }
+ }
+}
+
+group {
+ name: "elm/multibuttonentry/label/default";
+
+ styles {
+ style {
+ name: "multibuttonentry_label_style";
+ base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+
+ parts {
+ part {
+ name: "mbe.label.right.padding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
+ fixed: 1 0;
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "mbe.label";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
+ text {
+ style: "multibuttonentry_label_style";
+ min: 1 0;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "mbe.label.right.padding";
+ }
+ }
+ }
+ }
+}