2 * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 group { name: "setting/layout/button_controller2/default";
19 image: "tw_number_controller_button_bg.png" COMP;
20 image: "tw_number_controller_contents_bg.png" COMP;
23 style { name: "controller_style";
24 base: "font=Tizen:style=Regular font_size="20" align=center color=#FF9100 text_class=tizen";
26 tag: "hilight" "+ font_weight=Bold";
27 tag: "b" "+ font_weight=Bold";
34 description { state: "default" 0.0;
39 normal: "tw_number_controller_button_bg.png";
45 part { name: "top_left_padding";
48 description { state: "default" 0.0;
53 rel2.relative: 0.0 0.0;
56 part { name: "bottom_right_padding";
59 description { state: "default" 0.0;
64 rel1.relative: 1.0 1.0;
67 part { name: "center_padding";
70 description { state: "default" 0.0;
76 part { name: "elm.icon.left";
79 description { state: "default" 0.0;
85 to: "top_left_padding";
89 to_x: "center_padding";
90 to_y: "bottom_right_padding";
95 part { name: "elm.icon.right";
98 description { state: "default" 0.0;
104 to_x: "center_padding";
105 to_y: "top_left_padding";
109 to: "bottom_right_padding";
114 part { name: "bg_center";
116 description { state: "default" 0.0;
117 image.normal: "tw_number_controller_contents_bg.png";
118 image.border: 6 6 6 6;
119 image.border_scale: 1;
120 min: 94 52; // FIXME: 94 is too short for text??
125 part { name: "elm.icon";
128 description { state: "default" 0.0;
134 description { state: "1digit" 0.0;
135 inherit: "default" 0.0;
150 description { state: "2digit" 0.0;
151 inherit: "1digit" 0.0;
156 part { name: "elm.text";
158 description { state: "default" 0.0;
172 style: "controller_style";
177 description { state: "1digit" 0.0;
178 inherit: "default" 0.0;
181 description { state: "2digit" 0.0;
182 inherit: "1digit" 0.0;
192 signal: "elm,state,1digit";
194 action: STATE_SET "1digit" 0.0;
199 signal: "elm,state,2digit";
201 action: STATE_SET "2digit" 0.0;
206 signal: "elm,state,nodigit";
208 action: STATE_SET "default" 0.0;