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.
21 name: "elm/multibuttonentry/base/default";
23 data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
24 data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
25 data.item: "closed_button_type" "label"; /* image, label, default: label */
35 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
37 rel2.relative: 0.0 0.0;
43 name: "bottom.right.pad";
49 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
51 rel1.relative: 1.0 1.0;
67 to: "bottom.right.pad";
71 part { name: "block_events";
78 state: "invisible" 0.0;
82 part { name: "events";
85 ignore_flags: ON_HOLD;
95 signal: "mouse,clicked,1";
97 action: SIGNAL_EMIT "elm,action,clicked" "";
101 signal: "elm,state,event,allow";
103 action: STATE_SET "invisible" 0.0;
104 target: "block_events";
108 signal: "elm,state,event,block";
110 action: STATE_SET "default" 0.0;
111 target: "block_events";
117 name: "elm/multibuttonentry/guidetext/default";
121 name: "multibuttonentry_guide_style";
122 base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=slp";
125 tag: "hilight" "+ font=SLP:style=Bold";
126 tag: "b" "+ font=SLP:style=Bold";
138 state: "default" 0.0;
139 min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
140 text.style: "multibuttonentry_guide_style";
147 name: "elm/multibuttonentry/btn/default";
150 image: "00_contacts_button.png" COMP;
151 image: "00_contacts_button_press.png" COMP;
154 data.item: "button_max_size" MULTIBUTTONENTRY_BUTTON_MAX_INC;
163 state: "default" 0.0;
164 min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC;
166 normal: "00_contacts_button.png";
167 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
172 state: "focused" 0.0;
173 inherit: "default" 0.0;
174 image.normal: "00_contacts_button_press.png";
178 name: "left.padding";
183 state: "default" 0.0;
184 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
186 rel2.relative: 0.0 1.0;
192 name: "right.padding";
197 state: "default" 0.0;
198 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
200 rel1.relative: 1.0 0.0;
206 name: "elm.btn.text";
211 state: "default" 0.0;
212 color: MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC;
214 font: "SLP:style=Regular";
215 size: MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC;
229 state: "ellipsis" 0.0;
230 inherit: "default" 0.0;
231 min: MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 0;
235 part { name: "events";
237 ignore_flags: ON_HOLD;
239 state: "default" 0.0;
246 name: "text_ellipsis";
247 signal: "elm,state,text,ellipsis";
249 action: STATE_SET "ellipsis" 0.0;
250 target: "elm.btn.text";
256 action: STATE_SET "focused" 0.0;
257 target: "elm.btn.bg";
264 action: STATE_SET "default" 0.0;
265 target: "elm.btn.bg";
269 signal: "mouse,clicked,1";
271 action: SIGNAL_EMIT "elm,action,clicked" "";
275 action: SIGNAL_EMIT "elm,action,selected" "";
281 name: "elm/multibuttonentry/number/default";
290 state: "default" 0.0;
291 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
293 rel2.relative: 0.0 1.0;
304 state: "default" 0.0;
305 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
306 color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
308 font: "SLP:style=Regular";
309 size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;
323 name: "elm/multibuttonentry/closedbutton/default";
326 image: "00_circle_button.png" COMP;
327 image: "00_button_expand_closed.png" COMP;
332 name: "closed_button_bg";
336 state: "default" 0.0;
337 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
338 image.normal: "00_circle_button.png";
342 name: "closed_button";
346 state: "default" 0.0;
347 image.normal: "00_button_expand_closed.png";
354 name: "elm/multibuttonentry/label/default";
358 name: "multibuttonentry_label_style";
359 base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=slp";
362 tag: "hilight" "+ font=SLP:style=Bold";
363 tag: "b" "+ font=SLP:style=Bold";
370 name: "mbe.label.right.padding";
375 state: "default" 0.0;
376 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
378 rel1.relative: 1.0 0.0;
389 state: "default" 0.0;
390 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
392 style: "multibuttonentry_label_style";
397 to: "mbe.label.right.padding";