2 * Copyright (c) 2010 Samsung Electronics, Inc.
5 * This software is a confidential and proprietary information
6 * of Samsung Electronics, Inc. ("Confidential Information"). You
7 * shall not disclose such Confidential Information and shall use
8 * it only in accordance with the terms of the license agreement
9 * you entered into with Samsung Electronics.
11 group { name: "setting/layout/button_controller2/default";
13 image: "tw_number_controller_button_bg.png" COMP;
14 image: "tw_number_controller_contents_bg.png" COMP;
17 style { name: "controller_style";
18 base: "font=Tizen:style=Regular font_size="20" align=center color=#FF9100 text_class=tizen";
20 tag: "hilight" "+ font_weight=Bold";
21 tag: "b" "+ font_weight=Bold";
28 description { state: "default" 0.0;
33 normal: "tw_number_controller_button_bg.png";
39 part { name: "top_left_padding";
42 description { state: "default" 0.0;
47 rel2.relative: 0.0 0.0;
50 part { name: "bottom_right_padding";
53 description { state: "default" 0.0;
58 rel1.relative: 1.0 1.0;
61 part { name: "center_padding";
64 description { state: "default" 0.0;
70 part { name: "elm.icon.left";
73 description { state: "default" 0.0;
79 to: "top_left_padding";
83 to_x: "center_padding";
84 to_y: "bottom_right_padding";
89 part { name: "elm.icon.right";
92 description { state: "default" 0.0;
98 to_x: "center_padding";
99 to_y: "top_left_padding";
103 to: "bottom_right_padding";
108 part { name: "bg_center";
110 description { state: "default" 0.0;
111 image.normal: "tw_number_controller_contents_bg.png";
112 image.border: 6 6 6 6;
113 image.border_scale: 1;
114 min: 94 52; // FIXME: 94 is too short for text??
119 part { name: "elm.icon";
122 description { state: "default" 0.0;
128 description { state: "1digit" 0.0;
129 inherit: "default" 0.0;
144 description { state: "2digit" 0.0;
145 inherit: "1digit" 0.0;
150 part { name: "elm.text";
152 description { state: "default" 0.0;
166 style: "controller_style";
171 description { state: "1digit" 0.0;
172 inherit: "default" 0.0;
175 description { state: "2digit" 0.0;
176 inherit: "1digit" 0.0;
186 signal: "elm,state,1digit";
188 action: STATE_SET "1digit" 0.0;
193 signal: "elm,state,2digit";
195 action: STATE_SET "2digit" 0.0;
200 signal: "elm,state,nodigit";
202 action: STATE_SET "default" 0.0;