3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 name: "touch_sound" AS_IS;
21 source: "S_Touch_30ms.wav";
26 name: "elm/multibuttonentry/base/default";
28 data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
29 data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
30 data.item: "closed_button_type" "label"; /* image, label, default: label */
40 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
42 rel2.relative: 0.0 0.0;
48 name: "bottom.right.pad";
54 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
56 rel1.relative: 1.0 1.0;
72 to: "bottom.right.pad";
76 part { name: "block_events";
83 state: "invisible" 0.0;
87 part { name: "events";
90 ignore_flags: ON_HOLD;
100 signal: "mouse,clicked,1";
102 action: SIGNAL_EMIT "elm,action,clicked" "";
106 signal: "elm,state,event,allow";
108 action: STATE_SET "invisible" 0.0;
109 target: "block_events";
113 signal: "elm,state,event,block";
115 action: STATE_SET "default" 0.0;
116 target: "block_events";
122 name: "elm/multibuttonentry/guidetext/default";
126 name: "multibuttonentry_guide_style";
127 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=tizen";
130 tag: "hilight" "+ font=Tizen:style=Bold";
131 tag: "b" "+ font=Tizen:style=Bold";
143 state: "default" 0.0;
144 min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
145 text.style: "multibuttonentry_guide_style";
152 name: "elm/multibuttonentry/btn/default";
156 name: "multibuttonentry_btn_text_style";
157 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" text_class=tizen";
160 name: "multibuttonentry_btn_text_ellipsis_style";
161 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" ellipsis=1 text_class=tizen";
166 image: "00_contacts_button.png" COMP;
167 image: "00_contacts_button_press.png" COMP;
170 data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
171 data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
180 state: "default" 0.0;
181 min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC;
183 normal: "00_contacts_button.png";
184 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
189 state: "focused" 0.0;
190 inherit: "default" 0.0;
191 image.normal: "00_contacts_button_press.png";
195 name: "left.padding";
200 state: "default" 0.0;
201 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
203 rel2.relative: 0.0 1.0;
209 name: "right.padding";
214 state: "default" 0.0;
215 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
217 rel1.relative: 1.0 0.0;
223 name: "elm.btn.text";
229 state: "default" 0.0;
231 style: "multibuttonentry_btn_text_style";
244 state: "ellipsis" 0.0;
245 inherit: "default" 0.0;
247 style: "multibuttonentry_btn_text_ellipsis_style";
252 part { name: "events";
254 ignore_flags: ON_HOLD;
256 state: "default" 0.0;
263 name: "text_ellipsis";
264 signal: "elm,state,text,ellipsis";
266 action: STATE_SET "ellipsis" 0.0;
267 target: "elm.btn.text";
273 action: STATE_SET "focused" 0.0;
274 target: "elm.btn.bg";
281 action: STATE_SET "default" 0.0;
282 target: "elm.btn.bg";
286 signal: "mouse,clicked,1";
288 action: SIGNAL_EMIT "elm,action,clicked" "";
293 action: PLAY_SAMPLE "touch_sound" 1.0;
297 action: SIGNAL_EMIT "elm,action,selected" "";
303 name: "elm/multibuttonentry/number/default";
312 state: "default" 0.0;
313 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
315 rel2.relative: 0.0 1.0;
326 state: "default" 0.0;
327 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
328 color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
330 font: "Tizen:style=Regular";
331 size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;
345 name: "elm/multibuttonentry/closedbutton/default";
348 image: "00_circle_button.png" COMP;
349 image: "00_button_expand_closed.png" COMP;
354 name: "closed_button_bg";
358 state: "default" 0.0;
359 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
360 image.normal: "00_circle_button.png";
364 name: "closed_button";
368 state: "default" 0.0;
369 image.normal: "00_button_expand_closed.png";
376 name: "elm/multibuttonentry/label/default";
380 name: "multibuttonentry_label_style";
381 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=tizen";
384 tag: "hilight" "+ font=Tizen:style=Bold";
385 tag: "b" "+ font=Tizen:style=Bold";
392 name: "mbe.label.right.padding";
397 state: "default" 0.0;
398 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
400 rel1.relative: 1.0 0.0;
411 state: "default" 0.0;
412 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
414 style: "multibuttonentry_label_style";
419 to: "mbe.label.right.padding";