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.
19 name: "elm/multibuttonentry/base/default";
21 data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
22 data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
23 data.item: "closed_button_type" "label"; /* image, label, default: label */
33 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
35 rel2.relative: 0.0 0.0;
41 name: "bottom.right.pad";
47 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
49 rel1.relative: 1.0 1.0;
65 to: "bottom.right.pad";
69 part { name: "block_events";
76 state: "invisible" 0.0;
80 part { name: "events";
83 ignore_flags: ON_HOLD;
93 signal: "mouse,clicked,1";
95 action: SIGNAL_EMIT "elm,action,clicked" "";
99 signal: "elm,state,event,allow";
101 action: STATE_SET "invisible" 0.0;
102 target: "block_events";
106 signal: "elm,state,event,block";
108 action: STATE_SET "default" 0.0;
109 target: "block_events";
115 name: "elm/multibuttonentry/guidetext/default";
119 name: "multibuttonentry_guide_style";
120 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=tizen";
123 tag: "hilight" "+ font=Tizen:style=Bold";
124 tag: "b" "+ font=Tizen:style=Bold";
136 state: "default" 0.0;
137 min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
138 text.style: "multibuttonentry_guide_style";
145 name: "elm/multibuttonentry/btn/default";
149 name: "multibuttonentry_btn_text_style";
150 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" text_class=tizen";
153 name: "multibuttonentry_btn_text_ellipsis_style";
154 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" ellipsis=1 text_class=tizen";
159 image: "00_contacts_button.png" COMP;
160 image: "00_contacts_button_press.png" COMP;
163 data.item: "button_left_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
164 data.item: "button_right_pad" MULTIBUTTONENTRY_BUTTON_PAD_INC;
173 state: "default" 0.0;
174 min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC;
176 normal: "00_contacts_button.png";
177 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
182 state: "focused" 0.0;
183 inherit: "default" 0.0;
184 image.normal: "00_contacts_button_press.png";
188 name: "left.padding";
193 state: "default" 0.0;
194 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
196 rel2.relative: 0.0 1.0;
202 name: "right.padding";
207 state: "default" 0.0;
208 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
210 rel1.relative: 1.0 0.0;
216 name: "elm.btn.text";
222 state: "default" 0.0;
224 style: "multibuttonentry_btn_text_style";
237 state: "ellipsis" 0.0;
238 inherit: "default" 0.0;
240 style: "multibuttonentry_btn_text_ellipsis_style";
245 part { name: "events";
247 ignore_flags: ON_HOLD;
249 state: "default" 0.0;
256 name: "text_ellipsis";
257 signal: "elm,state,text,ellipsis";
259 action: STATE_SET "ellipsis" 0.0;
260 target: "elm.btn.text";
266 action: STATE_SET "focused" 0.0;
267 target: "elm.btn.bg";
274 action: STATE_SET "default" 0.0;
275 target: "elm.btn.bg";
279 signal: "mouse,clicked,1";
281 action: SIGNAL_EMIT "elm,action,clicked" "";
286 action: PLAY_SAMPLE "touch_sound" 1.0;
290 action: SIGNAL_EMIT "elm,action,selected" "";
296 name: "elm/multibuttonentry/number/default";
305 state: "default" 0.0;
306 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
308 rel2.relative: 0.0 1.0;
319 state: "default" 0.0;
320 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
321 color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
323 font: "Tizen:style=Regular";
324 size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;
338 name: "elm/multibuttonentry/closedbutton/default";
341 image: "00_circle_button.png" COMP;
342 image: "00_button_expand_closed.png" COMP;
347 name: "closed_button_bg";
351 state: "default" 0.0;
352 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
353 image.normal: "00_circle_button.png";
357 name: "closed_button";
361 state: "default" 0.0;
362 image.normal: "00_button_expand_closed.png";
369 name: "elm/multibuttonentry/label/default";
373 name: "multibuttonentry_label_style";
374 base: "font=Tizen:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=tizen";
377 tag: "hilight" "+ font=Tizen:style=Bold";
378 tag: "b" "+ font=Tizen:style=Bold";
385 name: "mbe.label.right.padding";
390 state: "default" 0.0;
391 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
393 rel1.relative: 1.0 0.0;
404 state: "default" 0.0;
405 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
407 style: "multibuttonentry_label_style";
412 to: "mbe.label.right.padding";