2 * Copyright (c) 2015 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 #include "../../include/defs.h"
21 image, "mask_user_nor.png" COMP;
44 rel2.relative, 0.0 0.0;
58 inherit, "default" 0.0;
59 color, 255 255 255 255;
63 inherit, "default" 0.0;
64 rel1.relative, 0.0 -1.0;
65 rel2.relative, 1.0 0.0;
66 color, 255 255 255 255;
70 inherit, "default" 0.0;
71 rel1.relative, 0.0 1.0;
72 rel2.relative, 1.0 2.0;
73 color, 255 255 255 255;
77 inherit, "default" 0.0;
78 rel1.relative, 1.0 0.0;
79 rel2.relative, 2.0 1.0;
80 color, 255 255 255 255;
84 inherit, "default" 0.0;
85 rel1.relative, -1.0 0.0;
86 rel2.relative, 0.0 1.0;
87 color, 255 255 255 255;
91 name, PART_BAR_ITEM_BG;
103 name, PART_BAR_ITEM_ICON;
107 state, "default" 0.0;
109 rel1.relative, 0.5 0.5;
110 rel2.relative, 0.5 0.5;
115 name, PART_BAR_ITEM_ICON_FOCUS;
120 state, "default" 0.0;
121 rel1.to, PART_BAR_ITEM_ICON;
122 rel2.to, PART_BAR_ITEM_ICON;
130 state, "default" 0.0;
131 rel1.to, PART_BAR_ITEM_ICON;
132 rel2.to, PART_BAR_ITEM_ICON;
133 image.normal, "mask_user_nor.png";
138 inherit, "default" 0.0;
148 state, "default" 0.0;
149 image.normal, "mask_user_nor.png";
150 color, 0 119 245 255;
151 rel1.to, PART_BAR_ITEM_ICON;
152 rel2.to, PART_BAR_ITEM_ICON;
157 inherit, "default" 0.0;
164 name, "sig,initial,focus";
165 signal, SIG_INITIAL_FOCUS;
167 action, STATE_SET "default" 0.0;
175 action, STATE_SET "focus" 0.0;
176 transition, LINEAR 0.5;
183 action, STATE_SET "default" 0.0;
184 transition, LINEAR 0.5;
188 name, "sig,focus,to,up";
189 signal, SIG_FOCUS_TO_UP;
191 action, STATE_SET "up" 0.0;
192 transition, LINEAR 0.5;
196 name, "sig,focus,to,down";
197 signal, SIG_FOCUS_TO_DOWN;
199 action, STATE_SET "down" 0.0;
200 transition, LINEAR 0.5;
204 name, "sig,focus,to,right";
205 signal, SIG_FOCUS_TO_RIGHT;
207 action, STATE_SET "right" 0.0;
208 transition, LINEAR 0.5;
212 name, "sig,unfocus,to,right";
213 signal, SIG_UNFOCUS_TO_RIGHT;
215 action, STATE_SET "left" 0.0;
220 name, "sig,focus,to,left";
221 signal, SIG_FOCUS_TO_LEFT;
223 action, STATE_SET "left" 0.0;
224 transition, LINEAR 0.5;
228 name, "sig,unfocus,to,left";
229 signal, SIG_UNFOCUS_TO_LEFT;
231 action, STATE_SET "right" 0.0;
236 name, "sig,show,mask";
237 signal, SIG_SHOW_MASK;
242 after, "sig,show,mask,after";
245 name, "sig,show,mask,after";
247 action, STATE_SET "show" 0.0;
251 name, "sig,focus,mask";
255 if (get_int(mask_on) == 1)
256 set_state(PART:"mask_focus", "show", 0.0);