2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Flora License, Version 1.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://floralicense.org/license/
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/brightness_layout";
19 style { name: "custom_style2";
20 base: "font=Tizen:style=Regular font_size="50" align=center color=""#FFFFFF"" wtext_class=tizen";
22 tag: "hilight" "+ font_weight=Bold";
23 tag: "b" "+ font_weight=Bold";
26 style { name: "outdoor_style2";
27 base: "font=Tizen:style=Regular font_size="25" align=center color=#FF9100 text_class=tizen";
29 tag: "hilight" "+ font_weight=Bold";
30 tag: "b" "+ font_weight=Bold";
36 image: "tw_number_controller_icon_brightness.png" COMP;
37 image: "tw_number_controller_icon_brightness_1.png" COMP;
38 image: "tw_number_controller_icon_brightness_2.png" COMP;
39 image: "tw_number_controller_icon_brightness_3.png" COMP;
40 image: "tw_number_controller_icon_brightness_4.png" COMP;
41 image: "tw_number_controller_icon_brightness_5.png" COMP;
48 description { state: "default";
49 rel1 { relative: 0.0 0.0; }
50 rel2 { relative: 1.0 1.0; }
54 part { name: "top_padding";
57 description { state: "default" 0.0;
62 rel2.relative: 1.0 0.0;
65 part { name: "bottom_padding";
68 description { state: "default" 0.0;
73 rel1.relative: 0.0 1.0;
76 part { name: "left_padding";
79 description { state: "default" 0.0;
84 rel2.relative: 0.0 1.0;
87 part { name: "right_padding";
90 description { state: "default" 0.0;
95 rel1.relative: 1.0 0.0;
98 part { name: "elm.text.bg";
102 state: "default" 0.0;
106 to_x: "left_padding";
112 to_x: "right_padding";
121 part { name: "elm.text";
124 description { state: "default" 0.0;
128 to_x: "left_padding";
134 to_x: "right_padding";
140 style: "custom_style2";
147 part { name: "elm.icon.1";
150 description { state: "default" 0.0;
155 to_x: "left_padding";
161 to_x: "right_padding";
168 part { name: "brightness.icon";
172 state: "default" 0.0;
188 image.normal: "tw_number_controller_icon_brightness_1.png";
189 color_class: "W173L1";
193 inherit: "default" 0.0;
194 image.normal: "tw_number_controller_icon_brightness_2.png";
195 color_class: "W173L1";
199 inherit: "default" 0.0;
200 image.normal: "tw_number_controller_icon_brightness_3.png";
201 color_class: "W173L1";
205 inherit: "default" 0.0;
206 image.normal: "tw_number_controller_icon_brightness_4.png";
207 color_class: "W173L1";
211 inherit: "default" 0.0;
212 image.normal: "tw_number_controller_icon_brightness_5.png";
213 color_class: "W173L1";
217 part { name: "auto.check";
226 to_x: "left_padding";
227 to_y: "brightness.icon";
232 to_x: "left_padding";
233 to_y: "brightness.icon";
238 part { name: "auto.text";
242 description { state: "default" 0.0;
265 part { name: "auto.text.rect";
269 description { state: "default" 0.0;
282 FOCUS_OBJECT("auto.text.rect")
284 part { name: "elm.text.2";
287 description { state: "default" 0.0;
293 to_x: "left_padding";
299 to_x: "right_padding";
305 style: "outdoor_style";
310 description { state: "visible" 0.0;
311 inherit: "default" 0.0;
319 description { state: "default" 0.0;
332 part { name: "padding";
336 description { state: "default" 0.0;
352 description { state: "default" 0.0;
369 signal: "elm,state,outdoor.visible";
371 action: STATE_SET "visible" 0.0;
372 target: "elm.text.2";
376 signal: "elm,state,brightness,level,1";
378 action: STATE_SET "default" 0.0;
379 target: "brightness.icon";
382 signal: "elm,state,brightness,level,2";
384 action: STATE_SET "level2" 0.0;
385 target: "brightness.icon";
388 signal: "elm,state,brightness,level,3";
390 action: STATE_SET "level3" 0.0;
391 target: "brightness.icon";
394 signal: "elm,state,brightness,level,4";
396 action: STATE_SET "level4" 0.0;
397 target: "brightness.icon";
400 signal: "elm,state,brightness,level,5";
402 action: STATE_SET "level5" 0.0;
403 target: "brightness.icon";