2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 ///////////////////////////////////////////////////////////////////////////////////////
21 name: "elm/multibuttonentry/base/default";
22 data.item: "closed_button_type" "label"; /* image, label, default : label */
23 data.item: "closed_height" MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT_INC;
42 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
44 rel1 { relative: 0.0 0.0;to:elm.base; }
45 rel2 { relative: 0.0 0.0;to:elm.base; }
51 name: "bottom.right.pad";
56 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
58 rel1 { relative: 1.0 1.0;to:elm.base; }
59 rel2 { relative: 1.0 1.0;to:elm.base; }
69 rel1 { relative: 1.0 1.0; to: "top.left.pad"; }
70 rel2 { relative: 0.0 0.0; to: "bottom.right.pad"; }
77 ///////////////////////////////////////////////////////////////////////////////////////
79 name: "elm/multibuttonentry/guidetext/default";
100 state: "default" 0.0;
101 color: MULTIBUTTONENTRY_GUIDETEXT_COLOR_INC;
103 font: "SLP:style=Roman";
104 size: MULTIBUTTONENTRY_GUIDETEXT_SIZE_INC;
107 text_class: "slp_roman";
114 ///////////////////////////////////////////////////////////////////////////////////////
116 name: "elm/multibuttonentry/btn/default";
118 image: "00_contacts_button_bg.png" COMP;
119 image: "00_contacts_button_bg_press.png" COMP;
121 data.item: "button_max_size" MULTIBUTTONENTRY_BUTTON_MAX_SIZE_INC;
123 style { name: "multibuttonentry_textblock_style";
124 base: "font=SLP:style=Medium align=0.5 font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC" text_class=slp_medium ellipsis=1.0";
127 tag: "hilight" "+ font=SLP:style=Bold";
128 tag: "b" "+ font=SLP:style=Bold";
139 state: "default" 0.0;
140 min: 56 MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC;
141 max: 5000 MULTIBUTTONENTRY_BUTTON_BASE_SIZE_INC;
146 //----------------------------------------------------padding
152 state: "default" 0.0;
153 min: 0 MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC;
155 rel1 { relative: 0.0 0.0;to:elm.base; }
156 rel2 { relative: 1.0 0.0;to:elm.base; }
162 name: "bottom.padding";
166 state: "default" 0.0;
167 min: 0 MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD_INC;
169 rel1 { relative: 0.0 1.0;to:elm.base; }
170 rel2 { relative: 1.0 1.0;to:elm.base; }
176 name: "left.padding";
180 state: "default" 0.0;
183 rel1 { relative: 0.0 0.0; to: "elm.base"; }
184 rel2 { relative: 0.0 1.0; to: "elm.base"; }
190 name: "right.padding";
194 state: "default" 0.0;
195 min: MULTIBUTTONENTRY_BUTTON_RIGHT_PAD_INC 0;
197 rel1 { relative: 1.0 0.0; to: "elm.base"; }
198 rel2 { relative: 1.0 1.0; to: "elm.base"; }
203 //---------------------------------------------------- contents
210 state: "default" 0.0;
214 rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
215 rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
217 normal:"00_contacts_button_bg.png";
218 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
223 state: "focused" 0.0;
224 inherit: "default" 0.0;
226 normal:"00_contacts_button_bg_press.png";
227 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
233 name: "elm.btn.text";
238 state: "default" 0.0;
243 text: "Auto Resized textblock";
244 style: "multibuttonentry_textblock_style";
248 rel1.to:"elm.btn.bg";
249 rel2.to:"elm.btn.bg";
251 rel2.offset: -11 -11;
253 //rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
254 //rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
262 signal: "mouse,clicked,1";
263 source: "elm.btn.bg";
264 action: SIGNAL_EMIT "clicked" "elm";
269 action: STATE_SET "default" 0.0;
270 target: "elm.btn.bg";
275 action: STATE_SET "focused" 0.0;
276 target: "elm.btn.bg";
281 name: "elm/label/base/extended/multibuttonentry_default";
285 name: "textblock_style_multibuttonentry_default";
286 base: "font=SLP:style=Roman font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color=#FFFFFF wrap=char text_class=slp_roman";
289 tag: "hilight" "+ font=SLP:style=Bold";
290 tag: "b" "+ font=SLP:style=Bold";
297 name: "label.swallow.background";
300 state: "default" 0.0;
302 rel1 { relative: 0 0; to: "elm.text"; }
303 rel2 { relative: 1 1; to: "elm.text"; }
312 state: "default" 0.0;
314 style: "textblock_style_multibuttonentry_default";
322 ///////////////////////////////////////////////////////////////////////////////////////
324 name: "elm/multibuttonentry/closedbutton/default";
326 image: "00_mbe_btn_circle_bg_normal.png" COMP;
327 image: "00_mbe_btn_circle_bg_press.png" COMP;
328 image: "00_mbe_btn_expand_closed.png" COMP;
329 image: "00_mbe_btn_expand_closed_press.png" COMP;
331 data.item: "closed_button_height" MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
332 data.item: "closed_button_width" MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
336 name: "closed_button_bg";
341 state: "default" 0.0;
343 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
344 max: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
346 image.normal: "00_mbe_btn_circle_bg_normal.png";
347 rel1 { relative: 0.0 0.0; }
348 rel2 { relative: 1.0 1.0; }
351 state: "clicked" 0.0;
352 inherit: "default" 0.0;
353 image.normal: "00_mbe_btn_circle_bg_press.png";
357 name: "closed_button";
362 state: "default" 0.0;
364 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
365 max: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE_INC;
367 image.normal: "00_mbe_btn_expand_closed.png";
368 rel1 { relative: 0.0 0.0; }
369 rel2 { relative: 1.0 1.0; }
372 state: "clicked" 0.0;
373 inherit: "default" 0.0;
374 image.normal: "00_mbe_btn_expand_closed_press.png";
381 name: "button_click";
382 signal: "mouse,down,1";
383 source: "closed_button";
384 action: STATE_SET "clicked" 0.0;
385 target: "closed_button_bg";
386 target: "closed_button";
389 name: "button_unclick";
390 signal: "mouse,up,1";
391 source: "closed_button";
392 action: STATE_SET "default" 0.0;
393 target: "closed_button_bg";
394 target: "closed_button";
400 name: "elm/multibuttonentry/label/default";
404 name: "multibuttonentry_label_style";
405 base: "font=SLP:style=Roman font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color=#FFFFFF wrap=char text_class=slp_roman";
408 tag: "hilight" "+ font=SLP:style=Bold";
409 tag: "b" "+ font=SLP:style=Bold";
416 name: "mbe.label.bg";
421 state: "default" 0.0;
427 state: "no_text" 0.0;
428 inherit: "default" 0.0;
433 name: "mbe.label.left.padding";
438 state: "default" 0.0;
442 rel1.to: "mbe.label.bg";
450 state: "no_text" 0.0;
451 inherit: "default" 0.0;
456 name: "mbe.label.right.padding";
461 state: "default" 0.0;
463 min: MULTIBUTTONENTRY_LABEL_RIGHT_PAD_INC 0;
469 rel2.to: "mbe.label.bg";
473 state: "no_text" 0.0;
474 inherit: "default" 0.0;
484 state: "default" 0.0;
485 color: MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC;
486 min: 0 MULTIBUTTONENTRY_LABEL_MIN_HEIGHT_INC;
489 style: "multibuttonentry_label_style";
493 rel1 { relative: 1.0 1.0; to: "mbe.label.left.padding"; }
494 rel2 { relative: 0.0 0.0; to: "mbe.label.right.padding"; }
497 state: "no_text" 0.0;
498 inherit: "default" 0.0;
507 signal: "elm,mbe,set_text";
509 action: STATE_SET "default" 0.0;
510 target: "mbe.label.bg";
511 target: "mbe.label.left.padding";
512 target: "mbe.label.right.padding";
517 signal: "elm,mbe,clear_text";
519 action: STATE_SET "no_text" 0.0;
520 target: "mbe.label.bg";
521 target: "mbe.label.left.padding";
522 target: "mbe.label.right.padding";