4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, IlKook Yun <ilkook.yun@samsung.com>, CinWoo Kim <cinoo.kim@samsung.com> JiYeon Park <jy0703.park@samsung.com>
8 * This library is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by the
10 * Free Software Foundation; either version 2.1 of the License, or (at your option)
13 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 * License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, write to the Free Software Foundation, Inc., 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 ///////////////////////////////////////////////////////////////////////////////////////
26 name: "elm/multibuttonentry/base/default";
27 data.item: "closed_button_type" "image"; /* image, label, default : label */
28 data.item: "closed_height" MULTIBUTTONENTRY_CLOSEDBUTTON_AREA_HEIGHT;
47 min : MULTIBUTTONENTRY_WIDTH_PAD MULTIBUTTONENTRY_HEIGHT_PAD;
49 rel1 { relative: 0.0 0.0;to:elm.base; }
50 rel2 { relative: 0.0 0.0;to:elm.base; }
56 name: "bottom.right.pad";
61 min : MULTIBUTTONENTRY_WIDTH_PAD MULTIBUTTONENTRY_HEIGHT_PAD;
63 rel1 { relative: 1.0 1.0;to:elm.base; }
64 rel2 { relative: 1.0 1.0;to:elm.base; }
74 rel1 { relative: 1.0 1.0; to: "top.left.pad"; }
75 rel2 { relative: 0.0 0.0; to: "bottom.right.pad"; }
82 ///////////////////////////////////////////////////////////////////////////////////////
84 name: "elm/multibuttonentry/guidetext/default";
103 state: "default" 0.0;
104 color: MULTIBUTTONENTRY_GUIDETEXT_COLOR_INC;
106 font: "SLP:style=Roman";
107 size: MULTIBUTTONENTRY_GUIDETEXT_SIZE;
116 ///////////////////////////////////////////////////////////////////////////////////////
118 name: "elm/multibuttonentry/btn/default";
119 data.item: "button_max_size" MULTIBUTTONENTRY_BUTTON_MAX_SIZE;
127 state: "default" 0.0;
128 min: 0 MULTIBUTTONENTRY_BUTTON_BASE_SIZE;
129 max: 5000 MULTIBUTTONENTRY_BUTTON_BASE_SIZE;
134 //----------------------------------------------------padding
140 state: "default" 0.0;
141 min : 0 MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD;
143 rel1 { relative: 0.0 0.0;to:elm.base; }
144 rel2 { relative: 1.0 0.0;to:elm.base; }
150 name: "bottom.padding";
154 state: "default" 0.0;
155 min : 0 MULTIBUTTONENTRY_BUTTON_TOP_BUTTOM_PAD;
157 rel1 { relative: 0.0 1.0;to:elm.base; }
158 rel2 { relative: 1.0 1.0;to:elm.base; }
164 name: "left.padding";
168 state: "default" 0.0;
171 rel1 { relative: 0.0 0.0; to: "elm.base"; }
172 rel2 { relative: 0.0 1.0; to: "elm.base"; }
178 name: "left.inner.padding";
182 state: "default" 0.0;
183 min : MULTIBUTTONENTRY_BUTTON_LEFT_INNER_PAD 0;
185 rel1 { relative: 1.0 0.0; to_x:"left.padding"; to_y:"elm.base"; }
186 rel2 { relative: 1.0 1.0; to_x:"left.padding"; to_y:"elm.base"; }
192 name: "right.padding";
196 state: "default" 0.0;
197 min : MULTIBUTTONENTRY_BUTTON_RIGHT_PAD 0;
199 rel1 { relative: 1.0 0.0; to: "elm.base"; }
200 rel2 { relative: 1.0 1.0; to: "elm.base"; }
206 name: "right.inner.padding";
210 state: "default" 0.0;
211 min : MULTIBUTTONENTRY_BUTTON_RIGHT_INNER_PAD 0;
213 rel1 { relative: 0.0 0.0; to_x:right.padding; to_y:elm.base; }
214 rel2 { relative: 0.0 1.0; to_x:right.padding; to_y:elm.base; }
219 //---------------------------------------------------- contents
226 state: "default" 0.0;
227 rel1 { relative: 1.0 1.0; to_x:"left.padding";to_y:"top.padding";}
228 rel2 { relative: 0.0 0.0; to_x:"right.padding";to_y:"bottom.padding";}
229 color: MULTIBUTTONENTRY_NORMAL_BUTTON_COLOR_INC;
232 state: "focused" 0.0;
233 inherit: "default" 0.0;
234 color: MULTIBUTTONENTRY_PRESSED_BUTTON_COLOR_INC;
238 name: "elm.btn.text";
243 state: "default" 0.0;
248 style: "multibuttonentry_textblock_style";
251 rel1 { relative: 1.0 1.0; to_x:"left.inner.padding";to_y:"top.padding";}
252 rel2 { relative: 0.0 0.0; to_x:"right.inner.padding";to_y:"bottom.padding";}
260 signal: "mouse,clicked,1";
261 source: "elm.btn.bg";
262 action: SIGNAL_EMIT "clicked" "elm";
267 action: STATE_SET "default" 0.0;
268 target: "elm.btn.bg";
273 action: STATE_SET "focused" 0.0;
274 target: "elm.btn.bg";
279 style { name: "multibuttonentry_textblock_style";
280 base: "font=SLP:style=Medium align=center font_size="MULTIBUTTONENTRY_BUTTON_TEXT_SIZE" color="MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INT" text_class=label";
284 ///////////////////////////////////////////////////////////////////////////////////////
286 name: "elm/label/base/extended/multibuttonentry_default";
290 name: "textblock_style_multibuttonentry_default";
291 base: "font=SLP:style=Medium font_size=24 color=#000000 wrap=char";
294 tag: "hilight" "+ font=SLP:style=Bold";
295 tag: "b" "+ font=SLP:style=Bold";
302 name: "label.swallow.background";
305 state: "default" 0.0;
307 rel1 { relative: 0 0; to: "elm.text"; }
308 rel2 { relative: 1 1; to: "elm.text"; }
317 state: "default" 0.0;
319 style: "textblock_style_multibuttonentry_default";
327 ///////////////////////////////////////////////////////////////////////////////////////
329 name: "elm/multibuttonentry/closedbutton/default";
331 image: "00_mbe_btn_circle_bg_normal.png" COMP;
332 image: "00_mbe_btn_circle_bg_press.png" COMP;
333 image: "00_mbe_btn_expand_closed.png" COMP;
334 image: "00_mbe_btn_expand_closed_press.png" COMP;
336 data.item: "closed_button_height" MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE;
337 data.item: "closed_button_width" MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE;
341 name: "closed_button_bg";
346 state: "default" 0.0;
348 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE;
350 image.normal: "00_mbe_btn_circle_bg_normal.png";
351 rel1 { relative: 0.0 0.0; }
352 rel2 { relative: 1.0 1.0; }
355 state: "clicked" 0.0;
356 inherit: "default" 0.0;
357 image.normal: "00_mbe_btn_circle_bg_press.png";
361 name: "closed_button";
366 state: "default" 0.0;
368 min: MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE MULTIBUTTONENTRY_CLOSEDBUTTON_SIZE;
370 image.normal: "00_mbe_btn_expand_closed.png";
371 rel1 { relative: 0.0 0.0; }
372 rel2 { relative: 1.0 1.0; }
375 state: "clicked" 0.0;
376 inherit: "default" 0.0;
377 image.normal: "00_mbe_btn_expand_closed_press.png";
384 name: "button_click";
385 signal: "mouse,down,1";
386 source: "closed_button";
387 action: STATE_SET "clicked" 0.0;
388 target: "closed_button_bg";
389 target: "closed_button";
392 name: "button_unclick";
393 signal: "mouse,up,1";
394 source: "closed_button";
395 action: STATE_SET "default" 0.0;
396 target: "closed_button_bg";
397 target: "closed_button";
403 name: "elm/multibuttonentry/label/default";
406 name: "mbe.label.bg";
410 state: "default" 0.0;
416 state: "no_text" 0.0;
417 inherit: "default" 0.0;
422 name: "mbe.label.left.padding";
426 state: "default" 0.0;
430 rel1.to: "mbe.label.bg";
438 state: "no_text" 0.0;
439 inherit: "default" 0.0;
444 name: "mbe.label.right.padding";
448 state: "default" 0.0;
450 min: MULTIBUTTONENTRY_LABEL_RIGHT_PAD 0;
456 rel2.to: "mbe.label.bg";
460 state: "no_text" 0.0;
461 inherit: "default" 0.0;
470 state: "default" 0.0;
471 color: MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC;
472 min: 0 MULTIBUTTONENTRY_LABEL_MIN_HEIGHT;
475 font: "SLP:style=Roman";
476 size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE;
480 rel1 { relative: 1.0 1.0; to: "mbe.label.left.padding"; }
481 rel2 { relative: 0.0 0.0; to: "mbe.label.right.padding"; }
484 state: "no_text" 0.0;
485 inherit: "default" 0.0;
494 signal: "elm,mbe,set_text";
496 action: STATE_SET "default" 0.0;
497 target: "mbe.label.bg";
498 target: "mbe.label.left.padding";
499 target: "mbe.label.right.padding";
504 signal: "elm,mbe,clear_text";
506 action: STATE_SET "no_text" 0.0;
507 target: "mbe.label.bg";
508 target: "mbe.label.left.padding";
509 target: "mbe.label.right.padding";