From: cinoo.kim Date: Thu, 24 Feb 2011 02:34:07 +0000 (+0900) Subject: [ctxpopup] take imageeditor, timepicker style from beat-winset-test; fix the incorrec... X-Git-Tag: submit/2.0alpha-wayland/20121130.000903~962^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6cbce3c2f1c341caf92ea41c32b7fdc3e0c40d7;p=profile%2Fivi%2Fefl-theme-tizen.git [ctxpopup] take imageeditor, timepicker style from beat-winset-test; fix the incorrect indentation Change-Id: I37f29a7e6bf11899a0c623b9288351c319c755c7 --- diff --git a/themes/groups/ctxpopup.edc b/themes/groups/ctxpopup.edc index 2b80080..a4860e1 100644 --- a/themes/groups/ctxpopup.edc +++ b/themes/groups/ctxpopup.edc @@ -1,26 +1,26 @@ /* * Beat-theme - * + * 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 , + + * 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 * License for more details. - * + * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation, Inc., 51 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * + */ /////////////////////////////////////////////////////////////////////////////////////// @@ -30,8 +30,8 @@ /////////////////////////////////////////////////////////////////////////////////////// #define CTXPOPUP_ITEM_PADDING 15 -#define CTXPOPUP_SHADOW_PADDING 10 -#define CTXPOPUP_FRAME_CORNER_SIZE 4 4 +#define CTXPOPUP_SHADOW_PADDING 10 +#define CTXPOPUP_FRAME_CORNER_SIZE 4 4 #define CTXPOPUP_ITEM_HEIGHT 70 #define CTXPOPUP_CONTENT_WIDTH_MIN 240 #define CTXPOPUP_CONTENT_WIDTH_MAX 420 @@ -42,42 +42,42 @@ #define CTXPOPUP_ITEM_DISABLED_COLOR 200 200 200 127 #define CTXPOPUP_ICON_WIDTH 50 #define CTXPOPUP_ICON_HEIGHT 50 -#define CTXPOPUP_ARROW_SIZE 30 30 +#define CTXPOPUP_ARROW_SIZE 30 30 #define CTXPOPUP_LIST_PADDING 10 #define CTXPOPUP_LIST_SHADOW_PADDING 3 /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/scroller/base/ctxpopup"; script { public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; public timer0(val) { new v; - v = get_int(sbvis_v); - if (v) { - v = get_int(sbalways_v); - if(!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - v = get_int(sbvis_h); - if (v) { - v = get_int(sbalways_h); - if(!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); - } + v = get_int(sbvis_v); + if (v) { + v = get_int(sbalways_v); + if(!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); } - set_int(sbvis_timer, 0); - return 0; + } + v = get_int(sbvis_h); + if (v) { + v = get_int(sbalways_h); + if(!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); + } + } + set_int(sbvis_timer, 0); + return 0; } } images { image: "01_scroller.png" COMP; } parts { - part { + part { name: "clipper"; type: RECT; mouse_events: 0; @@ -86,7 +86,7 @@ state: "default" 0.0; } } - part { + part { name: "elm.swallow.content"; clip_to: "clipper"; type: SWALLOW; @@ -96,42 +96,42 @@ align: 0.5 0.5; } } - part { + part { name: "sb_vbar_clip_master"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + } + description { + state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_vbar_clip"; clip_to:"sb_vbar_clip_master"; type: RECT; mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; align: 0.0 0.0; rel2{ to:"clipper"; relative: 1.0 1.0;} } - description { + description { state: "hidden" 0.0; visible: 0; color: 255 255 255 0; } } - part { + part { name: "sb_vbar"; type: RECT; mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; fixed: 1 1; visible: 0; @@ -140,17 +140,17 @@ rel2{ to:"clipper"; relative: 1.0 1.0;} } } - part { + part { name: "elm.dragable.vbar"; clip_to: "sb_vbar_clip"; - mouse_events: 0; + mouse_events: 0; scale: 1; dragable { x: 0 0 0; y: 1 1 0; confine: "sb_vbar"; } - description { + description { state: "default" 0.0; fixed: 1 1; min: 14 32; @@ -169,20 +169,20 @@ } } } - part { - name: "sb_hbar_clip_master"; - type: RECT; - mouse_events: 0; - description { - state: "default" 0.0; - } - description { - state: "hidden" 0.0; - visible: 0; - color: 255 255 255 0; - } - } - part { + part { + name: "sb_hbar_clip_master"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + } + description { + state: "hidden" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + part { name: "sb_hbar_clip"; clip_to: "sb_hbar_clip_master"; type: RECT; @@ -193,37 +193,37 @@ align: 0.0 0.0; rel2{ to:"clipper"; relative: 1.0 1.0;} } - description { + description { state: "hidden" 0.0; visible: 0; color: 255 255 255 0; } } - part { + part { name: "sb_hbar"; type: RECT; mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; fixed: 1 1; visible: 0; align: 0.0 1.0; rel1 {to:"clipper"; relative: 0.0 1.0;} - rel2 {to:"clipper"; relative: 1.0 1.0;} + rel2 {to:"clipper"; relative: 1.0 1.0;} } } - part { + part { name: "elm.dragable.hbar"; clip_to: "sb_hbar_clip"; - mouse_events: 0; + mouse_events: 0; scale: 1; dragable { x: 1 1 0; y: 0 0 0; confine: "sb_hbar"; } - description { + description { state: "default" 0.0; fixed: 1 1; min: 32 12; @@ -232,13 +232,13 @@ image { normal: "01_scroller.png"; border: 6 6 0 0; - border_scale: 1; + border_scale: 1; } } } - } + } programs { - program { + program { name: "load"; signal: "load"; source: ""; @@ -251,7 +251,7 @@ set_int(sbalways_h, 0); set_int(sbvis_timer, 0); } - } + } program { name: "vbar_show"; signal: "elm,action,show,vbar"; @@ -259,46 +259,46 @@ action: STATE_SET "default" 0.0; target: "sb_vbar_clip_master"; } - program { - name: "vbar_hide"; - signal: "elm,action,hide,vbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_vbar_clip_master"; - } - program { - name: "vbar_show_always"; - signal: "elm,action,show_always,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_v); - v |= get_int(sbalways_v); - if (!v) { - set_int(sbalways_v, 1); - emit("do-show-vbar", ""); - set_int(sbvis_v, 1); - } - } - } - program { - name: "vbar_show_notalways"; - signal: "elm,action,show_notalways,vbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_v); - if (v) { - set_int(sbalways_v, 0); - v = get_int(sbvis_v); - if (!v) { - emit("do-hide-vbar", ""); - set_int(sbvis_v, 0); - } - } - } - } - program { + program { + name: "vbar_hide"; + signal: "elm,action,hide,vbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_vbar_clip_master"; + } + program { + name: "vbar_show_always"; + signal: "elm,action,show_always,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_v); + v |= get_int(sbalways_v); + if (!v) { + set_int(sbalways_v, 1); + emit("do-show-vbar", ""); + set_int(sbvis_v, 1); + } + } + } + program { + name: "vbar_show_notalways"; + signal: "elm,action,show_notalways,vbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_v); + if (v) { + set_int(sbalways_v, 0); + v = get_int(sbvis_v); + if (!v) { + emit("do-hide-vbar", ""); + set_int(sbvis_v, 0); + } + } + } + } + program { name: "sb_vbar_show"; signal: "do-show-vbar"; source: ""; @@ -306,7 +306,7 @@ transition: LINEAR 1.0; target: "sb_vbar_clip"; } - program { + program { name: "sb_vbar_hide"; signal: "do-hide-vbar"; source: ""; @@ -314,53 +314,53 @@ transition: LINEAR 1.0; target: "sb_vbar_clip"; } - program { + program { name: "hbar_show"; - signal: "elm,action,show,hbar"; - source: "elm"; - action: STATE_SET "default" 0.0; - target: "sb_hbar_clip_master"; - } - program { - name: "hbar_hide"; - signal: "elm,action,hide,hbar"; - source: "elm"; - action: STATE_SET "hidden" 0.0; - target: "sb_hbar_clip_master"; - } - program { - name: "hbar_show_always"; - signal: "elm,action,show_always,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbvis_h); - v |= get_int(sbalways_h); - if (!v) { - set_int(sbalways_h, 1); - emit("do-show-hbar", ""); - set_int(sbvis_h, 1); - } - } - } - program { - name: "hbar_show_notalways"; - signal: "elm,action,show_notalways,hbar"; - source: "elm"; - script { - new v; - v = get_int(sbalways_h); - if (v) { - set_int(sbalways_h, 0); - v = get_int(sbvis_h); - if (!v) { - emit("do-hide-hbar", ""); - set_int(sbvis_h, 0); + signal: "elm,action,show,hbar"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "sb_hbar_clip_master"; + } + program { + name: "hbar_hide"; + signal: "elm,action,hide,hbar"; + source: "elm"; + action: STATE_SET "hidden" 0.0; + target: "sb_hbar_clip_master"; + } + program { + name: "hbar_show_always"; + signal: "elm,action,show_always,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbvis_h); + v |= get_int(sbalways_h); + if (!v) { + set_int(sbalways_h, 1); + emit("do-show-hbar", ""); + set_int(sbvis_h, 1); + } + } + } + program { + name: "hbar_show_notalways"; + signal: "elm,action,show_notalways,hbar"; + source: "elm"; + script { + new v; + v = get_int(sbalways_h); + if (v) { + set_int(sbalways_h, 0); + v = get_int(sbvis_h); + if (!v) { + emit("do-hide-hbar", ""); + set_int(sbvis_h, 0); } } } } - program { + program { name: "sb_hbar_show"; signal: "do-show-hbar"; source: ""; @@ -368,15 +368,15 @@ transition: LINEAR 1.0; target: "sb_hbar_clip"; } - program { + program { name: "sb_hbar_hide"; signal: "do-hide-hbar"; source: ""; action: STATE_SET "hidden" 0.0; transition: LINEAR 1.0; target: "sb_hbar_clip"; - } - program { + } + program { name: "scroll"; signal: "elm,action,scroll"; source: "elm"; @@ -388,7 +388,7 @@ if (!v) { emit("do-show-vbar", ""); set_int(sbvis_v, 1); - } + } v = get_int(sbvis_h); v |= get_int(sbalways_h); if(!v) { @@ -401,8 +401,8 @@ set_int(sbvis_timer, v); } } - } - } + } + } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/ctxpopup/bg/pass_event"; @@ -435,7 +435,7 @@ source: "elm"; action: STATE_SET "default" 0.0; target: "bg"; - } + } } } /////////////////////////////////////////////////////////////////////////////// @@ -477,11 +477,11 @@ source: "elm"; action: STATE_SET "default" 0.0; target: "bg"; - } + } } } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/base/no_bg_content"; images { image: "ctxpopup_bg.png" COMP; @@ -493,7 +493,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; align: 0 0; @@ -506,15 +506,15 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; rel1{relative: 1 1;} align: 0 0; - fixed: 1 1; + fixed: 1 1; visible: 0; } - } + } part { name: "frame_shadow"; type: IMAGE; @@ -523,14 +523,15 @@ description { state: "default" 0.0; rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;} - rel2 {to:"frame_shadow_right_bottom_padding";} image { + rel2 {to:"frame_shadow_right_bottom_padding";} + image { normal: "ctxpopup_shadow.png"; - border: 10 10 10 10; + border: 10 10 10 10; border_scale: 1; } color: 255 255 255 255; } - } + } part { name: "ctxpopup_frame"; type: IMAGE; @@ -550,7 +551,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING; max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING; align: 0 0; @@ -558,14 +559,14 @@ visible: 0; rel1 {to:"elm.swallow.content"; relative: 1 1;} } - } + } part { name:"content_left_top_padding"; type:RECT; scale: 1; mouse_events: 0; - description { - state: "default" 0.0; + description { + state: "default" 0.0; min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; align: 0 0; @@ -578,13 +579,13 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; rel1 { relative: 1 1;} rel2 { relative: 1 1;} align: 1 1; - fixed: 1 1; + fixed: 1 1; visible: 0; } } @@ -596,11 +597,11 @@ rel1 {to:"content_left_top_padding"; relative: 1 1;} rel2 {to:"content_right_bottom_padding"; relative: 0 0;} } - } - } - } + } + } + } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/base/default"; images { image: "00_popup_bubble_bg_left_top.png" COMP; @@ -616,7 +617,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; rel2 { relative: 0 0; } @@ -630,15 +631,15 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; rel1{relative: 1 1;} align: 0 0; - fixed: 1 1; + fixed: 1 1; visible: 0; } - } + } part { name: "frame_shadow"; type: IMAGE; @@ -647,15 +648,15 @@ description { state: "default" 0.0; rel1 {to:"frame_shadow_left_top_padding";} - rel2 {to:"frame_shadow_right_bottom_padding";} + rel2 {to:"frame_shadow_right_bottom_padding";} image { - normal: "00_popup_bubble_bg.png"; - border: 10 10 10 10; + normal: "00_popup_bubble_bg.png"; + border: 10 10 10 10; border_scale: 1; } color: 255 255 255 255; } - } + } part { name: "ctxpopup_frame_left_top"; @@ -663,49 +664,49 @@ scale: 1; description { align: 0 0; - min: CTXPOPUP_FRAME_CORNER_SIZE; + min: CTXPOPUP_FRAME_CORNER_SIZE; max: CTXPOPUP_FRAME_CORNER_SIZE; image { normal: "00_popup_bubble_bg_left_top.png"; } } } - + part { name: "ctxpopup_frame_right_top"; type: IMAGE; scale: 1; description { align: 1 0; - min: CTXPOPUP_FRAME_CORNER_SIZE; + min: CTXPOPUP_FRAME_CORNER_SIZE; max: CTXPOPUP_FRAME_CORNER_SIZE; image { normal: "00_popup_bubble_bg_right_top.png"; } } } - + part { name: "ctxpopup_frame_left_bottom"; type: IMAGE; scale: 1; description { align: 0 1; - min: CTXPOPUP_FRAME_CORNER_SIZE; + min: CTXPOPUP_FRAME_CORNER_SIZE; max: CTXPOPUP_FRAME_CORNER_SIZE; image { normal: "00_popup_bubble_bg_left_bottom.png"; } } } - + part { name: "ctxpopup_frame_right_bottom"; type: IMAGE; scale: 1; description { align: 1 1; - min: CTXPOPUP_FRAME_CORNER_SIZE; + min: CTXPOPUP_FRAME_CORNER_SIZE; max: CTXPOPUP_FRAME_CORNER_SIZE; image { normal: "00_popup_bubble_bg_right_bottom.png"; @@ -713,7 +714,7 @@ } } - part { + part { name: "ctxpopup_frame_top"; type: IMAGE; scale: 1; @@ -726,8 +727,8 @@ rel2 {to:"ctxpopup_frame_right_top"; relative: 0 1;} } } - - part { + + part { name: "ctxpopup_frame"; type: IMAGE; scale: 1; @@ -740,8 +741,8 @@ rel2 {to:"ctxpopup_frame_right_bottom"; relative: 1 0;} } } - - part { + + part { name: "ctxpopup_frame_bottom"; type: IMAGE; scale: 1; @@ -760,7 +761,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING; max: CTXPOPUP_LIST_SHADOW_PADDING CTXPOPUP_LIST_SHADOW_PADDING; align: 0 0; @@ -768,14 +769,14 @@ visible: 0; rel1 {to:"elm.swallow.content"; relative: 1 1;} } - } - part { + } + part { name:"content_left_top_padding"; type:RECT; scale: 1; mouse_events: 0; - description { - state: "default" 0.0; + description { + state: "default" 0.0; min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; align: 0 0; @@ -788,13 +789,13 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; max: CTXPOPUP_LIST_PADDING CTXPOPUP_LIST_PADDING; rel1 { relative: 1 1;} rel2 { relative: 1 1;} align: 1 1; - fixed: 1 1; + fixed: 1 1; visible: 0; } } @@ -812,11 +813,11 @@ align: 0 0; rel1 {to:"ctxpopup_frame_left_top"; relative: 0.0 1.0;} rel2 {to:"ctxpopup_frame_right_bottom"; relative: 1.0 0.0;} - } - } + } + } } programs { - program { + program { name: "vertical"; signal: "elm,state,vertical"; source: "elm"; @@ -824,7 +825,7 @@ set_state(PART:"elm.swallow.content", "default", 0.0); } } - program { + program { name: "horizontal"; signal: "elm,state,horizontal"; source: "elm"; @@ -833,7 +834,7 @@ } } } - } + } @@ -846,7 +847,7 @@ image: "00_popup_tail_bottom.png" COMP; } parts { - part { + part { name: "ctxpopup_arrow"; type: IMAGE; scale: 1; @@ -873,12 +874,12 @@ min: CTXPOPUP_ARROW_SIZE; max: CTXPOPUP_ARROW_SIZE; fixed: 1 1; - align: 0.0 0.5; + align: 0.0 0.5; image { normal: "00_popup_tail_right.png"; } } - description { + description { state: "top" 0.0; min: CTXPOPUP_ARROW_SIZE; max: CTXPOPUP_ARROW_SIZE; @@ -888,7 +889,7 @@ normal: "00_popup_tail_top.png"; } } - description { + description { state: "bottom" 0.0; min: CTXPOPUP_ARROW_SIZE; max: CTXPOPUP_ARROW_SIZE; @@ -901,28 +902,28 @@ } } programs { - program { + program { name: "enable_left_arrow"; signal: "elm,state,left"; source: "elm"; action: STATE_SET "left" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_right_arrow"; signal: "elm,state,right"; source: "elm"; action: STATE_SET "right" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_top_arrow"; signal: "elm,state,top"; source: "elm"; action: STATE_SET "top" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_bottom_arrow"; signal: "elm,state,bottom"; source: "elm"; @@ -932,35 +933,35 @@ } } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/text_style_item/default"; images { image: "00_list_bar_press.png" COMP; } - parts { - part { + parts { + part { name: "event_blocker"; mouse_events: 1; - description { + description { state: "default" 0.0; color: 0 0 0 0; } - } - part { - name: "bg"; + } + part { + name: "bg"; mouse_events: 0; type: IMAGE; - description { + description { state: "default" 0.0; visible: 0; } - description { + description { state: "clicked" 0.0; image { normal: "00_list_bar_press.png"; border: 10 10 10 10; border_scale: 1; - } + } } } part { @@ -970,7 +971,7 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 0.5 1; min: 0 1; max: 999999 1; @@ -988,7 +989,7 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; @@ -997,7 +998,7 @@ } description { state: "horizontal" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; @@ -1015,15 +1016,15 @@ max: 30 CTXPOPUP_ITEM_HEIGHT; align: 0 0.5; fixed: 1 1; - visible: 0; - } - } + visible: 0; + } + } part { name: "elm.text"; - type: TEXT; - mouse_events: 0; + type: TEXT; + mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; min: 1 CTXPOPUP_ITEM_HEIGHT; max: (CTXPOPUP_CONTENT_WIDTH_MAX-2*CTXPOPUP_ITEM_PADDING) CTXPOPUP_ITEM_HEIGHT; @@ -1033,9 +1034,9 @@ rel2 {relative: 0.0 1.0; to: "right_padding";} color: CTXPOPUP_FONT_COLOR; text { - font: "SLP:style=Roman"; - size: 34; - align: 0.5 0.5; + font: "SLP:style=Roman"; + size: 34; + align: 0.5 0.5; min: 1 1; } } @@ -1045,7 +1046,7 @@ color: CTXPOPUP_CLICKED_FONT_COLOR; } } - part { + part { name: "right_padding"; scale: 1; mouse_events: 0; @@ -1056,25 +1057,25 @@ max: 30 CTXPOPUP_ITEM_HEIGHT; fixed: 1 0; align: 1.0 0.5; - } - } - part { + } + } + part { name: "over1"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; - description { + description { state: "default" 0.0; } } - part { + part { name: "over2"; mouse_events: 1; repeat_events: 1; - description { + description { state: "default" 0.0; } - } + } part { name: "disclip"; type: RECT; @@ -1103,14 +1104,14 @@ action: STATE_SET "disabled" 0.0; target: "disclip"; } - program { + program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.0; target: "disclip"; } - program { + program { name: "vertical"; signal: "elm,state,vertical"; source: "elm"; @@ -1119,7 +1120,7 @@ set_state(PART:"right_separator", "default", 0.0); } } - program { + program { name: "horizontal"; signal: "elm,state,horizontal"; source: "elm"; @@ -1137,7 +1138,7 @@ set_state(PART:"elm.text", "clicked", 0.0); set_state(PART:"bg", "clicked", 0.0); } - } + } program { name: "item_unclick2"; signal: "mouse,up,1"; @@ -1145,43 +1146,43 @@ script { set_state(PART:"elm.text", "default", 0.0); set_state(PART:"bg", "default", 0.0); - } + } } } - } + } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/icon_style_item/default";\ images { image: "00_list_bar_press.png" COMP; - } + } parts { - part { + part { name: "event_blocker"; mouse_events: 1; - description { + description { state: "default" 0.0; color: 0 0 0 0; } - } - part { - name: "bg"; + } + part { + name: "bg"; mouse_events: 0; type: IMAGE; - description { + description { state: "default" 0.0; visible: 0; } - description { + description { state: "clicked" 0.0; image { normal: "00_list_bar_press.png"; border: 10 10 10 10; border_scale: 1; - } + } } } - part { + part { name: "left_top_padding"; scale: 1; description { @@ -1199,28 +1200,28 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; rel2 { offset: 0 0.5; } } } - part { + part { name: "elm.swallow.icon"; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT; - max: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT; - align: 0.5 0.5; + max: (CTXPOPUP_ICON_WIDTH+30) CTXPOPUP_ICON_HEIGHT; + align: 0.5 0.5; aspect: 1.0 1.0; rel1 { to: "left_top_padding"; relative: 1 1; } - rel2 { to: "right_bottom_padding"; relative: 0 0; } + rel2 { to: "right_bottom_padding"; relative: 0 0; } } } - part { + part { name: "right_bottom_padding"; scale: 1; description { @@ -1230,21 +1231,21 @@ align: 1 1; fixed: 1 1; } - } - part { + } + part { name: "over1"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; - description { + description { state: "default" 0.0; } } - part { + part { name: "over2"; mouse_events: 1; repeat_events: 1; - description { + description { state: "default" 0.0; } } @@ -1268,7 +1269,7 @@ signal: "mouse,up,1"; source: "over1"; action: SIGNAL_EMIT "elm,action,click" ""; - } + } program { name: "disable"; signal: "elm,state,disabled"; @@ -1276,11 +1277,11 @@ action: STATE_SET "disabled" 0.0; target: "disclip"; } - program { + program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; - action: STATE_SET "default" 0.0; + action: STATE_SET "default" 0.0; target: "disclip"; } program { @@ -1289,49 +1290,49 @@ source: "over2"; script { set_state(PART:"bg", "clicked", 0.0); - } - } + } + } program { name: "item_unclick2"; signal: "mouse,up,1"; source: "over2"; script { set_state(PART:"bg", "default", 0.0); - } + } } } } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/icon_text_style_item/default"; images { image: "00_list_bar_press.png" COMP; - } + } parts { - part { + part { name: "event_blocker"; mouse_events: 1; - description { + description { state: "default" 0.0; } } - part { - name: "bg"; + part { + name: "bg"; mouse_events: 0; type: IMAGE; - description { + description { state: "default" 0.0; - visible: 0; + visible: 0; } - description { + description { state: "clicked" 0.0; image { normal: "00_list_bar_press.png"; border: 10 10 10 10; - border_scale: 1; - } + border_scale: 1; + } } - } + } part { name: "icon_left_padding"; scale: 1; @@ -1343,8 +1344,8 @@ align: 0 0; fixed: 1 1; visible: 0; - } - } + } + } part { name: "bottom_separator"; mouse_events: 0; @@ -1352,7 +1353,7 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 0.5 1; min: 0 1; max: 999999 1; @@ -1370,7 +1371,7 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; @@ -1379,7 +1380,7 @@ } description { state: "horizontal" 0.0; - color: CTXPOPUP_SEPARATOR_COLOR; + color: CTXPOPUP_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; @@ -1387,19 +1388,19 @@ visible: 1; } } - part { + part { name: "elm.swallow.icon"; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT; - max: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT; - align: 0 0.5; + max: CTXPOPUP_ICON_WIDTH CTXPOPUP_ICON_HEIGHT; + align: 0 0.5; aspect: 1.0 1.0; - rel1 { to:"icon_left_padding"; relative: 1 0; } + rel1 { to:"icon_left_padding"; relative: 1 0; } } - } + } part { name: "icon_right_padding"; scale: 1; @@ -1411,15 +1412,15 @@ align: 0 0.5; fixed: 1 1; visible: 0; - rel1 { to:"elm.swallow.icon"; relative: 1 1; } - } - } + rel1 { to:"elm.swallow.icon"; relative: 1 1; } + } + } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; min: 1 CTXPOPUP_ITEM_HEIGHT; max: (CTXPOPUP_CONTENT_WIDTH_MAX-(3*CTXPOPUP_ITEM_PADDING)-CTXPOPUP_ICON_WIDTH) CTXPOPUP_ITEM_HEIGHT; @@ -1441,7 +1442,7 @@ color: CTXPOPUP_CLICKED_FONT_COLOR; } } - part { + part { name: "text_right_padding"; type: RECT; scale: 1; @@ -1453,22 +1454,22 @@ max: CTXPOPUP_ITEM_PADDING CTXPOPUP_ITEM_HEIGHT; fixed: 1 0; align: 1.0 0.5; - } - } - part { + } + } + part { name: "over1"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; - description { + description { state: "default" 0.0; } } - part { + part { name: "over2"; mouse_events: 1; repeat_events: 1; - description { + description { state: "default" 0.0; } } @@ -1492,7 +1493,7 @@ signal: "mouse,up,1"; source: "over1"; action: SIGNAL_EMIT "elm,action,click" ""; - } + } program { name: "disable"; signal: "elm,state,disabled"; @@ -1500,14 +1501,14 @@ action: STATE_SET "disabled" 0.0; target: "disclip"; } - program { + program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.0; target: "disclip"; } - program { + program { name: "vertical"; signal: "elm,state,vertical"; source: "elm"; @@ -1516,7 +1517,7 @@ set_state(PART:"right_separator", "default", 0.0); } } - program { + program { name: "horizontal"; signal: "elm,state,horizontal"; source: "elm"; @@ -1533,7 +1534,7 @@ set_state(PART:"elm.text", "clicked", 0.0); set_state(PART:"bg", "clicked", 0.0); } - } + } program { name: "item_unclick2"; signal: "mouse,up,1"; @@ -1541,9 +1542,9 @@ script { set_state(PART:"elm.text", "default", 0.0); set_state(PART:"bg", "default", 0.0); - } + } } - } + } } /////////////////////////////////////////////////////////////////////////////////////// @@ -1558,9 +1559,9 @@ #define CTXPOPUP_ENTRY_ITEM_WIDTH_MAX 150 #define CTXPOPUP_ENTRY_LIST_SHADOW_PADDING 3 #define CTXPOPUP_ENTRY_ITEM_DISABLED_COLOR 200 200 200 127 -#define CTXPOPUP_ENTRY_ARROW_SIZE 14 +#define CTXPOPUP_ENTRY_ARROW_SIZE 14 /////////////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/base/extended/entry"; alias: "elm/ctxpopup/base/extended/entry/pass_event"; images { @@ -1574,7 +1575,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; max: CTXPOPUP_SHADOW_PADDING CTXPOPUP_SHADOW_PADDING; align: 0 0; @@ -1587,15 +1588,15 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM; max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM; rel1{relative: 1 1;} align: 0 0; - fixed: 1 1; + fixed: 1 1; visible: 0; } - } + } part { name: "frame_shadow"; type: IMAGE; @@ -1604,10 +1605,10 @@ description { state: "default" 0.0; rel1 {to:"frame_shadow_left_top_padding"; relative: 1 1;} - rel2 {to:"frame_shadow_right_bottom_padding";} + rel2 {to:"frame_shadow_right_bottom_padding";} image { normal: "ctxpopup_shadow.png"; - border: 10 10 10 10; + border: 10 10 10 10; border_scale: 1; } color: 255 255 255 0; @@ -1616,15 +1617,15 @@ state: "show" 0.0; inherit: "default" 0.0; color: 255 255 255 255; - } - } + } + } part { name: "ctxpopup_frame"; type: IMAGE; scale: 1; description { visible: 1; - rel2 {offset: -1 11;} + rel2 {offset: -1 11;} image { normal: "copypaste_btn_bg.png"; border: 0 0 0 0; @@ -1646,7 +1647,7 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING; max: CTXPOPUP_ENTRY_LIST_SHADOW_PADDING CTXPOPUP_ENTRY_LIST_SHADOW_PADDING; align: 0 0; @@ -1654,7 +1655,7 @@ visible: 0; rel1 {to:"elm.swallow.content"; relative: 1 1;} } - } + } part { name: "ctxpopup_list"; type: IMAGE; @@ -1677,8 +1678,8 @@ type:RECT; scale: 1; mouse_events: 0; - description { - state: "default" 0.0; + description { + state: "default" 0.0; min: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP; max: CTXPOPUP_ENTRY_LIST_PADDING_LEFT CTXPOPUP_ENTRY_LIST_PADDING_TOP; align: 0 0; @@ -1691,13 +1692,13 @@ type:RECT; scale: 1; mouse_events: 0; - description { + description { min: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM; max: CTXPOPUP_ENTRY_LIST_PADDING_RIGHT CTXPOPUP_ENTRY_LIST_PADDING_BOTTOM; rel1 { relative: 1 1;} rel2 { relative: 1 1;} align: 1 1; - fixed: 1 1; + fixed: 1 1; visible: 0; } } @@ -1709,11 +1710,11 @@ rel1 {to:"content_left_top_padding"; relative: 1 1;} rel2 {to:"content_right_bottom_padding"; relative: 0 0;} } - } - } + } + } } /////////////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/arrow/extended/entry"; alias: "elm/ctxpopup/arrow/extended/entry/pass_event"; images { @@ -1723,7 +1724,7 @@ image: "copypaste_btn_arrow_bottom.png" COMP; } parts { - part { + part { name: "ctxpopup_arrow"; type: IMAGE; scale: 1; @@ -1750,12 +1751,12 @@ min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; fixed: 1 1; - align: 1.0 0.5; + align: 1.0 0.5; image { normal: "copypaste_btn_arrow_right.png"; } } - description { + description { state: "top" 0.0; min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; @@ -1765,7 +1766,7 @@ normal: "copypaste_btn_arrow_top.png"; } } - description { + description { state: "bottom" 0.0; min: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; max: CTXPOPUP_ENTRY_ARROW_SIZE CTXPOPUP_ENTRY_ARROW_SIZE; @@ -1778,28 +1779,28 @@ } } programs { - program { + program { name: "enable_left_arrow"; signal: "elm,state,left"; source: "elm"; action: STATE_SET "left" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_right_arrow"; signal: "elm,state,right"; source: "elm"; action: STATE_SET "right" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_top_arrow"; signal: "elm,state,top"; source: "elm"; action: STATE_SET "top" 0.0; target: "ctxpopup_arrow"; } - program { + program { name: "enable_bottom_arrow"; signal: "elm,state,bottom"; source: "elm"; @@ -1809,22 +1810,22 @@ } } /////////////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/text_style_item/extended/entry"; alias: "elm/ctxpopup/text_style_item/extended/entry/pass_event"; images { image: "copypaste_btn_normal.png" COMP; image: "copypaste_btn_press.png" COMP; } - parts { - part { + parts { + part { name: "event_blocker"; mouse_events: 1; - description { + description { state: "default" 0.0; color: 0 0 0 0; } - } + } part { name: "left_bg_padding"; scale: 1; @@ -1835,10 +1836,10 @@ max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT; align: 0 0.5; fixed: 1 1; - visible: 0; - } - } - part { + visible: 0; + } + } + part { name: "right_bg_padding"; scale: 1; mouse_events: 0; @@ -1849,30 +1850,30 @@ max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT; fixed: 1 0; align: 1.0 0.5; - } - } - part { - name: "bg"; + } + } + part { + name: "bg"; mouse_events: 0; type: IMAGE; - description { + description { state: "default" 0.0; rel1 {to:"left_bg_padding"; relative: 1 0;} - rel2 {to:"right_bg_padding"; relative: 0 1;} + rel2 {to:"right_bg_padding"; relative: 0 1;} image { normal: "copypaste_btn_normal.png"; border: 3 3 3 3; border_scale: 1; - } + } } - description { + description { state: "clicked" 0.0; inherit: "default" 0.0; image { normal: "copypaste_btn_press.png"; border: 3 3 3 3; border_scale: 1; - } + } } } part { @@ -1885,9 +1886,9 @@ max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT; align: 0 0.5; fixed: 1 1; - visible: 0; - } - } + visible: 0; + } + } part { name: "bottom_separator"; mouse_events: 0; @@ -1896,7 +1897,7 @@ description { state: "default" 0.0; visible: 0; - color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; + color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; align: 0.5 1; min: 0 1; max: 999999 1; @@ -1909,7 +1910,7 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; + color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; @@ -1920,7 +1921,7 @@ type: TEXT; mouse_events: 0; scale: 1; - description { + description { state: "default" 0.0; min: 1 CTXPOPUP_ENTRY_ITEM_HEIGHT; max: CTXPOPUP_ENTRY_ITEM_WIDTH_MAX CTXPOPUP_ENTRY_ITEM_HEIGHT; @@ -1942,7 +1943,7 @@ color: CTXPOPUP_CLICKED_FONT_COLOR; } } - part { + part { name: "right_padding"; scale: 1; mouse_events: 0; @@ -1953,22 +1954,22 @@ max: 16 CTXPOPUP_ENTRY_ITEM_HEIGHT; fixed: 1 0; align: 1.0 0.5; - } - } - part { + } + } + part { name: "over1"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; - description { + description { state: "default" 0.0; } } - part { + part { name: "over2"; mouse_events: 1; repeat_events: 1; - description { + description { state: "default" 0.0; } } @@ -1992,7 +1993,7 @@ signal: "mouse,up,1"; source: "over1"; action: SIGNAL_EMIT "elm,action,click" ""; - } + } program { name: "disable"; signal: "elm,state,disabled"; @@ -2000,7 +2001,7 @@ action: STATE_SET "disabled" 0.0; target: "disclip"; } - program { + program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; @@ -2015,7 +2016,7 @@ set_state(PART:"elm.text", "clicked", 0.0); set_state(PART:"bg", "clicked", 0.0); } - } + } } program { name: "item_unclick2"; @@ -2024,25 +2025,25 @@ script { set_state(PART:"elm.text", "default", 0.0); set_state(PART:"bg", "default", 0.0); - } + } } } /////////////////////////////////////////////////////////////////////////////// - group { + group { name: "elm/ctxpopup/icon_style_item/extended/entry";\ images { image: "copypaste_btn_normal.png" COMP; image: "copypaste_btn_press.png" COMP; - } + } parts { - part { + part { name: "event_blocker"; mouse_events: 1; - description { + description { state: "default" 0.0; color: 0 0 0 0; } - } + } part { name: "left_bg_padding"; scale: 1; @@ -2053,10 +2054,10 @@ max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT; align: 0 0.5; fixed: 1 1; - visible: 0; - } - } - part { + visible: 0; + } + } + part { name: "right_bg_padding"; scale: 1; mouse_events: 0; @@ -2067,33 +2068,33 @@ max: 3 CTXPOPUP_ENTRY_ITEM_HEIGHT; fixed: 1 0; align: 1.0 0.5; - } - } - part { - name: "bg"; + } + } + part { + name: "bg"; mouse_events: 0; type: IMAGE; - description { + description { state: "default" 0.0; rel1 {to:"left_bg_padding"; relative: 1 0;} - rel2 {to:"right_bg_padding"; relative: 0 1;} + rel2 {to:"right_bg_padding"; relative: 0 1;} image { normal: "copypaste_btn_normal.png"; border: 3 3 3 3; border_scale: 1; - } + } } - description { + description { state: "clicked" 0.0; inherit: "default" 0.0; image { normal: "copypaste_btn_press.png"; border: 3 3 3 3; border_scale: 1; - } + } } } - part { + part { name: "left_top_padding"; type: RECT; scale: 1; @@ -2103,10 +2104,10 @@ visible: 0; align: 0 0; fixed: 1 1; - color: 255 0 0 255; + color: 255 0 0 255; } } - part { + part { name: "right_bottom_padding"; type: RECT; scale: 1; @@ -2116,9 +2117,9 @@ visible: 0; align: 1 1; fixed: 1 1; - color: 0 0 255 255; + color: 0 0 255 255; } - } + } part { name: "right_separator"; mouse_events: 0; @@ -2126,52 +2127,52 @@ scale: 1; description { state: "default" 0.0; - color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; + color: CTXPOPUP_ENTRY_SEPARATOR_COLOR; align: 1 0.5; min: 1 0; max: 1 999999; } } - part { + part { name: "elm.swallow.icon"; type: SWALLOW; scale: 1; description { state: "default" 0.0; min: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE; - max: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE; - align: 0.5 0.5; + max: CTXPOPUP_ENTRY_ICON_SIZE CTXPOPUP_ENTRY_ICON_SIZE; + align: 0.5 0.5; aspect: 1.0 1.0; rel1 { to: "left_top_padding"; relative: 1 1; } - rel2 { to: "right_bottom_padding"; relative: 0 0; } + rel2 { to: "right_bottom_padding"; relative: 0 0; } } - } - part { + } + part { name: "elm.swallow.icon.paint"; type: RECT; scale: 1; description { state: "default" 0.0; visible: 0; - color: 255 255 0 255; + color: 255 255 0 255; rel1 { to: "elm.swallow.icon"; } - rel2 { to: "elm.swallow.icon"; } + rel2 { to: "elm.swallow.icon"; } } - } - part { + } + part { name: "over1"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; - description { + description { state: "default" 0.0; } } - part { + part { name: "over2"; mouse_events: 1; repeat_events: 1; - description { + description { state: "default" 0.0; } } @@ -2195,7 +2196,7 @@ signal: "mouse,up,1"; source: "over1"; action: SIGNAL_EMIT "elm,action,click" ""; - } + } program { name: "disable"; signal: "elm,state,disabled"; @@ -2203,11 +2204,11 @@ action: STATE_SET "disabled" 0.0; target: "disclip"; } - program { + program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; - action: STATE_SET "default" 0.0; + action: STATE_SET "default" 0.0; target: "disclip"; } program { @@ -2216,16 +2217,876 @@ source: "over2"; script { set_state(PART:"bg", "clicked", 0.0); - } - } + } + } program { name: "item_unclick2"; signal: "mouse,up,1"; source: "over2"; script { set_state(PART:"bg", "default", 0.0); - } + } } } } +/////////////////////////////////////////////////////////////////////////////////////// +#define CTXPOPUP_IE_HEIGHT_ 46 +#define CTXPOPUP_IE_CONTENT_WIDTH_MAX 480 +#define CTXPOPUP_IE_CONTENT_HEIGHT_MAX 600 +#define CTXPOPUP_IE_ARROW_SIZE 34 +#define CTXPOPUP_IE_ITEM_PADDING 15 +#define CTXPOPUP_IE_ITEM_HEIGHT 47 +#define CTXPOPUP_IE_ICON_WIDTH 40 +#define CTXPOPUP_IE_ICON_HEIGHT 40 +#define CTXPOPUP_IE_FONT_COLOR 255 255 255 255 +#define CTXPOPUP_IE_CLICKED_FONT_COLOR 255 255 100 255 +#define CTXPOPUP_IE_FONT_SIZE 26 +#define CTXPOPUP_IE_SEPARATOR_COLOR 120 120 120 255 +#define CTXPOPUP_IE_ITEM_DISABLED_COLOR 200 200 200 127 +#define CTXPOPUP_IE_SEPARATOR_PADDING_SIZE 6 2 +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/extended/imageeditor"; + images { + image: "imageeditor_bg.png" COMP; + } + parts { + part { + name: "ctxpopup_frame"; + type: IMAGE; + scale: 1; + description { + image { + normal: "imageeditor_bg.png"; + border: 10 10 10 10; + border_scale: 1; + } + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + } + }//part + }//parts +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/arrow/extended/imageeditor"; + images { + image: "imageeditor_left_arrow.png" COMP; + image: "imageeditor_right_arrow.png" COMP; + image: "imageeditor_top_arrow.png" COMP; + image: "imageeditor_bottom_arrow.png" COMP; + } + parts { + part { + name: "ctxpopup_arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + fixed: 1 1; + align: 0.0 0.5; + image { + normal: "imageeditor_left_arrow.png"; + } + } + description { + state: "right" 0.0; + min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + fixed: 1 1; + align: 1.0 0.5; + image { + normal: "imageeditor_right_arrow.png"; + } + } + description { + state: "top" 0.0; + min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + fixed: 1 1; + align: 0.5 0.0; + image { + normal: "imageeditor_top_arrow.png"; + } + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + max: CTXPOPUP_IE_ARROW_SIZE CTXPOPUP_IE_ARROW_SIZE; + fixed: 1 1; + align: 0.5 1.0; + image { + normal: "imageeditor_bottom_arrow.png"; + } + } + } + } + programs { + program { + name: "enable_left_arrow"; + signal: "elm,state,left"; + source: "elm"; + action: STATE_SET "left" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_right_arrow"; + signal: "elm,state,right"; + source: "elm"; + action: STATE_SET "right" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/icon_text_style_item/extended/imageeditor"; + images { + image: "imageeditor_bar_press.png" COMP; + } + + parts { + part { + name: "event_blocker"; + mouse_events: 1; + description { + state: "default" 0.0; + } + } + + part { + name: "bg"; + mouse_events: 0; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { to:"separator_left_top_padding"; relative: 1 0; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + visible: 0; + } + description { + state: "clicked" 0.0; + rel1 { to:"separator_left_top_padding"; relative: 1 0; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + image { + normal: "imageeditor_bar_press.png"; + border: 10 10 10 10; + border_scale: 1; + } + } + } + + part { + name: "icon_left_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + align: 0 0; + fixed: 1 1; + visible: 0; + } + } + part { + name: "separator_left_top_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator_right_top_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 1 0; + fixed: 1 1; + } + } + part { + name: "separator_left_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 0 1; + fixed: 1 1; + } + } + part { + name: "separator_right_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 1 1; + fixed: 1 1; + } + } + + part { + name: "bottom_separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: CTXPOPUP_IE_SEPARATOR_COLOR; + rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + } + } + part { + name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT; + max: CTXPOPUP_IE_ICON_WIDTH CTXPOPUP_IE_ICON_HEIGHT; + align: 0 0.5; + aspect: 1.0 1.0; + rel1 { to:"icon_left_padding"; relative: 1 0; } + } + } + part { + name: "icon_right_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + align: 0 0.5; + fixed: 1 1; + visible: 0; + rel1 { to:"elm.swallow.icon"; relative: 1 1; } + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_IE_ITEM_HEIGHT; + max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-(3*CTXPOPUP_IE_ITEM_PADDING)-CTXPOPUP_IE_ICON_WIDTH) CTXPOPUP_IE_ITEM_HEIGHT; + fixed: 0 1; + align: 0.5 0.5; + rel1 {relative: 1.0 0.0; to_x: "icon_right_padding";} + rel2 {relative: 0.0 1.0; to_x: "text_right_padding";} + color: CTXPOPUP_IE_FONT_COLOR; + text { + font: FONT_ROM; + size: CTXPOPUP_IE_FONT_SIZE; + align: 0.0 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color: CTXPOPUP_IE_CLICKED_FONT_COLOR; + } + } + part { + name: "text_right_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + fixed: 1 0; + align: 1.0 0.5; + } + } + part { + name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + } + } + part { + name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_IE_ITEM_DISABLED_COLOR; + } + } + } + programs { + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + program { + name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} +/////////////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/extended/imageeditor"; + images { + image: "imageeditor_bar_press.png" COMP; + } + + parts { + part { + name: "separator_left_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: 2 2; + max: 2 2; + align: 0 1; + fixed: 1 1; + } + } + part { + name: "bg"; + mouse_events: 0; + type: IMAGE; + description { + state: "default" 0.0; + rel1 { to:"separator_left_top_padding"; relative: 1 0; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + visible: 0; + } + description { + state: "clicked" 0.0; + rel1 { to:"separator_left_top_padding"; relative: 1 0; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + image { + normal: "imageeditor_bar_press.png"; + border: 10 10 10 10; + border_scale: 1; + } + } + } + part { + name: "separator_left_top_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 0 0; + fixed: 1 1; + } + } + part { + name: "separator_right_top_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 1 0; + fixed: 1 1; + } + } + part { + name: "separator_left_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 0 1; + fixed: 1 1; + } + } + part { + name: "separator_right_bottom_padding"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 0; + min: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + max: CTXPOPUP_IE_SEPARATOR_PADDING_SIZE; + align: 1 1; + fixed: 1 1; + } + } + + part { + name: "bottom_separator"; + mouse_events: 0; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: CTXPOPUP_IE_SEPARATOR_COLOR; + rel1 { to:"separator_left_bottom_padding"; relative: 1 0.5; } + rel2 { to:"separator_right_bottom_padding"; relative: 0 1; } + } + } + part { + name: "left_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + max: CTXPOPUP_IE_ITEM_PADDING CTXPOPUP_IE_ITEM_HEIGHT; + align: 0 0.5; + fixed: 1 1; + visible: 0; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_IE_HEIGHT_; + max: (CTXPOPUP_IE_CONTENT_WIDTH_MAX-2*CTXPOPUP_IE_ITEM_PADDING) CTXPOPUP_IE_HEIGHT_; + fixed: 0 1; + align: 0.5 0.5; + rel1 {relative: 1.0 0.0; to: "left_padding";} + rel2 {relative: 0.0 1.0; to: "right_padding";} + color: CTXPOPUP_IE_FONT_COLOR; + text { + font: FONT_ROM; + size: CTXPOPUP_IE_FONT_SIZE; + align: 0.5 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color: CTXPOPUP_IE_CLICKED_FONT_COLOR; + } + } + part { + name: "right_padding"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + visible: 0; + min: 30 CTXPOPUP_IE_ITEM_HEIGHT; + max: 30 CTXPOPUP_IE_ITEM_HEIGHT; + fixed: 1 0; + align: 1.0 0.5; + } + } + part { + name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + } + } + part { + name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + } + } + part { + name: "disclip"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + } + description { + state: "disabled" 0.0; + visible: 1; + color: CTXPOPUP_IE_ITEM_DISABLED_COLOR; + } + } + + } + + programs { + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "disable"; + signal: "elm,state,disabled"; + source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "disclip"; + } + program { + name: "enable"; + signal: "elm,state,enabled"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "disclip"; + } + + program { + name: "item_click2"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} + +/////////////////////////////////////////////////////////////////////////////////////// +#define CTXPOPUP_TP_CONTENT_MAX 480 +#define CTXPOPUP_TP_TEXT_WIDTH 32 +#define CTXPOPUP_TP_ARROW_SIZE 20 +#define CTXPOPUP_TP_PADDING 15 +#define CTXPOPUP_TP_HEIGHT 66 +#define CTXPOPUP_TP_BG_COLOR 221 134 21 255 +#define CTXPOPUP_TP_FONT_COLOR 231 173 95 255 +#define CTXPOPUP_TP_CLICKED_FONT_COLOR 255 255 255 255 +#define CTXPOPUP_TP_FONT_SIZE 24 +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/base/extended/timepicker"; + parts { + part { + name: "ctxpopup_frame"; + type: RECT; + scale: 1; + description { + color: CTXPOPUP_TP_BG_COLOR; + min: 1 CTXPOPUP_TP_HEIGHT; + max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT; + } + } + part { + name: "elm.swallow.content"; + type: SWALLOW; + description { + state: "default" 0.0; + min: 1 CTXPOPUP_TP_HEIGHT; + max: CTXPOPUP_TP_CONTENT_MAX CTXPOPUP_TP_HEIGHT; + align: 0 0; + rel1 { to: "ctxpopup_frame"; } + } + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { name: "elm/ctxpopup/arrow/extended/timepicker"; + images { + image: "timepicker_left_arrow.png" COMP; + image: "timepicker_right_arrow.png" COMP; + image: "timepicker_top_arrow.png" COMP; + image: "timepicker_bottom_arrow.png" COMP; + } + parts { + part { + name: "ctxpopup_arrow"; + type: IMAGE; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + fixed: 1 1; + visible: 0; + align: 0.5 0.5; + } + description { + state: "left" 0.0; + min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + fixed: 1 1; + align: 0.0 0.5; + image { + normal: "timepicker_left_arrow.png"; + } + } + description { + state: "right" 0.0; + min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + fixed: 1 1; + align: 1.0 0.5; + image { + normal: "timepicker_right_arrow.png"; + } + } + description { + state: "top" 0.0; + min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + fixed: 1 1; + align: 0.5 0.0; + image { + normal: "timepicker_top_arrow.png"; + } + } + description { + state: "bottom" 0.0; + min: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + max: CTXPOPUP_TP_ARROW_SIZE CTXPOPUP_TP_ARROW_SIZE; + fixed: 1 1; + align: 0.5 1.0; + image { + normal: "timepicker_bottom_arrow.png"; + } + } + } + } + programs { + program { + name: "enable_left_arrow"; + signal: "elm,state,left"; + source: "elm"; + action: STATE_SET "left" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_right_arrow"; + signal: "elm,state,right"; + source: "elm"; + action: STATE_SET "right" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_top_arrow"; + signal: "elm,state,top"; + source: "elm"; + action: STATE_SET "top" 0.0; + target: "ctxpopup_arrow"; + } + program { + name: "enable_bottom_arrow"; + signal: "elm,state,bottom"; + source: "elm"; + action: STATE_SET "bottom" 0.0; + target: "ctxpopup_arrow"; + } + } +} +/////////////////////////////////////////////////////////////////////////////// +group { + name: "elm/ctxpopup/text_style_item/extended/timepicker"; + parts { + part { + name: "left_padding"; + type: RECT; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT; + max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT; + align: 0 0.5; + fixed: 1 1; + visible: 0; + } + } + part { + name: "elm.text"; + type: TEXT; + mouse_events: 0; + scale: 1; + description { + state: "default" 0.0; + min: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT; + max: CTXPOPUP_TP_TEXT_WIDTH CTXPOPUP_TP_HEIGHT; + fixed: 1 1; + align: 0 0; + rel1 {relative: 1.0 0.0; to: "left_padding";} + color: CTXPOPUP_TP_FONT_COLOR; + text { + font: FONT_ROM; + size: CTXPOPUP_TP_FONT_SIZE; + align: 0.5 0.5; + min: 1 1; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } + } + part { + name: "right_padding"; + scale: 1; + mouse_events: 0; + description { + state: "default" 0.0; + min: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT; + max: CTXPOPUP_TP_PADDING CTXPOPUP_TP_HEIGHT; + align: 0 0; + rel1 {relative: 1.0 0.0; to: "elm.text";} + visible: 0; + } + } + part { + name: "over1"; + mouse_events: 1; + repeat_events: 1; + ignore_flags: ON_HOLD; + description { + state: "default" 0.0; + } + } + part { + name: "over2"; + mouse_events: 1; + repeat_events: 1; + description { + state: "default" 0.0; + } + } + } + + programs { + program { + name: "item_unclick"; + signal: "mouse,up,1"; + source: "over1"; + action: SIGNAL_EMIT "elm,action,click" ""; + } + program { + name: "item_click"; + signal: "mouse,down,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "clicked", 0.0); + } + } + program { + name: "item_unclick2"; + signal: "mouse,up,1"; + source: "over2"; + script { + set_state(PART:"elm.text", "default", 0.0); + } + } + } +} diff --git a/themes/images/nbeat-black/imageeditor_bar_press.png b/themes/images/nbeat-black/imageeditor_bar_press.png new file mode 100644 index 0000000..add7d96 Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_bar_press.png differ diff --git a/themes/images/nbeat-black/imageeditor_bg.png b/themes/images/nbeat-black/imageeditor_bg.png new file mode 100644 index 0000000..f8a9704 Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_bg.png differ diff --git a/themes/images/nbeat-black/imageeditor_bottom_arrow.png b/themes/images/nbeat-black/imageeditor_bottom_arrow.png new file mode 100644 index 0000000..cdbe2de Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_bottom_arrow.png differ diff --git a/themes/images/nbeat-black/imageeditor_left_arrow.png b/themes/images/nbeat-black/imageeditor_left_arrow.png new file mode 100644 index 0000000..c495228 Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_left_arrow.png differ diff --git a/themes/images/nbeat-black/imageeditor_right_arrow.png b/themes/images/nbeat-black/imageeditor_right_arrow.png new file mode 100644 index 0000000..b088213 Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_right_arrow.png differ diff --git a/themes/images/nbeat-black/imageeditor_top_arrow.png b/themes/images/nbeat-black/imageeditor_top_arrow.png new file mode 100644 index 0000000..f7016a3 Binary files /dev/null and b/themes/images/nbeat-black/imageeditor_top_arrow.png differ diff --git a/themes/images/nbeat-black/timepicker_bottom_arrow.png b/themes/images/nbeat-black/timepicker_bottom_arrow.png new file mode 100644 index 0000000..891dd39 Binary files /dev/null and b/themes/images/nbeat-black/timepicker_bottom_arrow.png differ diff --git a/themes/images/nbeat-black/timepicker_left_arrow.png b/themes/images/nbeat-black/timepicker_left_arrow.png new file mode 100644 index 0000000..196b9ff Binary files /dev/null and b/themes/images/nbeat-black/timepicker_left_arrow.png differ diff --git a/themes/images/nbeat-black/timepicker_right_arrow.png b/themes/images/nbeat-black/timepicker_right_arrow.png new file mode 100644 index 0000000..057b852 Binary files /dev/null and b/themes/images/nbeat-black/timepicker_right_arrow.png differ diff --git a/themes/images/nbeat-black/timepicker_top_arrow.png b/themes/images/nbeat-black/timepicker_top_arrow.png new file mode 100644 index 0000000..e128441 Binary files /dev/null and b/themes/images/nbeat-black/timepicker_top_arrow.png differ diff --git a/themes/images/nbeat-blue/imageeditor_bar_press.png b/themes/images/nbeat-blue/imageeditor_bar_press.png new file mode 100644 index 0000000..add7d96 Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_bar_press.png differ diff --git a/themes/images/nbeat-blue/imageeditor_bg.png b/themes/images/nbeat-blue/imageeditor_bg.png new file mode 100644 index 0000000..f8a9704 Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_bg.png differ diff --git a/themes/images/nbeat-blue/imageeditor_bottom_arrow.png b/themes/images/nbeat-blue/imageeditor_bottom_arrow.png new file mode 100644 index 0000000..cdbe2de Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_bottom_arrow.png differ diff --git a/themes/images/nbeat-blue/imageeditor_left_arrow.png b/themes/images/nbeat-blue/imageeditor_left_arrow.png new file mode 100644 index 0000000..c495228 Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_left_arrow.png differ diff --git a/themes/images/nbeat-blue/imageeditor_right_arrow.png b/themes/images/nbeat-blue/imageeditor_right_arrow.png new file mode 100644 index 0000000..b088213 Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_right_arrow.png differ diff --git a/themes/images/nbeat-blue/imageeditor_top_arrow.png b/themes/images/nbeat-blue/imageeditor_top_arrow.png new file mode 100644 index 0000000..f7016a3 Binary files /dev/null and b/themes/images/nbeat-blue/imageeditor_top_arrow.png differ diff --git a/themes/images/nbeat-blue/timepicker_bottom_arrow.png b/themes/images/nbeat-blue/timepicker_bottom_arrow.png new file mode 100644 index 0000000..891dd39 Binary files /dev/null and b/themes/images/nbeat-blue/timepicker_bottom_arrow.png differ diff --git a/themes/images/nbeat-blue/timepicker_left_arrow.png b/themes/images/nbeat-blue/timepicker_left_arrow.png new file mode 100644 index 0000000..196b9ff Binary files /dev/null and b/themes/images/nbeat-blue/timepicker_left_arrow.png differ diff --git a/themes/images/nbeat-blue/timepicker_right_arrow.png b/themes/images/nbeat-blue/timepicker_right_arrow.png new file mode 100644 index 0000000..057b852 Binary files /dev/null and b/themes/images/nbeat-blue/timepicker_right_arrow.png differ diff --git a/themes/images/nbeat-blue/timepicker_top_arrow.png b/themes/images/nbeat-blue/timepicker_top_arrow.png new file mode 100644 index 0000000..e128441 Binary files /dev/null and b/themes/images/nbeat-blue/timepicker_top_arrow.png differ diff --git a/themes/images/nbeat-green/imageeditor_bar_press.png b/themes/images/nbeat-green/imageeditor_bar_press.png new file mode 100644 index 0000000..add7d96 Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_bar_press.png differ diff --git a/themes/images/nbeat-green/imageeditor_bg.png b/themes/images/nbeat-green/imageeditor_bg.png new file mode 100644 index 0000000..f8a9704 Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_bg.png differ diff --git a/themes/images/nbeat-green/imageeditor_bottom_arrow.png b/themes/images/nbeat-green/imageeditor_bottom_arrow.png new file mode 100644 index 0000000..cdbe2de Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_bottom_arrow.png differ diff --git a/themes/images/nbeat-green/imageeditor_left_arrow.png b/themes/images/nbeat-green/imageeditor_left_arrow.png new file mode 100644 index 0000000..c495228 Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_left_arrow.png differ diff --git a/themes/images/nbeat-green/imageeditor_right_arrow.png b/themes/images/nbeat-green/imageeditor_right_arrow.png new file mode 100644 index 0000000..b088213 Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_right_arrow.png differ diff --git a/themes/images/nbeat-green/imageeditor_top_arrow.png b/themes/images/nbeat-green/imageeditor_top_arrow.png new file mode 100644 index 0000000..f7016a3 Binary files /dev/null and b/themes/images/nbeat-green/imageeditor_top_arrow.png differ diff --git a/themes/images/nbeat-green/timepicker_bottom_arrow.png b/themes/images/nbeat-green/timepicker_bottom_arrow.png new file mode 100644 index 0000000..891dd39 Binary files /dev/null and b/themes/images/nbeat-green/timepicker_bottom_arrow.png differ diff --git a/themes/images/nbeat-green/timepicker_left_arrow.png b/themes/images/nbeat-green/timepicker_left_arrow.png new file mode 100644 index 0000000..196b9ff Binary files /dev/null and b/themes/images/nbeat-green/timepicker_left_arrow.png differ diff --git a/themes/images/nbeat-green/timepicker_right_arrow.png b/themes/images/nbeat-green/timepicker_right_arrow.png new file mode 100644 index 0000000..057b852 Binary files /dev/null and b/themes/images/nbeat-green/timepicker_right_arrow.png differ diff --git a/themes/images/nbeat-green/timepicker_top_arrow.png b/themes/images/nbeat-green/timepicker_top_arrow.png new file mode 100644 index 0000000..e128441 Binary files /dev/null and b/themes/images/nbeat-green/timepicker_top_arrow.png differ diff --git a/themes/images/nbeat-purple/imageeditor_bar_press.png b/themes/images/nbeat-purple/imageeditor_bar_press.png new file mode 100644 index 0000000..add7d96 Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_bar_press.png differ diff --git a/themes/images/nbeat-purple/imageeditor_bg.png b/themes/images/nbeat-purple/imageeditor_bg.png new file mode 100644 index 0000000..f8a9704 Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_bg.png differ diff --git a/themes/images/nbeat-purple/imageeditor_bottom_arrow.png b/themes/images/nbeat-purple/imageeditor_bottom_arrow.png new file mode 100644 index 0000000..cdbe2de Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_bottom_arrow.png differ diff --git a/themes/images/nbeat-purple/imageeditor_left_arrow.png b/themes/images/nbeat-purple/imageeditor_left_arrow.png new file mode 100644 index 0000000..c495228 Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_left_arrow.png differ diff --git a/themes/images/nbeat-purple/imageeditor_right_arrow.png b/themes/images/nbeat-purple/imageeditor_right_arrow.png new file mode 100644 index 0000000..b088213 Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_right_arrow.png differ diff --git a/themes/images/nbeat-purple/imageeditor_top_arrow.png b/themes/images/nbeat-purple/imageeditor_top_arrow.png new file mode 100644 index 0000000..f7016a3 Binary files /dev/null and b/themes/images/nbeat-purple/imageeditor_top_arrow.png differ diff --git a/themes/images/nbeat-purple/timepicker_bottom_arrow.png b/themes/images/nbeat-purple/timepicker_bottom_arrow.png new file mode 100644 index 0000000..891dd39 Binary files /dev/null and b/themes/images/nbeat-purple/timepicker_bottom_arrow.png differ diff --git a/themes/images/nbeat-purple/timepicker_left_arrow.png b/themes/images/nbeat-purple/timepicker_left_arrow.png new file mode 100644 index 0000000..196b9ff Binary files /dev/null and b/themes/images/nbeat-purple/timepicker_left_arrow.png differ diff --git a/themes/images/nbeat-purple/timepicker_right_arrow.png b/themes/images/nbeat-purple/timepicker_right_arrow.png new file mode 100644 index 0000000..057b852 Binary files /dev/null and b/themes/images/nbeat-purple/timepicker_right_arrow.png differ diff --git a/themes/images/nbeat-purple/timepicker_top_arrow.png b/themes/images/nbeat-purple/timepicker_top_arrow.png new file mode 100644 index 0000000..e128441 Binary files /dev/null and b/themes/images/nbeat-purple/timepicker_top_arrow.png differ diff --git a/themes/images/nbeat/imageeditor_bar_press.png b/themes/images/nbeat/imageeditor_bar_press.png new file mode 100644 index 0000000..add7d96 Binary files /dev/null and b/themes/images/nbeat/imageeditor_bar_press.png differ diff --git a/themes/images/nbeat/imageeditor_bg.png b/themes/images/nbeat/imageeditor_bg.png new file mode 100644 index 0000000..f8a9704 Binary files /dev/null and b/themes/images/nbeat/imageeditor_bg.png differ diff --git a/themes/images/nbeat/imageeditor_bottom_arrow.png b/themes/images/nbeat/imageeditor_bottom_arrow.png new file mode 100644 index 0000000..cdbe2de Binary files /dev/null and b/themes/images/nbeat/imageeditor_bottom_arrow.png differ diff --git a/themes/images/nbeat/imageeditor_left_arrow.png b/themes/images/nbeat/imageeditor_left_arrow.png new file mode 100644 index 0000000..c495228 Binary files /dev/null and b/themes/images/nbeat/imageeditor_left_arrow.png differ diff --git a/themes/images/nbeat/imageeditor_right_arrow.png b/themes/images/nbeat/imageeditor_right_arrow.png new file mode 100644 index 0000000..b088213 Binary files /dev/null and b/themes/images/nbeat/imageeditor_right_arrow.png differ diff --git a/themes/images/nbeat/imageeditor_top_arrow.png b/themes/images/nbeat/imageeditor_top_arrow.png new file mode 100644 index 0000000..f7016a3 Binary files /dev/null and b/themes/images/nbeat/imageeditor_top_arrow.png differ diff --git a/themes/images/nbeat/timepicker_bottom_arrow.png b/themes/images/nbeat/timepicker_bottom_arrow.png new file mode 100644 index 0000000..891dd39 Binary files /dev/null and b/themes/images/nbeat/timepicker_bottom_arrow.png differ diff --git a/themes/images/nbeat/timepicker_left_arrow.png b/themes/images/nbeat/timepicker_left_arrow.png new file mode 100644 index 0000000..196b9ff Binary files /dev/null and b/themes/images/nbeat/timepicker_left_arrow.png differ diff --git a/themes/images/nbeat/timepicker_right_arrow.png b/themes/images/nbeat/timepicker_right_arrow.png new file mode 100644 index 0000000..057b852 Binary files /dev/null and b/themes/images/nbeat/timepicker_right_arrow.png differ diff --git a/themes/images/nbeat/timepicker_top_arrow.png b/themes/images/nbeat/timepicker_top_arrow.png new file mode 100644 index 0000000..e128441 Binary files /dev/null and b/themes/images/nbeat/timepicker_top_arrow.png differ