From ac154e4d995d7d0b5d6e59da18a97f3dfb7f4c22 Mon Sep 17 00:00:00 2001 From: Sumanth Krishna Date: Mon, 28 Feb 2011 20:21:39 +0530 Subject: [PATCH] TODAY look and feel is changed & indentation updated. [calendar.edc] corrected indentation for the newly added LOC. calendar is modified as per the Nbeat GUI v-0.8 guidelines. Change-Id: Ib0bd619b70971563b1caebd0cf99a00aa2f34bba --- themes/groups/calendar.edc | 1219 +++++++++++--------- .../images/nbeat-black/00_picker_btn_current.png | Bin 0 -> 207 bytes themes/images/nbeat-black/00_picker_field_bg.png | Bin 0 -> 165 bytes themes/images/nbeat-blue/00_picker_btn_current.png | Bin 0 -> 207 bytes themes/images/nbeat-blue/00_picker_field_bg.png | Bin 0 -> 165 bytes .../images/nbeat-green/00_picker_btn_current.png | Bin 0 -> 207 bytes themes/images/nbeat-green/00_picker_field_bg.png | Bin 0 -> 165 bytes .../images/nbeat-purple/00_picker_btn_current.png | Bin 0 -> 207 bytes themes/images/nbeat-purple/00_picker_field_bg.png | Bin 0 -> 165 bytes themes/images/nbeat/00_picker_btn_current.png | Bin 0 -> 207 bytes themes/images/nbeat/00_picker_field_bg.png | Bin 0 -> 165 bytes 11 files changed, 656 insertions(+), 563 deletions(-) create mode 100755 themes/images/nbeat-black/00_picker_btn_current.png create mode 100755 themes/images/nbeat-black/00_picker_field_bg.png create mode 100755 themes/images/nbeat-blue/00_picker_btn_current.png create mode 100755 themes/images/nbeat-blue/00_picker_field_bg.png create mode 100755 themes/images/nbeat-green/00_picker_btn_current.png create mode 100755 themes/images/nbeat-green/00_picker_field_bg.png create mode 100755 themes/images/nbeat-purple/00_picker_btn_current.png create mode 100755 themes/images/nbeat-purple/00_picker_field_bg.png create mode 100755 themes/images/nbeat/00_picker_btn_current.png create mode 100755 themes/images/nbeat/00_picker_field_bg.png diff --git a/themes/groups/calendar.edc b/themes/groups/calendar.edc index eb68551..adf95f6 100644 --- a/themes/groups/calendar.edc +++ b/themes/groups/calendar.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 @@ -24,345 +24,386 @@ */ #define CH(_pos) \ - part { name: "ch_"#_pos".base"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - rel1 { \ - relative: (_pos % 7 / 7) 0; \ - to: "header"; \ - } \ - rel2 { \ - relative: (_pos % 7 / 7 + 1 / 7) 1; \ - to: "header"; \ - } \ - color: 0 0 0 0; \ - visible: 0; \ - } \ - } \ - part { name: "ch_"#_pos".text"; \ - type: TEXT; \ - mouse_events: 0; \ - scale: 1; \ - clip_to: "ch_"#_pos".clipper"; \ - description { \ - state: "default" 0.0; \ - rel1.to: "ch_"#_pos".base"; \ - rel2.to: "ch_"#_pos".base"; \ - color: 102 102 102 255; \ - text { \ - font: "SLP:style=Roman"; \ - size: 15; \ - min: 1 1; \ - align: 0.5 0.5; \ - } \ - } \ - } \ - part { name: "ch_"#_pos".clipper"; \ - type: RECT; \ - scale: 1; \ - description { state: "default" 0.0; \ - rel1.to: "ch_"#_pos".base"; \ - rel2.to: "ch_"#_pos".base"; \ - } \ - } + part { name: "ch_"#_pos".base"; \ + type: RECT; \ + scale: 1;\ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 / 7) 0; \ + to: "header"; \ + } \ + rel2 { \ + relative: (_pos % 7 / 7 + 1 / 7) 1; \ + to: "header"; \ + } \ + color: 0 0 0 0; \ + visible: 0; \ + } \ + } \ + part { name: "ch_"#_pos".text"; \ + type: TEXT; \ + mouse_events: 0; \ + scale: 1; \ + clip_to: "ch_"#_pos".clipper"; \ + description { \ + state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + color: 0 0 0 255; \ + text { \ + font: "SLP:style=Roman"; \ + size: 15; \ + min: 1 1; \ + align: 0.5 0.5; \ + } \ + } \ + } \ + part { name: "ch_"#_pos".clipper"; \ + type: RECT; \ + scale: 1; \ + description { state: "default" 0.0; \ + rel1.to: "ch_"#_pos".base"; \ + rel2.to: "ch_"#_pos".base"; \ + } \ + } #define CIT(_pos) \ - part { name: "cit_"#_pos".rect"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - rel1 { \ - relative: (_pos % 7 / 7) \ - (_pos / 7 / 6 - _pos % 7 / 7 / 6); \ - to: "base"; \ - } \ - rel2 { \ - relative: (_pos % 7 / 7 + 1 / 7) \ - (_pos / 7 / 6 - _pos % 7 / 7 / 6 + 1 / 6); \ - to: "base"; \ - offset: 0 0; \ - } \ - color: 44 39 36 255; \ - visible: 1; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - color: 242 143 7 255; \ - } \ - description { state: "expand" 0.0; \ - inherit: "default" 0.0; \ - rel1 { \ - relative: (_pos % 7 / 7) \ - (_pos / 7 / 5 - _pos % 7 / 7 / 5); \ - to: "base"; \ - } \ - rel2 { \ - relative: (_pos % 7 / 7 + 1 / 7) \ - (_pos / 7 / 5 - _pos % 7 / 7 / 5 + 1 / 5); \ - to: "base"; \ - offset: 0 0; \ - } \ - } \ - description { state: "invisible" 0.0; \ - inherit: "default" 0.0; \ - min: 0 0; \ - max: 0 0; \ - } \ - description { state: "today_normal" 0.0; \ - inherit: "default" 0.0; \ - color: 242 143 147 255; \ - } \ - description { state: "today_expand" 0.0; \ - inherit: "expand" 0.0; \ - color: 242 143 147 255; \ - } \ - } \ - part { \ - name: "cit_"#_pos".event"; \ - type: RECT; \ - scale: 1;\ - repeat_events: 1; \ - description { \ - rel1.to: "cit_"#_pos".rect"; \ - rel2.to: "cit_"#_pos".rect"; \ - state: "default" 0.0; \ - color: 0 0 0 0; \ - } \ - } \ - part { \ - name: "cit_"#_pos".bg"; \ - mouse_events: 0; \ - scale: 1;\ - description { state: "default" 0.0; \ - visible: 0; \ - color: 255 255 255 0; \ - rel1 { \ - to: "cit_"#_pos".rect"; \ - relative: 0.0 0.0; \ - } \ - rel2 { \ - to: "cit_"#_pos".rect"; \ - relative: 1.0 1.0; \ - } \ - image { \ - normal: "00_calend_picker_day_press.png"; \ - } \ - image.middle: SOLID; \ - } \ - description { state: "selected" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - color: 255 255 255 255; \ - } \ - } \ - part { name: "cit_"#_pos".text"; \ - type: TEXT; \ - mouse_events: 0; \ - scale: 1; \ - description { \ - state: "default" 0.0; \ - rel1.to: "cit_"#_pos".rect"; \ - rel2.to: "cit_"#_pos".rect"; \ - color: 255 255 255 255; \ - text { \ - font: "SLP:style=Medium"; \ - size: 20; \ - min: 1 1; \ - align: 0.5 0.5; \ - } \ - } \ - description { state: "saturday" 0.0; \ - inherit: "default" 0.0; \ - color: 47 120 220 255; \ - } \ - description { state: "sunday" 0.0; \ - inherit: "default" 0.0; \ - color: 226 20 20 255; \ - } \ + part { name: "cit_"#_pos".rect"; \ + scale: 1;\ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 / 7) \ + (_pos / 7 / 6 - _pos % 7 / 7 / 6); \ + to: "base"; \ + } \ + rel2 { \ + relative: (_pos % 7 / 7 + 1 / 7) \ + (_pos / 7 / 6 - _pos % 7 / 7 / 6 + 1 / 6); \ + to: "base"; \ + offset: 0 0; \ + } \ + image { \ + normal: "00_picker_field_bg.png"; \ + } \ + visible: 1; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "00_picker_btn_press.png"; \ + border: 2 2 4 4; \ + } \ + } \ + description { state: "expand" 0.0; \ + inherit: "default" 0.0; \ + rel1 { \ + relative: (_pos % 7 / 7) \ + (_pos / 7 / 5 - _pos % 7 / 7 / 5); \ + to: "base"; \ + } \ + rel2 { \ + relative: (_pos % 7 / 7 + 1 / 7) \ + (_pos / 7 / 5 - _pos % 7 / 7 / 5 + 1 / 5); \ + to: "base"; \ + offset: 0 0; \ + } \ + } \ + description { state: "invisible" 0.0; \ + inherit: "default" 0.0; \ + min: 0 0; \ + max: 0 0;\ + } \ + description { state: "today_normal" 0.0; \ + inherit: "default" 0.0; \ + image { \ + normal: "00_picker_btn_current.png"; \ + border: 5 4 4 4; \ + } \ + }\ + description { state: "today_expand" 0.0; \ + inherit: "expand" 0.0; \ + image { \ + normal: "00_picker_btn_current.png"; \ + border: 5 4 4 4; \ + } \ + } \ + } \ + part { \ + name: "cit_"#_pos".event"; \ + type: RECT; \ + scale: 1;\ + repeat_events: 1; \ + description { \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + state: "default" 0.0; \ + color: 0 0 0 0; \ + } \ + } \ + part { \ + name: "cit_"#_pos".bg"; \ + mouse_events: 0; \ + scale: 1;\ + description { state: "default" 0.0; \ + visible: 0; \ + color: 255 255 255 0; \ + rel1 { \ + to: "cit_"#_pos".rect"; \ + relative: 0.0 0.0; \ + } \ + rel2 { \ + to: "cit_"#_pos".rect"; \ + relative: 1.0 1.0; \ + } \ + image { \ + normal: "00_calend_picker_day_press.png"; \ + } \ + image.middle: SOLID; \ + } \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "cit_"#_pos".text"; \ + type: TEXT; \ + mouse_events: 0; \ + scale: 1; \ + description { \ + state: "default" 0.0; \ + rel1.to: "cit_"#_pos".rect"; \ + rel2.to: "cit_"#_pos".rect"; \ + color: 0 0 0 255; \ + text { \ + font: "SLP:style=Medium"; \ + size: 20; \ + min: 1 1; \ + align: 0.5 0.5; \ + } \ + } \ + description { state: "saturday" 0.0; \ + inherit: "default" 0.0; \ + color: 47 120 220 255; \ + } \ + description { state: "sunday" 0.0; \ + inherit: "default" 0.0; \ + color: 226 20 20 255; \ } \ - part { name: "cit_"#_pos".check"; \ - mouse_events: 0; \ - scale: 1;\ - description { state: "default" 0.0; \ - rel1 { \ - to: "cit_"#_pos".rect"; \ - relative: 0.7 0.6; \ - offset: 1 1; \ - } \ - rel2 { \ - to: "cit_"#_pos".rect"; \ - relative: 1.1 1.2; \ - offset: -2 -2; \ - } \ - aspect: 1 1; \ - visible: 0; \ - color: 255 0 0 255; \ - image.normal: "check.png"; \ - } \ - description { state: "visible" 0.0; \ - inherit: "default" 0.0; \ - visible: 1; \ - } \ - } \ - programs { \ - program { \ - name: "cit_"#_pos".go_active"; \ - signal: "cit_"#_pos",selected"; \ - source: "elm"; \ - action: STATE_SET "selected" 0.0; \ - target: "cit_"#_pos".bg"; \ + description { state: "selected" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ } \ - program { \ - name: "cit_"#_pos".go_passive"; \ - signal: "cit_"#_pos",unselected"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".bg"; \ + description { state: "selected_saturday" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + description { state: "selected_sunday" 0.0; \ + inherit: "default" 0.0; \ + color: 255 255 255 255; \ + } \ + } \ + part { name: "cit_"#_pos".check"; \ + mouse_events: 0; \ + scale: 1;\ + description { state: "default" 0.0; \ + rel1 { \ + to: "cit_"#_pos".rect"; \ + relative: 0.7 0.6; \ + offset: 1 1; \ + } \ + rel2 { \ + to: "cit_"#_pos".rect"; \ + relative: 1.1 1.2; \ + offset: -2 -2; \ + } \ + aspect: 1 1; \ + visible: 0; \ + color: 255 0 0 255; \ + image.normal: "check.png"; \ + } \ + description { state: "visible" 0.0; \ + inherit: "default" 0.0; \ + visible: 1; \ + } \ + } \ + programs { \ + program { \ + name: "cit_"#_pos".go_active"; \ + signal: "cit_"#_pos",selected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"cit_"#_pos".text", st, 30, vl); \ + if (!strcmp(st, "saturday")) \ + set_state(PART:"cit_"#_pos".text", "selected_saturday", 0.0); \ + else if (!strcmp(st, "sunday")) \ + set_state(PART:"cit_"#_pos".text", "selected_sunday", 0.0); \ + else \ + set_state(PART:"cit_"#_pos".text", "selected", 0.0); \ + set_state(PART:"cit_"#_pos".bg", "selected", 0.0); \ } \ - program { \ - name: "cit_"#_pos".weekday"; \ - signal: "cit_"#_pos",weekday"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".go_passive"; \ + signal: "cit_"#_pos",unselected"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"cit_"#_pos".text", st, 30, vl); \ + if (!strcmp(st, "selected_saturday")) \ + set_state(PART:"cit_"#_pos".text", "saturday", 0.0); \ + else if (!strcmp(st, "selected_sunday")) \ + set_state(PART:"cit_"#_pos".text", "sunday", 0.0); \ + else \ + set_state(PART:"cit_"#_pos".text", "default", 0.0); \ + set_state(PART:"cit_"#_pos".bg", "default", 0.0); \ } \ - program { \ - name: "cit_"#_pos".saturday"; \ - signal: "cit_"#_pos",saturday"; \ - source: "elm"; \ - action: STATE_SET "saturday" 0.0; \ - target: "cit_"#_pos".text"; \ - } \ - program { \ - name: "cit_"#_pos".sunday"; \ - signal: "cit_"#_pos",sunday"; \ - source: "elm"; \ - action: STATE_SET "sunday" 0.0; \ - target: "cit_"#_pos".text"; \ - } \ - program { \ - name: "cit_"#_pos".is_today"; \ - signal: "cit_"#_pos",today"; \ - source: "elm"; \ - script { \ - new st[31]; \ - new Float:vl; \ - get_state(PART:"cit_"#_pos".rect", st, 30, vl); \ - if (!strcmp(st, "expand")) \ - { \ - set_state(PART:"cit_"#_pos".rect", "today_expand", 0.0); \ - } \ - else \ - { \ - set_state(PART:"cit_"#_pos".rect", "today_normal", 0.0); \ - } \ - } \ - } \ - program { \ - name: "cit_"#_pos".not_today"; \ - signal: "cit_"#_pos",not_today"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".rect"; \ - } \ - program { \ - source: "cit_"#_pos".clicked"; \ - signal: "mouse,clicked,1"; \ - source: "cit_"#_pos".event"; \ - action: SIGNAL_EMIT "elm,action,selected" #_pos; \ - } \ - program { \ - name: "cit_"#_pos".clear"; \ - signal: "cit_"#_pos",clear"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".check"; \ - } \ - program { \ - name: "cit_"#_pos".checked"; \ - signal: "cit_"#_pos",checked"; \ - source: "elm"; \ - action: STATE_SET "visible" 0.0; \ - target: "cit_"#_pos".check"; \ - } \ - program { \ - name: "cit_"#_pos".go_expanded"; \ - signal: "cit_"#_pos",cell_expanded"; \ - source: "elm"; \ - action: STATE_SET "expand" 0.0; \ - target: "cit_"#_pos".rect"; \ - } \ - program { \ - name: "cit_"#_pos".go_default"; \ - signal: "cit_"#_pos",cell_default"; \ - source: "elm"; \ - action: STATE_SET "default" 0.0; \ - target: "cit_"#_pos".rect"; \ - } \ - program { \ - name: "cit_"#_pos".go_invisible"; \ - signal: "cit_"#_pos",cell_invisible"; \ - source: "elm"; \ - action: STATE_SET "invisible" 0.0; \ - target: "cit_"#_pos".rect"; \ - } \ - } + } \ + program { \ + name: "cit_"#_pos".weekday"; \ + signal: "cit_"#_pos",weekday"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".saturday"; \ + signal: "cit_"#_pos",saturday"; \ + source: "elm"; \ + action: STATE_SET "saturday" 0.0; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".sunday"; \ + signal: "cit_"#_pos",sunday"; \ + source: "elm"; \ + action: STATE_SET "sunday" 0.0; \ + target: "cit_"#_pos".text"; \ + } \ + program { \ + name: "cit_"#_pos".is_today"; \ + signal: "cit_"#_pos",today"; \ + source: "elm"; \ + script { \ + new st[31]; \ + new Float:vl; \ + get_state(PART:"cit_"#_pos".rect", st, 30, vl); \ + if (!strcmp(st, "expand")) \ + { \ + set_state(PART:"cit_"#_pos".rect", "today_expand", 0.0); \ + } \ + else \ + { \ + set_state(PART:"cit_"#_pos".rect", "today_normal", 0.0); \ + } \ + } \ + } \ + program { \ + name: "cit_"#_pos".not_today"; \ + signal: "cit_"#_pos",not_today"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".rect"; \ + } \ + program { \ + source: "cit_"#_pos".clicked"; \ + signal: "mouse,clicked,1"; \ + source: "cit_"#_pos".event"; \ + action: SIGNAL_EMIT "elm,action,selected" #_pos; \ + } \ + program { \ + name: "cit_"#_pos".clear"; \ + signal: "cit_"#_pos",clear"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".check"; \ + } \ + program { \ + name: "cit_"#_pos".checked"; \ + signal: "cit_"#_pos",checked"; \ + source: "elm"; \ + action: STATE_SET "visible" 0.0; \ + target: "cit_"#_pos".check"; \ + } \ + program { \ + name: "cit_"#_pos".go_expanded"; \ + signal: "cit_"#_pos",cell_expanded"; \ + source: "elm"; \ + action: STATE_SET "expand" 0.0; \ + target: "cit_"#_pos".rect"; \ + } \ + program { \ + name: "cit_"#_pos".go_default"; \ + signal: "cit_"#_pos",cell_default"; \ + source: "elm"; \ + action: STATE_SET "default" 0.0; \ + target: "cit_"#_pos".rect"; \ + } \ + program { \ + name: "cit_"#_pos".go_invisible"; \ + signal: "cit_"#_pos",cell_invisible"; \ + source: "elm"; \ + action: STATE_SET "invisible" 0.0; \ + target: "cit_"#_pos".rect"; \ + } \ + } #define CSEPV(_pos) \ - part { name: "csep_"#_pos".vertical"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - rel1 { \ - relative: (_pos / 7) 0; \ - to: "base"; \ - } \ - rel2 { \ - relative: (_pos / 7) 1; \ - to: "base"; \ - offset: 1 0; \ - } \ - color: 64 64 64 255; \ - visible: 1; \ - } \ - } + part { name: "csep_"#_pos".vertical"; \ + type: RECT; \ + scale: 1;\ + description { state: "default" 0.0; \ + rel1 { \ + relative: (_pos / 7) 0; \ + to: "base"; \ + } \ + rel2 { \ + relative: (_pos / 7) 1; \ + to: "base"; \ + offset: 1 0; \ + } \ + color: 176 176 176 255; \ + visible: 1; \ + } \ + } #define CSEPH(_pos) \ - part { name: "csep_"#_pos".horizontal"; \ - type: RECT; \ - scale: 1;\ - description { state: "default" 0.0; \ - rel1 { \ - relative: 0 (_pos / 6); \ - to: "base"; \ - } \ - rel2 { \ - relative: 1 (_pos / 6); \ - to: "base"; \ - offset: 0 1; \ - } \ - color: 64 64 64 255; \ - visible: 1; \ - } \ - description { state: "expand" 0.0; \ - rel1 { \ - relative: 0 (_pos / 5); \ - to: "base"; \ - } \ - rel2 { \ - relative: 1 (_pos / 5); \ - to: "base"; \ - offset: 0 1; \ - } \ - color: 64 64 64 255; \ - visible: 1; \ - } \ - description { state: "invisible" 0.0; \ - color: 64 64 64 0; \ - visible: 0; \ - } \ - } \ + part { name: "csep_"#_pos".horizontal"; \ + type: RECT; \ + scale: 1;\ + description { state: "default" 0.0; \ + rel1 { \ + relative: 0 (_pos / 6); \ + to: "base"; \ + } \ + rel2 { \ + relative: 1 (_pos / 6); \ + to: "base"; \ + offset: 0 1; \ + } \ + color: 176 176 176 255; \ + visible: 1; \ + } \ + description { state: "expand" 0.0; \ + inherit: "default" 0.0; \ + rel1 { \ + relative: 0 (_pos / 5); \ + to: "base"; \ + } \ + rel2 { \ + relative: 1 (_pos / 5); \ + to: "base"; \ + offset: 0 1; \ + } \ + } \ + description { state: "invisible" 0.0; \ + inherit: "default" 0.0; \ + visible: 0; \ + } \ + } \ programs { \ program { \ name: "cseph_"_pos".go_show"; \ @@ -385,248 +426,300 @@ action: STATE_SET "invisible" 0.0; \ target: "csep_"#_pos".horizontal"; \ } \ - } + } group { name: "elm/calendar/base/default"; - images { - image: "bt_sm_base1.png" COMP; - image: "bt_sm_shine.png" COMP; - image: "bt_sm_hilight.png" COMP; - image: "check.png" COMP; - image: "00_calend_picker_btn_left.png" COMP; - image: "00_calend_picker_btn_left_press.png" COMP; - image: "00_calend_picker_btn_right.png" COMP; - image: "00_calend_picker_btn_right_press.png" COMP; - image: "00_calend_picker_day_press.png" COMP; - } - parts { - part { name: "bg"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - min: 0 30; - //rel1.offset: 1 1; - //rel2.offset: -2 -2; - color: 44 39 36 255; - align: 0.0 0.5; - } - } - part { name: "spinner-base"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 24 50; - max: 999999 50; - rel1.to: "bg"; - rel1.offset: 5 9; - rel2.to: "bg"; - rel2.offset: -5 -9; - color: 44 39 36 255; - align: 0.0 0.0; + images { + image: "bt_sm_base1.png" COMP; + image: "bt_sm_shine.png" COMP; + image: "bt_sm_hilight.png" COMP; + image: "check.png" COMP; + image: "00_picker_arrow_left.png" COMP; + image: "00_picker_arrow_left_press.png" COMP; + image: "00_picker_arrow_right.png" COMP; + image: "00_picker_arrow_right_press.png" COMP; + image: "00_picker_btn_press.png" COMP; + image: "00_picker_btn_normal.png" COMP; + image: "00_calend_picker_day_press.png" COMP; + image: "00_picker_btn_current.png" COMP; + image: "00_picker_btn_press.png" COMP; + image: "00_picker_field_bg.png" COMP; + } + script { + public day_type; + } + parts { + part { name: "bg"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + min: 0 30; + color: 230 230 230 255; + align: 0.0 0.5; + } + } + part { name: "spinner-base"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 24 50; + max: 999999 50; + rel1.to: "bg"; + rel1.offset: 5 9; + rel2.to: "bg"; + rel2.offset: -5 -9; + color: 230 230 230 255; + align: 0.0 0.0; + } + } + part { name: "table-base"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + min: 256 220; + rel1.to_x: "bg"; + rel1.to_y: "spinner-base"; + rel1.offset: 6 0; + rel1.relative: 0 1; + rel2.to: "bg"; + rel2.offset: -6 -3; + color: 230 230 230 255; + } + } + part { name: "header"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "table-base"; + rel1.relative: 0 0; + rel2.to: "table-base"; + rel2.relative: 1 0.1; + color: 230 230 230 255; + } + } + part { name: "sep_header"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to: "header"; + rel1.relative: 0 1; + rel2.to: "header"; + rel2.relative: 1 1; + rel2.offset: 0 2; + color: 176 176 176 255; + } + } + part { name: "base"; + type: RECT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1.to_x: "table-base"; + rel1.to_y: "sep_header"; + rel1.relative: 0 1; + rel1.offset: 3 0; + rel2.to: "table-base"; + rel2.relative: 1 1; + rel2.offset: -3 -5; + color: 202 2 2 0; + } + } + part { name: "sep_vertical1"; + type: RECT; + scale: 1; + description { state: "default" 0.0; + rel1.to: "base"; + rel1.relative: 1/7 0; + rel2.to: "base"; + rel2.relative: 1/7 1; + rel2.offset: 1 0; + color: 176 176 176 255; + } + } + part { name: "left_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { to: "spinner-base"; + offset: 0 0; } - } - part { name: "table-base"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - min: 256 220; - rel1.to_x: "bg"; - rel1.to_y: "spinner-base"; - rel1.offset: 6 0; - rel1.relative: 0 1; - rel2.to: "bg"; - rel2.offset: -6 -3; - color: 44 39 36 255; + rel2 { to: "spinner-base"; + offset: 0 0; } - } - part { name: "header"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "table-base"; - rel1.relative: 0 0; - rel2.to: "table-base"; - rel2.relative: 1 0.1; - color: 44 39 36 255; + align: 0.0 0.5; + min: 46 42; + max: 46 42; + fixed: 1 1; + image { + normal: "00_picker_btn_normal.png"; + border: 4 4 4 4; + border_scale: 1; } - } - part { name: "sep_header"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to: "header"; - rel1.relative: 0 1; - rel2.to: "header"; - rel2.relative: 1 1; - rel2.offset: 0 2; - color: 102 102 102 255; + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_picker_btn_press.png"; + } + } + part { name: "left_arrow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { to: "left_bt"; } + rel2 { to: "left_bt"; } + align: 0.5 0.5; + min: 20 20; + max: 20 20; + fixed: 1 1; + image { + normal: "00_picker_arrow_left.png"; } - } - part { name: "base"; - type: RECT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - rel1.to_x: "table-base"; - rel1.to_y: "sep_header"; - rel1.relative: 0 1; - rel1.offset: 3 0; - rel2.to: "table-base"; - rel2.relative: 1 1; - rel2.offset: -3 -5; - color: 202 2 2 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_picker_arrow_left_press.png"; + } + } + part { name: "right_bt"; + mouse_events: 1; + scale: 1; + description { state: "default" 0.0; + rel1 { to: "spinner-base"; + offset: 0 0; } - } - part { name: "sep_vertical1"; - type: RECT; - scale: 1; - description { state: "default" 0.0; - rel1.to: "base"; - rel1.relative: 1/7 0; - rel2.to: "base"; - rel2.relative: 1/7 1; - rel2.offset: 1 0; - color: 102 102 102 255; + rel2 { to: "spinner-base"; + offset: 0 0; } - } - part { name: "left_bt"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { to: "spinner-base"; - offset: 0 0; - } - rel2 { to: "spinner-base"; - offset: 0 0; - } - align: 0.0 0.5; - min: 46 48; - max: 46 48; - fixed: 1 1; - image { - normal: "00_calend_picker_btn_left.png"; - } - fill.smooth : 0; + align: 1.0 0.5; + min: 46 42; + max: 46 42; + fixed: 1 1; + image { + normal: "00_picker_btn_normal.png"; + border: 4 4 4 4; + border_scale: 1; } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_calend_picker_btn_left_press.png"; + fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_picker_btn_press.png"; + } + } + part { name: "right_arrow"; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + rel1 { to: "right_bt"; } + rel2 { to: "right_bt"; } + align: 0.5 0.5; + fixed: 1 1; + min: 20 20; + max: 20 20; + image { + normal: "00_picker_arrow_right.png"; } - } - part { name: "right_bt"; - mouse_events: 1; - scale: 1; - description { state: "default" 0.0; - rel1 { to: "spinner-base"; - offset: 0 0; - } - rel2 { to: "spinner-base"; - offset: 0 0; - } - align: 1.0 0.5; - min: 46 48; - max: 46 48; - fixed: 1 1; - image { - normal: "00_calend_picker_btn_right.png"; - } - fill.smooth : 0; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "00_picker_arrow_right_press.png"; + } + } + part { name: "month_text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { state: "default" 0.0; + align: 0 0.5; + fixed: 1 1; + rel1 { relative: 1.0 0.0; + offset: 3 2; + to: "left_bt"; + to_y: "spinner-base"; } - description { state: "clicked" 0.0; - inherit: "default" 0.0; - image.normal: "00_calend_picker_btn_right_press.png"; + rel2 { relative: 0.0 1.0; + offset: -3 -2; + to_x: "right_bt"; + to_y: "spinner-base"; } - } - part { name: "month_text"; - type: TEXT; - mouse_events: 0; - scale: 1; - description { state: "default" 0.0; - align: 0 0.5; - fixed: 1 1; - rel1 { relative: 1.0 0.0; - offset: 3 2; - to: "left_bt"; - to_y: "spinner-base"; - } - rel2 { relative: 0.0 1.0; - offset: -3 -2; - to_x: "right_bt"; - to_y: "spinner-base"; - } - color: 255 255 255 255; - text { - font: "SLP:style=Medium"; - size: 24; - min: 1 1; - align: 0.5 0.5; - } + color: 0 0 0 255; + text { + font: "SLP:style=Medium"; + size: 24; + min: 1 1; + align: 0.5 0.5; } - } - CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6) - CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6) - CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13) - CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20) - CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27) - CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34) - CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41) - CSEPV(1) CSEPV(2) CSEPV(3) CSEPV(4) CSEPV(5) CSEPV(6) - CSEPH(1) CSEPH(2) CSEPH(3) CSEPH(4) CSEPH(5) CSEPH(6) - } - programs { - program { name: "dec_start"; - signal: "mouse,down,1"; - source: "left_bt"; - action: SIGNAL_EMIT "elm,action,decrement,start" ""; - } - program { name: "dec_stop"; - signal: "mouse,up,1"; - source: "left_bt"; - action: SIGNAL_EMIT "elm,action,stop" ""; - } - program { name: "inc_start"; - signal: "mouse,down,1"; - source: "right_bt"; - action: SIGNAL_EMIT "elm,action,increment,start" ""; - } - program { name: "inc_stop"; - signal: "mouse,up,1"; - source: "right_bt"; - action: SIGNAL_EMIT "elm,action,stop" ""; - } - program { - name: "left_bt_click"; - signal: "mouse,down,1"; - source: "left_bt"; - action: STATE_SET "clicked" 0.0; - target: "left_bt"; - } - program { - name: "left_bt_unclick"; - signal: "mouse,up,1"; - source: "left_bt"; - action: STATE_SET "default" 0.0; - target: "left_bt"; - } - program { - name: "right_bt_click"; - signal: "mouse,down,1"; - source: "right_bt"; - action: STATE_SET "clicked" 0.0; - target: "right_bt"; - } - program { - name: "right_bt_unclick"; - signal: "mouse,up,1"; - source: "right_bt"; - action: STATE_SET "default" 0.0; - target: "right_bt"; - } - } + } + } + CH(0) CH(1) CH(2) CH(3) CH(4) CH(5) CH(6) + CIT(0) CIT(1) CIT(2) CIT(3) CIT(4) CIT(5) CIT(6) + CIT(7) CIT(8) CIT(9) CIT(10) CIT(11) CIT(12) CIT(13) + CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20) + CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27) + CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34) + CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41) + CSEPV(1) CSEPV(2) CSEPV(3) CSEPV(4) CSEPV(5) CSEPV(6) + CSEPH(1) CSEPH(2) CSEPH(3) CSEPH(4) CSEPH(5) CSEPH(6) + } + programs { + program { name: "dec_start"; + signal: "mouse,down,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,decrement,start" ""; + } + program { name: "dec_stop"; + signal: "mouse,up,1"; + source: "left_bt"; + action: SIGNAL_EMIT "elm,action,stop" ""; + } + program { name: "inc_start"; + signal: "mouse,down,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,increment,start" ""; + } + program { name: "inc_stop"; + signal: "mouse,up,1"; + source: "right_bt"; + action: SIGNAL_EMIT "elm,action,stop" ""; + } + program { + name: "left_bt_click"; + signal: "mouse,down,1"; + source: "left_bt"; + action: STATE_SET "clicked" 0.0; + target: "left_bt"; + target: "left_arrow"; + } + program { + name: "left_bt_unclick"; + signal: "mouse,up,1"; + source: "left_bt"; + action: STATE_SET "default" 0.0; + target: "left_bt"; + target: "left_arrow"; + } + program { + name: "right_bt_click"; + signal: "mouse,down,1"; + source: "right_bt"; + action: STATE_SET "clicked" 0.0; + target: "right_bt"; + target: "right_arrow"; + } + program { + name: "right_bt_unclick"; + signal: "mouse,up,1"; + source: "right_bt"; + action: STATE_SET "default" 0.0; + target: "right_bt"; + target: "right_arrow"; + } + } } #undef CIT diff --git a/themes/images/nbeat-black/00_picker_btn_current.png b/themes/images/nbeat-black/00_picker_btn_current.png new file mode 100755 index 0000000000000000000000000000000000000000..c1256dc95617358b7218edc9b481421ce8072f1b GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Ahrbu8v_I5=Jv>5AcrO0(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G*OgXZLKnXY vtQD~Q8+iOkVC!NocTv7APES6yrU)}Cn@i-Kwyv!O+Qi`L>gTe~DWM4f*XBD! literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-black/00_picker_field_bg.png b/themes/images/nbeat-black/00_picker_field_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..7665f4adff73cfbdd11a538b7f77af06776bb6a5 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^EI@3+!N$PAc&lfnD@Y*S(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G~#=rc(EH~h^LEVh{pNkif?aj)~m4r!5kLm zI8~k&-UI#ycGchB*dMa^Wx#gi5@X_l+Ac+7ErT7b3=!>OSN^2lz7EvS;OXk;vd$@? F2>{+DEdBrh literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-blue/00_picker_btn_current.png b/themes/images/nbeat-blue/00_picker_btn_current.png new file mode 100755 index 0000000000000000000000000000000000000000..c1256dc95617358b7218edc9b481421ce8072f1b GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Ahrbu8v_I5=Jv>5AcrO0(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G*OgXZLKnXY vtQD~Q8+iOkVC!NocTv7APES6yrU)}Cn@i-Kwyv!O+Qi`L>gTe~DWM4f*XBD! literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-blue/00_picker_field_bg.png b/themes/images/nbeat-blue/00_picker_field_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..7665f4adff73cfbdd11a538b7f77af06776bb6a5 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^EI@3+!N$PAc&lfnD@Y*S(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G~#=rc(EH~h^LEVh{pNkif?aj)~m4r!5kLm zI8~k&-UI#ycGchB*dMa^Wx#gi5@X_l+Ac+7ErT7b3=!>OSN^2lz7EvS;OXk;vd$@? F2>{+DEdBrh literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-green/00_picker_btn_current.png b/themes/images/nbeat-green/00_picker_btn_current.png new file mode 100755 index 0000000000000000000000000000000000000000..c1256dc95617358b7218edc9b481421ce8072f1b GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Ahrbu8v_I5=Jv>5AcrO0(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G*OgXZLKnXY vtQD~Q8+iOkVC!NocTv7APES6yrU)}Cn@i-Kwyv!O+Qi`L>gTe~DWM4f*XBD! literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-green/00_picker_field_bg.png b/themes/images/nbeat-green/00_picker_field_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..7665f4adff73cfbdd11a538b7f77af06776bb6a5 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^EI@3+!N$PAc&lfnD@Y*S(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G~#=rc(EH~h^LEVh{pNkif?aj)~m4r!5kLm zI8~k&-UI#ycGchB*dMa^Wx#gi5@X_l+Ac+7ErT7b3=!>OSN^2lz7EvS;OXk;vd$@? F2>{+DEdBrh literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-purple/00_picker_btn_current.png b/themes/images/nbeat-purple/00_picker_btn_current.png new file mode 100755 index 0000000000000000000000000000000000000000..c1256dc95617358b7218edc9b481421ce8072f1b GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Ahrbu8v_I5=Jv>5AcrO0(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G*OgXZLKnXY vtQD~Q8+iOkVC!NocTv7APES6yrU)}Cn@i-Kwyv!O+Qi`L>gTe~DWM4f*XBD! literal 0 HcmV?d00001 diff --git a/themes/images/nbeat-purple/00_picker_field_bg.png b/themes/images/nbeat-purple/00_picker_field_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..7665f4adff73cfbdd11a538b7f77af06776bb6a5 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^EI@3+!N$PAc&lfnD@Y*S(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G~#=rc(EH~h^LEVh{pNkif?aj)~m4r!5kLm zI8~k&-UI#ycGchB*dMa^Wx#gi5@X_l+Ac+7ErT7b3=!>OSN^2lz7EvS;OXk;vd$@? F2>{+DEdBrh literal 0 HcmV?d00001 diff --git a/themes/images/nbeat/00_picker_btn_current.png b/themes/images/nbeat/00_picker_btn_current.png new file mode 100755 index 0000000000000000000000000000000000000000..c1256dc95617358b7218edc9b481421ce8072f1b GIT binary patch literal 207 zcmeAS@N?(olHy`uVBq!ia0vp^Ahrbu8v_I5=Jv>5AcrO0(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G*OgXZLKnXY vtQD~Q8+iOkVC!NocTv7APES6yrU)}Cn@i-Kwyv!O+Qi`L>gTe~DWM4f*XBD! literal 0 HcmV?d00001 diff --git a/themes/images/nbeat/00_picker_field_bg.png b/themes/images/nbeat/00_picker_field_bg.png new file mode 100755 index 0000000000000000000000000000000000000000..7665f4adff73cfbdd11a538b7f77af06776bb6a5 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^EI@3+!N$PAc&lfnD@Y*S(btiIVPik{pF~z5pR>Rt zvY3H^TNs2H8D`Cq01C2~c>21s-)3g!G~#=rc(EH~h^LEVh{pNkif?aj)~m4r!5kLm zI8~k&-UI#ycGchB*dMa^Wx#gi5@X_l+Ac+7ErT7b3=!>OSN^2lz7EvS;OXk;vd$@? F2>{+DEdBrh literal 0 HcmV?d00001 -- 2.7.4