From: sumanth Date: Mon, 20 Jun 2011 12:25:11 +0000 (+0530) Subject: NBEAT v1.4 implementation for Slider and Dayselector. Indentation corrected. X-Git-Tag: submit/2.0alpha-wayland/20121130.000903~736 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=633b07f1851f51d869fd8b08eb977eb6ee759292;p=profile%2Fivi%2Fefl-theme-tizen.git NBEAT v1.4 implementation for Slider and Dayselector. Indentation corrected. Change-Id: Ie8f2193a482793d41841992de56cf314718198fb --- diff --git a/themes/groups/dayselector.edc b/themes/groups/dayselector.edc index c880dd8..dcc8e25 100644 --- a/themes/groups/dayselector.edc +++ b/themes/groups/dayselector.edc @@ -3,15 +3,15 @@ * * Copyright (c) 2000 - 2010 Samsung Electronics Co., Ltd. * - * Contact: Seokjae Jeong , Myoungwoon Roy Kim , Jeonghyun Yun , Jaehwan Kim , - * Chuneon Park , Juyung Seo , Woohyun Jung , Myungjae Lee , Hyoyoung Chang , - * Hyunsil Park , Sohyun Kim , Seunggyun Kim - * + * Contact: Seokjae Jeong , Myoungwoon Roy Kim , Jeonghyun Yun , Jaehwan Kim , + * Chuneon Park , Juyung Seo , Woohyun Jung , Myungjae Lee , Hyoyoung Chang , + * Hyunsil Park , Sohyun Kim , Seunggyun Kim + * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the * Free Software Foundation; either version 2.1 of the License, or (at your option) * any later version. - * + * * This library is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public @@ -27,8 +27,8 @@ #define DAYSELECTOR_CHECK_HEIGHT 56 #define DAYSELECTOR_TOTAL_WIDTH (DAYSELECTOR_CHECK_WIDTH*7) group { - name: "elm/dayselector/base/default"; - alias: "elm/dayselector/base/sun_first"; + name: "elm/dayselector/base/default"; + alias: "elm/dayselector/base/sun_first"; min: ((DAYSELECTOR_CHECK_WIDTH*7)+6) DAYSELECTOR_CHECK_HEIGHT; parts { part { @@ -39,82 +39,82 @@ group { description { rel1 { relative: 0.0 0.0; offset: 4 0; } rel2 { relative: 1.0 1.0; offset: -4 0; } - color: 199 199 199 255; + color: DAYSELECTOR_BACKGROUND_COLOR_INC; } } - part { - name: "sun"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "mon"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "sun"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "tue"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "mon"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "wed"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "tue"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "thu"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "wed"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "fri"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "thu"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "sat"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "fri"; relative: 1 0; offset: 1 0; } - } - } - } + part { + name: "sun"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "mon"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "sun"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "tue"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "mon"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "wed"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "tue"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "thu"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "wed"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "fri"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "thu"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "sat"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "fri"; relative: 1 0; offset: 1 0; } + } + } + } } group { - name: "elm/dayselector/base/mon_first"; - min: (DAYSELECTOR_CHECK_WIDTH*7) DAYSELECTOR_CHECK_HEIGHT; + name: "elm/dayselector/base/mon_first"; + min: (DAYSELECTOR_CHECK_WIDTH*7) DAYSELECTOR_CHECK_HEIGHT; parts { part { name: "bg"; @@ -124,1017 +124,1017 @@ group { description { rel1 { relative: 0.0 0.0; offset: 4 0; } rel2 { relative: 1.0 1.0; offset: -4 0; } - color: 199 199 199 255; + color: DAYSELECTOR_BACKGROUND_COLOR_INC; } } - part { - name: "mon"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "tue"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "mon"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "wed"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "tue"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "thu"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "wed"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "fri"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "thu"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "sat"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "fri"; relative: 1 0; offset: 1 0; } - rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;} - } - } - part { - name: "sun"; - type: SWALLOW; - mouse_events: 1; - scale: 1; - description { - rel1 { to: "sat"; relative: 1 0; offset: 1 0; } - } - } - } + part { + name: "mon"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*1)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "tue"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "mon"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*2)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "wed"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "tue"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*3)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "thu"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "wed"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*4)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "fri"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "thu"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*5)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "sat"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "fri"; relative: 1 0; offset: 1 0; } + rel2 { relative: ((DAYSELECTOR_CHECK_WIDTH*6)/DAYSELECTOR_TOTAL_WIDTH) 1;} + } + } + part { + name: "sun"; + type: SWALLOW; + mouse_events: 1; + scale: 1; + description { + rel1 { to: "sat"; relative: 1 0; offset: 1 0; } + } + } + } } -group { - name: "elm/check/base/dayselector/sun_first_sun"; - images { - image: "00_alarm_repeat_button_normal_01.png" COMP; - image: "00_alarm_repeat_button_press_01.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_01.png"; - border: 4 0 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_01.png"; - border: 4 0 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 225 49 8 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/sun_first_sun"; + images { + image: "00_alarm_repeat_button_normal_01.png" COMP; + image: "00_alarm_repeat_button_press_01.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_01.png"; + border: 4 0 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_01.png"; + border: 4 0 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_SUNDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } -group { - name: "elm/check/base/dayselector/mon_first_mon"; - images { - image: "00_alarm_repeat_button_normal_01.png" COMP; - image: "00_alarm_repeat_button_press_01.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_01.png"; - border: 4 0 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_01.png"; - border: 4 0 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 78 73 69 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/mon_first_mon"; + images { + image: "00_alarm_repeat_button_normal_01.png" COMP; + image: "00_alarm_repeat_button_press_01.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_01.png"; + border: 4 0 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_01.png"; + border: 4 0 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_WEEKDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } -group { - name: "elm/check/base/dayselector/sun_first_mon"; - alias: "elm/check/base/dayselector/sun_first_tue"; - alias: "elm/check/base/dayselector/sun_first_wed"; - alias: "elm/check/base/dayselector/sun_first_thu"; - alias: "elm/check/base/dayselector/sun_first_fri"; - alias: "elm/check/base/dayselector/mon_first_tue"; - alias: "elm/check/base/dayselector/mon_first_wed"; - alias: "elm/check/base/dayselector/mon_first_thu"; - alias: "elm/check/base/dayselector/mon_first_fri"; - images { - image: "00_alarm_repeat_button_normal_02.png" COMP; - image: "00_alarm_repeat_button_press_02.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_02.png"; - border: 0 0 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_02.png"; - border: 0 0 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 78 73 69 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/sun_first_mon"; + alias: "elm/check/base/dayselector/sun_first_tue"; + alias: "elm/check/base/dayselector/sun_first_wed"; + alias: "elm/check/base/dayselector/sun_first_thu"; + alias: "elm/check/base/dayselector/sun_first_fri"; + alias: "elm/check/base/dayselector/mon_first_tue"; + alias: "elm/check/base/dayselector/mon_first_wed"; + alias: "elm/check/base/dayselector/mon_first_thu"; + alias: "elm/check/base/dayselector/mon_first_fri"; + images { + image: "00_alarm_repeat_button_normal_02.png" COMP; + image: "00_alarm_repeat_button_press_02.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_02.png"; + border: 0 0 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_02.png"; + border: 0 0 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_WEEKDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } -group { - name: "elm/check/base/dayselector/mon_first_sat"; - images { - image: "00_alarm_repeat_button_normal_02.png" COMP; - image: "00_alarm_repeat_button_press_02.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_02.png"; - border: 0 0 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_02.png"; - border: 0 0 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 8 96 170 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/mon_first_sat"; + images { + image: "00_alarm_repeat_button_normal_02.png" COMP; + image: "00_alarm_repeat_button_press_02.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_02.png"; + border: 0 0 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_02.png"; + border: 0 0 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_SATURDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } -group { - name: "elm/check/base/dayselector/sun_first_sat"; - images { - image: "00_alarm_repeat_button_normal_03.png" COMP; - image: "00_alarm_repeat_button_press_03.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_03.png"; - border: 0 4 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_03.png"; - border: 0 4 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 8 96 170 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/sun_first_sat"; + images { + image: "00_alarm_repeat_button_normal_03.png" COMP; + image: "00_alarm_repeat_button_press_03.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_03.png"; + border: 0 4 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_03.png"; + border: 0 4 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_SATURDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } -group { - name: "elm/check/base/dayselector/mon_first_sun"; - images { - image: "00_alarm_repeat_button_normal_03.png" COMP; - image: "00_alarm_repeat_button_press_03.png" COMP; - } - parts { - part { - name: "bg"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - align: 0.5 0.5; - image { - normal: "00_alarm_repeat_button_normal_03.png"; - border: 0 4 4 4; - border_scale: 1; - } - } - } - part { - name: "check"; - mouse_events: 0; - scale: 1; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - visible: 0; - image { - normal: "00_alarm_repeat_button_press_03.png"; - border: 0 4 4 4; - border_scale: 1; - } - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - visible: 1; - } - } - part { - name: "elm.swallow.content"; - type: SWALLOW; - description { - state: "default" 0.0; - fixed: 1 0; - visible: 0; - align: 0.0 0.5; - rel1.to_x: "bg"; - rel1.relative: 1.0 0.0; - rel2.to_x: "bg"; - } - description { - state: "visible" 0.0; - inherit: "default" 0.0; - fixed: 1 1; - visible: 1; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; - } - } - part { - name: "elm.text"; - type: TEXT; - mouse_events: 0; - scale: 1; - effect: SHADOW; - description { - state: "default" 0.0; - visible: 1; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 225 49 8 255; - align: 0.5 0.5; - text { - font: "SLP:style=Medium"; - size: 32; - min: 1 1; - align: 0.5 0.5; - } - } - description { - state: "hide" 0.0; - inherit: "default" 0.0; - visible: 0; - } - description { - state: "checked" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; - } - } - part { - name: "events"; - type: RECT; - ignore_flags: ON_HOLD; - description { - state: "default" 0.0; - rel1 {to: "bg";} - rel2 {to: "bg";} - color: 0 0 0 0; - } - } - } - programs { - program { - name: "click"; - signal: "mouse,up,1"; - source: "events"; - action: SIGNAL_EMIT "elm,action,check,toggle" ""; - } - program { - name: "check_on"; - signal: "elm,state,check,on"; - source: "elm"; - after: "checkon"; - } - program { - name: "checkon"; - script { - set_state(PART:"check", "visible", 0.0); - set_state(PART:"elm.text", "checked", 0.0); - } - } - program { - name: "check_off"; - signal: "elm,state,check,off"; - source: "elm"; - after:"checkoff"; - } - program { - name: "checkoff"; - script { - set_state(PART:"check", "default", 0.0); - set_state(PART:"elm.text", "default", 0.0); - } - } - program { - name: "text_show"; - signal: "elm,state,text,visible"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "elm.text"; - } - program { - name: "text_hide"; - signal: "elm,state,text,hidden"; - source: "elm"; - action: STATE_SET "hide" 0.0; - target: "elm.text"; - } - } +group { + name: "elm/check/base/dayselector/mon_first_sun"; + images { + image: "00_alarm_repeat_button_normal_03.png" COMP; + image: "00_alarm_repeat_button_press_03.png" COMP; + } + parts { + part { + name: "bg"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + image { + normal: "00_alarm_repeat_button_normal_03.png"; + border: 0 4 4 4; + border_scale: 1; + } + } + } + part { + name: "check"; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + visible: 0; + image { + normal: "00_alarm_repeat_button_press_03.png"; + border: 0 4 4 4; + border_scale: 1; + } + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + fixed: 1 0; + visible: 0; + align: 0.0 0.5; + rel1.to_x: "bg"; + rel1.relative: 1.0 0.0; + rel2.to_x: "bg"; + } + description { + state: "visible" 0.0; + inherit: "default" 0.0; + fixed: 1 1; + visible: 1; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + effect: SHADOW; + description { + state: "default" 0.0; + visible: 1; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: DAYSELECTOR_SUNDAY_COLOR_INC; + align: 0.5 0.5; + text { + font: "SLP:style=Medium"; + size: 32; + min: 1 1; + align: 0.5 0.5; + } + } + description { + state: "hide" 0.0; + inherit: "default" 0.0; + visible: 0; + } + description { + state: "checked" 0.0; + inherit: "default" 0.0; + color: DAYSELECTOR_DAY_PRESSED_COLOR_INC; + } + } + part { + name: "events"; + type: RECT; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + rel1 {to: "bg";} + rel2 {to: "bg";} + color: 0 0 0 0; + } + } + } + programs { + program { + name: "click"; + signal: "mouse,up,1"; + source: "events"; + action: SIGNAL_EMIT "elm,action,check,toggle" ""; + } + program { + name: "check_on"; + signal: "elm,state,check,on"; + source: "elm"; + after: "checkon"; + } + program { + name: "checkon"; + script { + set_state(PART:"check", "visible", 0.0); + set_state(PART:"elm.text", "checked", 0.0); + } + } + program { + name: "check_off"; + signal: "elm,state,check,off"; + source: "elm"; + after:"checkoff"; + } + program { + name: "checkoff"; + script { + set_state(PART:"check", "default", 0.0); + set_state(PART:"elm.text", "default", 0.0); + } + } + program { + name: "text_show"; + signal: "elm,state,text,visible"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "elm.text"; + } + program { + name: "text_hide"; + signal: "elm,state,text,hidden"; + source: "elm"; + action: STATE_SET "hide" 0.0; + target: "elm.text"; + } + } } diff --git a/themes/groups/slider.edc b/themes/groups/slider.edc index a9d5408..69c0244 100644 --- a/themes/groups/slider.edc +++ b/themes/groups/slider.edc @@ -575,7 +575,7 @@ relative: 1.0 1.0; offset: -2 -2; } - color: 217 147 26 255; + color: SLIDER_INDICATOR_TEXT_COLOR_INC; text { font: "SLP:style=Medium"; size: 24; @@ -586,7 +586,7 @@ description { state: "drag_state" 0.0; inherit: "default" 0.0; visible: 1; - color: 217 147 26 255; + color: SLIDER_INDICATOR_TEXT_COLOR_INC; text.size: 40; rel1.to: "popup"; rel2 { @@ -1368,9 +1368,9 @@ group { name: "elm/slider/horizontal/ebook"; images { - image: "00_slider_bar_bg.png" COMP; - image: "00_slider_bar.png" COMP; - image: "00_slider_bar_press.png" COMP; + image: "00_winset_list_progress_bg.png" COMP; + image: "00_winset_list_progress_bar.png" COMP; + image: "00_winset_list_progress_bar_pressed.png" COMP; image: "00_ebook_slider_handle.png" COMP; image: "00_ebook_slider_handle_press.png" COMP; } @@ -1433,8 +1433,8 @@ rel2 { to: "bg"; offset: -15 -1; } - image.normal: "00_slider_bar_bg.png"; - image.border: 7 7 6 7; + image.normal: "00_winset_list_progress_bg.png"; + image.border: 0 0 4 4; image.border_scale: 1; } } @@ -1450,8 +1450,8 @@ offset: -5 -1; relative: 0.5 1.0; } - image.normal: "00_slider_bar.png"; - image.border: 7 7 6 7; + image.normal: "00_winset_list_progress_bar.png"; + image.border: 0 0 4 4; image.border_scale: 1; } description { state: "inverted" 0.0; @@ -1460,7 +1460,9 @@ } description { state: "pressed" 0.0; inherit: "default" 0.0; - image.normal: "00_slider_bar_press.png"; + image.normal: "00_winset_list_progress_bar_pressed.png"; + image.border: 0 0 4 4; + image.border_scale: 1; } } part { name: "level2"; @@ -1476,8 +1478,8 @@ } rel2.to: "base"; rel2.offset: -2 -1; - image.normal: "00_slider_bar.png"; - image.border: 7 7 6 7; + image.normal: "00_winset_list_progress_bar.png"; + image.border: 0 0 4 4; image.border_scale: 1; } description { state: "inverted" 0.0; @@ -1487,7 +1489,9 @@ description { state: "pressed" 0.0; inherit: "default" 0.0; visible: 1; - image.normal: "00_slider_bar_press.png"; + image.normal: "00_winset_list_progress_bar_pressed.png"; + image.border: 0 0 4 4; + image.border_scale: 1; } } part { name: "bg"; diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_normal.png b/themes/images/nbeat-black/00_alarm_repeat_button_normal.png old mode 100644 new mode 100755 index 49b7931..5b6e602 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_normal.png and b/themes/images/nbeat-black/00_alarm_repeat_button_normal.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_normal_01.png b/themes/images/nbeat-black/00_alarm_repeat_button_normal_01.png index d541c5a..214ed77 100644 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_normal_01.png and b/themes/images/nbeat-black/00_alarm_repeat_button_normal_01.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_normal_02.png b/themes/images/nbeat-black/00_alarm_repeat_button_normal_02.png index f30e841..43789a6 100644 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_normal_02.png and b/themes/images/nbeat-black/00_alarm_repeat_button_normal_02.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_normal_03.png b/themes/images/nbeat-black/00_alarm_repeat_button_normal_03.png index 453dcf9..44dddd7 100644 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_normal_03.png and b/themes/images/nbeat-black/00_alarm_repeat_button_normal_03.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_press_01.png b/themes/images/nbeat-black/00_alarm_repeat_button_press_01.png old mode 100644 new mode 100755 index 388cbfb..af60197 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_press_01.png and b/themes/images/nbeat-black/00_alarm_repeat_button_press_01.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_press_02.png b/themes/images/nbeat-black/00_alarm_repeat_button_press_02.png old mode 100644 new mode 100755 index 193bac9..0e51653 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_press_02.png and b/themes/images/nbeat-black/00_alarm_repeat_button_press_02.png differ diff --git a/themes/images/nbeat-black/00_alarm_repeat_button_press_03.png b/themes/images/nbeat-black/00_alarm_repeat_button_press_03.png old mode 100644 new mode 100755 index d384554..c4432c1 Binary files a/themes/images/nbeat-black/00_alarm_repeat_button_press_03.png and b/themes/images/nbeat-black/00_alarm_repeat_button_press_03.png differ diff --git a/themes/images/nbeat-black/00_ebook_slider_handle_press.png b/themes/images/nbeat-black/00_ebook_slider_handle_press.png index 8179e18..608d18b 100644 Binary files a/themes/images/nbeat-black/00_ebook_slider_handle_press.png and b/themes/images/nbeat-black/00_ebook_slider_handle_press.png differ diff --git a/themes/images/nbeat-black/00_slider_btn_brightness01.png b/themes/images/nbeat-black/00_slider_btn_brightness01.png old mode 100644 new mode 100755 index c4d5132..c3d6908 Binary files a/themes/images/nbeat-black/00_slider_btn_brightness01.png and b/themes/images/nbeat-black/00_slider_btn_brightness01.png differ diff --git a/themes/images/nbeat-black/00_slider_btn_brightness02.png b/themes/images/nbeat-black/00_slider_btn_brightness02.png old mode 100644 new mode 100755 index bafdfcb..82c2757 Binary files a/themes/images/nbeat-black/00_slider_btn_brightness02.png and b/themes/images/nbeat-black/00_slider_btn_brightness02.png differ diff --git a/themes/images/nbeat-black/00_slider_btn_volume01.png b/themes/images/nbeat-black/00_slider_btn_volume01.png old mode 100644 new mode 100755 index 2d9f384..9b3c2f2 Binary files a/themes/images/nbeat-black/00_slider_btn_volume01.png and b/themes/images/nbeat-black/00_slider_btn_volume01.png differ diff --git a/themes/images/nbeat-black/00_slider_btn_volume02.png b/themes/images/nbeat-black/00_slider_btn_volume02.png old mode 100644 new mode 100755 index a28bfc4..9021f8f Binary files a/themes/images/nbeat-black/00_slider_btn_volume02.png and b/themes/images/nbeat-black/00_slider_btn_volume02.png differ diff --git a/themes/images/nbeat-black/00_slider_handle.png b/themes/images/nbeat-black/00_slider_handle.png old mode 100644 new mode 100755 diff --git a/themes/images/nbeat-black/00_slider_handle_dim.png b/themes/images/nbeat-black/00_slider_handle_dim.png old mode 100644 new mode 100755 index bacadfe..9e2d9f8 Binary files a/themes/images/nbeat-black/00_slider_handle_dim.png and b/themes/images/nbeat-black/00_slider_handle_dim.png differ diff --git a/themes/images/nbeat-black/00_slider_handle_press.png b/themes/images/nbeat-black/00_slider_handle_press.png old mode 100644 new mode 100755 index 1d5bc67..9c6da75 Binary files a/themes/images/nbeat-black/00_slider_handle_press.png and b/themes/images/nbeat-black/00_slider_handle_press.png differ diff --git a/themes/images/nbeat-black/00_slider_popup_bg.png b/themes/images/nbeat-black/00_slider_popup_bg.png old mode 100644 new mode 100755 index f792271..e170663 Binary files a/themes/images/nbeat-black/00_slider_popup_bg.png and b/themes/images/nbeat-black/00_slider_popup_bg.png differ diff --git a/themes/images/nbeat-black/00_timepicker_number_bg.png b/themes/images/nbeat-black/00_timepicker_number_bg.png old mode 100644 new mode 100755 index bab961a..911eaaa Binary files a/themes/images/nbeat-black/00_timepicker_number_bg.png and b/themes/images/nbeat-black/00_timepicker_number_bg.png differ diff --git a/themes/images/nbeat-black/00_timepicker_tail.png b/themes/images/nbeat-black/00_timepicker_tail.png old mode 100644 new mode 100755 index b7c4fe4..2e0c717 Binary files a/themes/images/nbeat-black/00_timepicker_tail.png and b/themes/images/nbeat-black/00_timepicker_tail.png differ diff --git a/themes/images/nbeat-black/00_winset_list_progress_bar_pressed.png b/themes/images/nbeat-black/00_winset_list_progress_bar_pressed.png new file mode 100644 index 0000000..d0c87d8 Binary files /dev/null and b/themes/images/nbeat-black/00_winset_list_progress_bar_pressed.png differ diff --git a/themes/images/nbeat-black/00_winset_list_progress_bg.png b/themes/images/nbeat-black/00_winset_list_progress_bg.png old mode 100644 new mode 100755 index 5e83560..e2bae3d Binary files a/themes/images/nbeat-black/00_winset_list_progress_bg.png and b/themes/images/nbeat-black/00_winset_list_progress_bg.png differ diff --git a/themes/images/nbeat/00_winset_list_progress_bar_pressed.png b/themes/images/nbeat/00_winset_list_progress_bar_pressed.png new file mode 100644 index 0000000..2e60936 Binary files /dev/null and b/themes/images/nbeat/00_winset_list_progress_bar_pressed.png differ diff --git a/themes/inc/nbeat-black-inc.edc b/themes/inc/nbeat-black-inc.edc index 1b07607..fbcbaaa 100644 --- a/themes/inc/nbeat-black-inc.edc +++ b/themes/inc/nbeat-black-inc.edc @@ -300,3 +300,10 @@ #define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 118 118 118 255 +#define DAYSELECTOR_BACKGROUND_COLOR_INC 66 82 90 255 +#define DAYSELECTOR_WEEKDAY_COLOR_INC 249 249 249 255 +#define DAYSELECTOR_SATURDAY_COLOR_INC 0 168 231 255 +#define DAYSELECTOR_SUNDAY_COLOR_INC 240 20 2 255 +#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 249 249 249 255 + +#define SLIDER_INDICATOR_TEXT_COLOR_INC 42 109 140 255 diff --git a/themes/inc/nbeat-inc.edc b/themes/inc/nbeat-inc.edc index 54f873a..0dfa438 100755 --- a/themes/inc/nbeat-inc.edc +++ b/themes/inc/nbeat-inc.edc @@ -322,3 +322,11 @@ #define ENTRY_EDITFIELD_CURSOR_COLOR_INC 217 147 26 255 #define PANES_DEFAULT_FIXED_SEPERATOR_NORMAL_COLOR_INC 219 219 219 255 + +#define DAYSELECTOR_BACKGROUND_COLOR_INC 199 199 199 255 +#define DAYSELECTOR_WEEKDAY_COLOR_INC 78 73 69 255 +#define DAYSELECTOR_SATURDAY_COLOR_INC 8 96 170 255 +#define DAYSELECTOR_SUNDAY_COLOR_INC 225 49 8 255 +#define DAYSELECTOR_DAY_PRESSED_COLOR_INC 255 255 255 255 + +#define SLIDER_INDICATOR_TEXT_COLOR_INC 217 147 26 255