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;
45 inherit, "default" 0.0;
46 color, 255 255 255 255;
50 inherit, "default" 0.0;
51 rel1.relative, 0.0 -1.0;
52 rel2.relative, 1.0 0.0;
53 color, 255 255 255 255;
57 inherit, "default" 0.0;
58 rel1.relative, 0.0 1.0;
59 rel2.relative, 1.0 2.0;
60 color, 255 255 255 255;
64 inherit, "default" 0.0;
65 rel1.relative, 1.0 0.0;
66 rel2.relative, 2.0 1.0;
67 color, 255 255 255 255;
71 inherit, "default" 0.0;
72 rel1.relative, -1.0 0.0;
73 rel2.relative, 0.0 1.0;
74 color, 255 255 255 255;
78 name, PART_BAR_ITEM_BG;
88 name, PART_BAR_ITEM_ICON;
94 rel1.relative, 0.5 0.5;
95 rel2.relative, 0.5 0.5;
100 name, PART_BAR_ITEM_ICON_FOCUS;
105 state, "default" 0.0;
106 rel1.to, PART_BAR_ITEM_ICON;
107 rel2.to, PART_BAR_ITEM_ICON;
115 state, "default" 0.0;
116 rel1.to, PART_BAR_ITEM_ICON;
117 rel2.to, PART_BAR_ITEM_ICON;
118 image.normal, "mask_user_nor.png";
123 inherit, "default" 0.0;
133 state, "default" 0.0;
134 image.normal, "mask_user_nor.png";
135 color, 0 119 245 255;
136 rel1.to, PART_BAR_ITEM_ICON;
137 rel2.to, PART_BAR_ITEM_ICON;
142 inherit, "default" 0.0;
149 name, "sig,initial,focus";
150 signal, SIG_INITIAL_FOCUS;
152 action, STATE_SET "default" 0.0;
160 action, STATE_SET "focus" 0.0;
161 transition, LINEAR 0.5;
168 action, STATE_SET "default" 0.0;
169 transition, LINEAR 0.5;
173 name, "sig,focus,to,up";
174 signal, SIG_FOCUS_TO_UP;
176 action, STATE_SET "up" 0.0;
177 transition, LINEAR 0.5;
181 name, "sig,focus,to,down";
182 signal, SIG_FOCUS_TO_DOWN;
184 action, STATE_SET "down" 0.0;
185 transition, LINEAR 0.5;
189 name, "sig,focus,to,right";
190 signal, SIG_FOCUS_TO_RIGHT;
192 action, STATE_SET "right" 0.0;
193 transition, LINEAR 0.5;
197 name, "sig,unfocus,to,right";
198 signal, SIG_UNFOCUS_TO_RIGHT;
200 action, STATE_SET "left" 0.0;
205 name, "sig,focus,to,left";
206 signal, SIG_FOCUS_TO_LEFT;
208 action, STATE_SET "left" 0.0;
209 transition, LINEAR 0.5;
213 name, "sig,unfocus,to,left";
214 signal, SIG_UNFOCUS_TO_LEFT;
216 action, STATE_SET "right" 0.0;
221 name, "sig,show,mask";
222 signal, SIG_SHOW_MASK;
227 after, "sig,show,mask,after";
230 name, "sig,show,mask,after";
232 action, STATE_SET "show" 0.0;
236 name, "sig,focus,mask";
240 if (get_int(mask_on) == 1)
241 set_state(PART:"mask_focus", "show", 0.0);