2 * Copyright (c) 2009-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.
19 #include "quickpanel_def.h"
20 #include "color_classes.edc"
22 #define QP_SETTING_H 221
23 #define QP_SETTING_SEPERATOR_H 0
24 #define QP_SETTING_SEPERATOR_COLOR "AO007"
25 #define QP_HANDLER_COLOR "AO010"
26 #define QP_HANDLER_PRESS_COLOR "AO010S"
28 #define QUICKPANEL_FOCUS_OBJECT(NAME, TO_1, TO_2)\
36 state: "default" 0.0;\
37 rel1 { relative: 0.0 0.00; to, TO_1; }\
38 rel2 { relative: 1.0 1.00; to, TO_2; }\
44 inherit: "default" 0.0;\
49 inherit: "default" 0.0;\
54 #define QUICKPANEL_FOCUS_OBJECT_WITH_OFFSET(NAME, TO_1, TO_2, OFFSET_X, OFFSET_Y)\
62 state: "default" 0.0;\
63 rel1 { relative: 0.0 0.00; to, TO_1; offset: -OFFSET_X -OFFSET_Y;}\
64 rel2 { relative: 1.0 1.00; to, TO_2; offset: +OFFSET_X +OFFSET_Y; }\
72 image: "handler_bg.#.png" COMP;
73 image: "handler_bg_ef.#.png" COMP;
74 image: "handler_btn_02.png" COMP;
75 image: "core_theme_bg_01.png" COMP;
81 name: "quickpanel/root";
86 public init_variables() {
87 set_int(g_is_portrait, 1);
109 state: "default" 0.0;
119 normal: "core_theme_bg_01.png";
125 name: "qp.base.rect.datetime";
129 state: "default" 0.0;
144 name: "qp.base.datetime.swallow";
148 state: "default" 0.0;
151 to: "qp.base.rect.datetime";
154 to: "qp.base.rect.datetime";
160 name: "qp.root.swallow";
164 state: "default" 0.0;
168 to_y: "qp.base.datetime.swallow";
173 to_y: "qp.handler.bg";
180 name: "qp.handler.bg";
184 state: "default" 0.0;
196 normal:"handler_bg.#.png";
199 color_class: "W0113";
202 state: "pressed" 0.0;
204 color_class: "W0113P";
210 name: "qp.handler.effect";
214 state: "default" 0.0;
225 normal:"handler_bg_ef.#.png";
228 color_class: "AO007L2";
234 name: "qp.handler.button";
238 state: "default" 0.0;
253 normal:"handler_btn_02.png";
257 color_class: "AO007L1";
261 state: "text.show" 0.0;
266 state: "text.hide" 0.0;
274 name: "qp.handler.text";
278 state: "default" 0.0;
292 font : "Tizen:style=Regular";
294 text_class : "Tizen";
296 color_class: "AO007L1";
301 state: "text.show" 0.0;
307 state: "text.hide" 0.0;
329 source: "qp.handler.text";
330 action: STATE_SET "text.show" 0.0;
331 target: "qp.handler.button";
332 target: "qp.handler.text";
337 source: "qp.handler.text";
338 action: STATE_SET "text.hide" 0.0;
339 target: "qp.handler.button";
340 target: "qp.handler.text";
343 name: "handler.press";
344 signal: "mouse,down,1";
345 source: "qp.handler.bg";
346 action: STATE_SET "pressed" 0.0;
347 target: "qp.handler.bg";
350 name: "handler.release";
351 signal: "mouse,up,1";
352 source: "qp.handler.bg";
353 action: STATE_SET "default" 0.0;
354 target: "qp.handler.bg";
360 name: "quickpanel/base";
368 state: "default" 0.0;
371 state: "portrait" 0.0;
372 inherit: "default" 0.0;
375 state: "landscape" 0.0;
376 inherit: "default" 0.0;
380 name: "qp.base.rect.setting";
384 state: "default" 0.0;
399 inherit: "default" 0.0;
403 inherit: "default" 0.0;
409 name: "qp.base.setting.swallow";
413 state: "default" 0.0;
416 to: "qp.base.rect.setting";
419 to: "qp.base.rect.setting";
425 name: "background.touch";
430 state: "default" 0.0;
432 min: 0 QP_SETTING_SEPERATOR_H;
434 to_y:"qp.base.setting.swallow";
445 name: "qp.base.list.swallow";
451 state: "default" 0.0;
454 to_y:"qp.base.setting.swallow";
470 action: STATE_SET "portrait" 0.0;
471 target: "background";
477 action: STATE_SET "landscape" 0.0;
478 target: "background";
481 name: "setting.show";
482 action: STATE_SET "show" 0.0;
483 signal: "quickpanel.setting.show";
484 source: "quickpanel.prog";
485 target: "qp.base.rect.setting";
486 target: "qp.base.setting.swallow";
489 name: "setting.hide";
490 action: STATE_SET "hide" 0.0;
491 signal: "quickpanel.setting.hide";
492 source: "quickpanel.prog";
493 target: "qp.base.rect.setting";
494 target: "qp.base.setting.swallow";
497 name: "background.touch";
498 action: SIGNAL_EMIT "close.quickpanel" "";
499 signal: "mouse,down,1";
500 source: "background";
505 #include "quickpanel_setting.edc"
506 #include "quickpanel_page_edit.edc"
507 #include "quickpanel_datetime.edc"
508 #include "quickpanel_brightness.edc"
509 #include "quickpanel_minictrl.edc"
510 #include "quickpanel_noti_section.edc"
511 #include "quickpanel_notibox.edc"
512 #include "quickpanel_listitem_noti.edc"
513 #include "quickpanel_listitem_noti_legacy.edc"
514 #include "quickpanel_listitem_ongoing.edc"
515 #include "quickpanel_animated_icon.edc"
516 #include "quickpanel_images.edc"