collections { /////////////////////////////////////////////////////////////////////////////// group { name: "elm/bg/base/default"; images { image: "dia_grad.png" COMP; image: "dia_topshad.png" COMP; image: "dia_botshad.png" COMP; } parts { part { name: "base"; mouse_events: 0; description { state: "default" 0.0; image.normal: "dia_grad.png"; fill { smooth: 0; size { relative: 0.0 1.0; offset: 64 0; } } } } part { name: "elm.swallow.background"; type: SWALLOW; description { state: "default" 0.0; } } part { name: "shadow"; mouse_events: 0; description { state: "default" 0.0; rel2.relative: 1.0 0.0; rel2.offset: -1 31; image.normal: "dia_topshad.png"; fill { smooth: 0; size { relative: 0.0 1.0; offset: 64 0; } } } } part { name: "shadow2"; mouse_events: 0; description { state: "default" 0.0; rel1.relative: 0.0 1.0; rel1.offset: 0 -4; image.normal: "dia_botshad.png"; fill { smooth: 0; size { relative: 0.0 1.0; offset: 64 0; } } } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/scroller/base/default"; script { public sbvis_v, sbvis_h, sbvis_timer; public timer0(val) { new v; v = get_int(sbvis_v); if (v) { emit("do-hide-vbar", ""); set_int(sbvis_v, 0); } v = get_int(sbvis_h); if (v) { emit("do-hide-hbar", ""); set_int(sbvis_h, 0); } set_int(sbvis_timer, 0); return 0; } } images { image: "shelf_inset.png" COMP; image: "bt_sm_base2.png" COMP; image: "bt_sm_shine.png" COMP; image: "bt_sm_hilight.png" COMP; image: "sb_runnerh.png" COMP; image: "sb_runnerv.png" COMP; } parts { part { name: "bg"; type: RECT; description { state: "default" 0.0; rel1.offset: 1 1; rel2.offset: -2 -2; color: 255 255 255 0; } } part { name: "clipper"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1.to: "bg"; rel2.to: "bg"; } } part { name: "elm.swallow.content"; clip_to: "clipper"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 1 1; rel2.offset: -2 -2; } } part { name: "conf_over"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: 0 0; rel2.offset: -1 -1; image { normal: "shelf_inset.png"; border: 7 7 7 7; middle: 0; } fill.smooth : 0; } } part { name: "sb_vbar_clip"; 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"; type: RECT; mouse_events: 0; description { state: "default" 0.0; fixed: 1 1; visible: 0; min: 17 17; align: 1.0 0.0; rel1 { relative: 1.0 0.0; offset: -2 0; } rel2 { relative: 1.0 0.0; offset: -2 -1; to_y: "sb_hbar"; } } } part { name: "sb_vbar_runner"; clip_to: "sb_vbar_clip"; mouse_events: 0; description { state: "default" 0.0; min: 3 3; max: 3 99999; rel1.to: "sb_vbar"; rel2.to: "sb_vbar"; image { normal: "sb_runnerv.png"; border: 0 0 4 4; } fill.smooth: 0; } } part { name: "elm.dragable.vbar"; clip_to: "sb_vbar_clip"; mouse_events: 0; dragable { x: 0 0 0; y: 1 1 0; confine: "sb_vbar"; } description { state: "default" 0.0; fixed: 1 1; min: 17 17; rel1 { relative: 0.5 0.5; offset: 0 0; to: "sb_vbar"; } rel2 { relative: 0.5 0.5; offset: 0 0; to: "sb_vbar"; } image { normal: "bt_sm_base2.png"; border: 6 6 6 6; } } } part { name: "sb_vbar_over1"; clip_to: "sb_vbar_clip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "elm.dragable.vbar"; rel2.relative: 1.0 0.5; rel2.to: "elm.dragable.vbar"; image { normal: "bt_sm_hilight.png"; border: 6 6 6 0; } } } part { name: "sb_vbar_over2"; clip_to: "sb_vbar_clip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "elm.dragable.vbar"; rel2.to: "elm.dragable.vbar"; image { normal: "bt_sm_shine.png"; border: 6 6 6 0; } } } part { name: "sb_hbar_clip"; 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"; type: RECT; mouse_events: 0; description { state: "default" 0.0; fixed: 1 1; visible: 0; min: 17 17; align: 0.0 1.0; rel1 { relative: 0.0 1.0; offset: 0 -2; } rel2 { relative: 0.0 1.0; offset: -1 -2; to_x: "sb_vbar"; } } } part { name: "sb_hbar_runner"; clip_to: "sb_hbar_clip"; mouse_events: 0; description { state: "default" 0.0; min: 3 3; max: 99999 3; rel1.to: "sb_hbar"; rel2.to: "sb_hbar"; image { normal: "sb_runnerh.png"; border: 4 4 0 0; } fill.smooth: 0; } } part { name: "elm.dragable.hbar"; clip_to: "sb_hbar_clip"; mouse_events: 0; dragable { x: 1 1 0; y: 0 0 0; confine: "sb_hbar"; } description { state: "default" 0.0; fixed: 1 1; min: 17 17; rel1 { relative: 0.5 0.5; offset: 0 0; to: "sb_hbar"; } rel2 { relative: 0.5 0.5; offset: 0 0; to: "sb_hbar"; } image { normal: "bt_sm_base2.png"; border: 6 6 6 6; } } } part { name: "sb_hbar_over1"; clip_to: "sb_hbar_clip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "elm.dragable.hbar"; rel2.relative: 1.0 0.5; rel2.to: "elm.dragable.hbar"; image { normal: "bt_sm_hilight.png"; border: 6 6 6 0; } } } part { name: "sb_hbar_over2"; clip_to: "sb_hbar_clip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "elm.dragable.hbar"; rel2.to: "elm.dragable.hbar"; image { normal: "bt_sm_shine.png"; border: 6 6 6 0; } } } } programs { program { name: "load"; signal: "load"; source: ""; script { set_state(PART:"sb_hbar_clip", "hidden", 0.0); set_state(PART:"sb_vbar_clip", "hidden", 0.0); set_int(sbvis_h, 0); set_int(sbvis_v, 0); set_int(sbvis_timer, 0); } } /* program { name: "vbar_show"; signal: "elm,action,show,vbar"; source: "elm"; } program { name: "vbar_hide"; signal: "elm,action,hide,vbar"; source: "elm"; } program { name: "hbar_show"; signal: "elm,action,show,hbar"; source: "elm"; } program { name: "hbar_hide"; signal: "elm,action,hide,hbar"; source: "elm"; } */ program { name: "sb_vbar_show"; signal: "do-show-vbar"; source: ""; action: STATE_SET "default" 0.0; transition: LINEAR 1.0; target: "sb_vbar_clip"; } program { name: "sb_vbar_hide"; signal: "do-hide-vbar"; source: ""; action: STATE_SET "hidden" 0.0; transition: LINEAR 1.0; target: "sb_vbar_clip"; } program { name: "sb_hbar_show"; signal: "do-show-hbar"; source: ""; action: STATE_SET "default" 0.0; transition: LINEAR 1.0; target: "sb_hbar_clip"; } 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 { name: "scroll"; signal: "elm,action,scroll"; source: "elm"; action: STATE_SET "default" 0.0; script { new v; v = get_int(sbvis_v); if (!v) { emit("do-show-vbar", ""); set_int(sbvis_v, 1); } v = get_int(sbvis_h); if (!v) { emit("do-show-hbar", ""); set_int(sbvis_h, 1); } v = get_int(sbvis_timer); if (v > 0) cancel_timer(v); v = timer(2.0, "timer0", 0); set_int(sbvis_timer, v); } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/label/base/default"; styles { style { name: "textblock_style"; base: "font=Sans font_size=10 align=left color=#000 wrap=word"; tag: "br" "\n"; tag: "hilight" "+ font=Sans:style=Bold"; tag: "b" "+ font=Sans:style=Bold"; tag: "tab" "\t"; } } parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 0; scale: 1; description { state: "default" 0.0; text { style: "textblock_style"; min: 1 1; } } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/button/base/default"; images { image: "bt_base1.png" COMP; image: "bt_base2.png" COMP; image: "bt_hilight.png" COMP; image: "bt_shine.png" COMP; image: "bt_glow.png" COMP; } parts { part { name: "button_image"; mouse_events: 1; description { state: "default" 0.0; image { normal: "bt_base2.png"; border: 7 7 7 7; } } description { state: "clicked" 0.0; inherit: "default" 0.0; image.normal: "bt_base1.png"; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; visible: 0; align: 0.0 0.5; rel1.offset: 4 4; rel2.offset: 3 -5; rel2.relative: 0.0 1.0; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel2.offset: 4 -5; } description { state: "icononly" 0.0; inherit: "default" 0.0; visible: 1; align: 0.5 0.5; aspect: 1.0 1.0; rel2.offset: -5 -5; rel2.relative: 1.0 1.0; aspect_preference: VERTICAL; } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; rel1.to_x: "elm.swallow.content"; rel1.relative: 1.0 0.0; rel1.offset: 0 4; rel2.offset: -5 -5; color: 224 224 224 255; color3: 0 0 0 64; text { font: "Sans,Edje-Vera"; size: 10; min: 0 0; align: 0.5 0.5; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; text.min: 1 1; } } part { name: "over1"; mouse_events: 0; description { state: "default" 0.0; rel2.relative: 1.0 0.5; image { normal: "bt_hilight.png"; border: 7 7 7 0; } } } part { name: "over2"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; image { normal: "bt_shine.png"; border: 7 7 7 7; } } } part { name: "over3"; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; color: 255 255 255 0; image { normal: "bt_glow.png"; border: 12 12 12 12; middle: 0; } } description { state: "clicked" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } } programs { program { name: "button_click"; signal: "mouse,down,1"; source: "over2"; action: STATE_SET "clicked" 0.0; target: "button_image"; } program { name: "button_unclick"; signal: "mouse,up,1"; source: "over2"; action: STATE_SET "default" 0.0; target: "button_image"; } program { name: "button_click2"; signal: "mouse,down,1"; source: "over3"; action: STATE_SET "clicked" 0.0; target: "over3"; } program { name: "button_unclick2"; signal: "mouse,up,1"; source: "over3"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "over3"; } program { name: "button_unclick3"; signal: "mouse,up,1"; source: "over2"; action: SIGNAL_EMIT "elm,action,click" ""; } program { name: "text_show"; signal: "elm,state,text,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "icononly")) set_state(PART:"elm.swallow.content", "visible", 0.0); set_state(PART:"elm.text", "visible", 0.0); } } program { name: "text_hide"; signal: "elm,state,text,hidden"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "icononly", 0.0); set_state(PART:"elm.text", "default", 0.0); } } program { name: "icon_show"; signal: "elm,state,icon,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.text", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "visible", 0.0); else set_state(PART:"elm.swallow.content", "icononly", 0.0); } } program { name: "icon_hide"; signal: "elm,state,icon,hidden"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.content"; } } } group { name: "elm/button/base/hoversel_vertical"; images { image: "bt_base1.png" COMP; image: "bt_base2.png" COMP; image: "bt_hilight.png" COMP; image: "bt_shine.png" COMP; image: "bt_glow.png" COMP; image: "updown.png" COMP; } parts { part { name: "button_image"; mouse_events: 1; description { state: "default" 0.0; image { normal: "bt_base2.png"; border: 7 7 7 7; } } description { state: "clicked" 0.0; inherit: "default" 0.0; image.normal: "bt_base1.png"; } } part { name: "arrow"; mouse_events: 0; description { state: "default" 0.0; image.normal: "updown.png"; aspect: 0.6666666666 0.6666666666; aspect_preference: VERTICAL; rel1.offset: 6 7; rel2.offset: 6 -7; rel2.relative: 0.0 1.0; align: 0.0 0.5; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; visible: 0; align: 0.0 0.5; rel1 { to_x: "arrow"; offset: 2 4; relative: 1.0 0.0; } rel2 { to_x: "arrow"; offset: 1 -5; relative: 1.0 1.0; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel2.offset: 2 -5; } description { state: "icononly" 0.0; inherit: "default" 0.0; visible: 1; align: 0.5 0.5; aspect: 1.0 1.0; rel1 { to_x: "button_image"; offset: -5 -5; relative: 1.0 1.0; } aspect_preference: VERTICAL; } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; rel1.to_x: "elm.swallow.content"; rel1.relative: 1.0 0.0; rel1.offset: 0 4; rel2.offset: -5 -5; color: 224 224 224 255; color3: 0 0 0 64; text { font: "Sans,Edje-Vera"; size: 10; min: 0 0; align: 0.5 0.5; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; text.min: 1 1; } } part { name: "over1"; mouse_events: 0; description { state: "default" 0.0; rel2.relative: 1.0 0.5; image { normal: "bt_hilight.png"; border: 7 7 7 0; } } } part { name: "over2"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; image { normal: "bt_shine.png"; border: 7 7 7 7; } } } part { name: "over3"; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; color: 255 255 255 0; image { normal: "bt_glow.png"; border: 12 12 12 12; middle: 0; } } description { state: "clicked" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } } programs { program { name: "button_click"; signal: "mouse,down,1"; source: "over2"; action: STATE_SET "clicked" 0.0; target: "button_image"; } program { name: "button_unclick"; signal: "mouse,up,1"; source: "over2"; action: STATE_SET "default" 0.0; target: "button_image"; } program { name: "button_click2"; signal: "mouse,down,1"; source: "over3"; action: STATE_SET "clicked" 0.0; target: "over3"; } program { name: "button_unclick2"; signal: "mouse,up,1"; source: "over3"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "over3"; } program { name: "button_unclick3"; signal: "mouse,up,1"; source: "over2"; action: SIGNAL_EMIT "elm,action,click" ""; } program { name: "text_show"; signal: "elm,state,text,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "icononly")) set_state(PART:"elm.swallow.content", "visible", 0.0); set_state(PART:"elm.text", "visible", 0.0); } } program { name: "text_hide"; signal: "elm,state,text,hidden"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "icononly", 0.0); set_state(PART:"elm.text", "default", 0.0); } } program { name: "icon_show"; signal: "elm,state,icon,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.text", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "visible", 0.0); else set_state(PART:"elm.swallow.content", "icononly", 0.0); } } program { name: "icon_hide"; signal: "elm,state,icon,hidden"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.content"; } } } group { name: "elm/button/base/hoversel_vertical_entry"; images { image: "hoversel_entry_bg.png" COMP; } parts { part { name: "button_image"; mouse_events: 1; description { state: "default" 0.0; color: 255 255 255 0; image.normal: "hoversel_entry_bg.png"; image.border: 0 0 2 2; fill.smooth: 0; } description { state: "clicked" 0.0; inherit: "default" 0.0; color: 255 255 255 255; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; visible: 0; align: 0.0 0.5; rel1.offset: 4 4; rel2.offset: 3 -5; rel2.relative: 0.0 1.0; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel2.offset: 4 -5; } description { state: "icononly" 0.0; inherit: "default" 0.0; visible: 1; align: 0.5 0.5; aspect: 1.0 1.0; rel2.offset: -5 -5; rel2.relative: 1.0 1.0; aspect_preference: VERTICAL; } } part { name: "textvis"; type: RECT; mouse_events: 0; description { state: "default" 0.0; visible: 0; } description { state: "visible" 0.0; visible: 1; } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; clip_to: "textvis"; description { state: "default" 0.0; rel1.to_x: "elm.swallow.content"; rel1.relative: 1.0 0.0; rel1.offset: 0 4; rel2.offset: -5 -5; color: 224 224 224 255; color3: 0 0 0 64; text { font: "Sans,Edje-Vera"; size: 10; min: 0 0; align: 0.5 0.5; } } description { state: "visible" 0.0; inherit: "default" 0.0; text.min: 1 1; } description { state: "clicked" 0.0; inherit: "default" 0.0; text.min: 1 1; color: 0 0 0 255; color3: 0 0 0 0; } } part { name: "over2"; type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 0 0 0 0; } } } programs { program { name: "button_click"; signal: "mouse,down,1"; source: "over2"; action: STATE_SET "clicked" 0.0; target: "button_image"; target: "elm.text"; } program { name: "button_unclick"; signal: "mouse,up,1"; source: "over2"; action: STATE_SET "default" 0.0; target: "button_image"; target: "elm.text"; } program { name: "button_unclick3"; signal: "mouse,up,1"; source: "over2"; action: SIGNAL_EMIT "elm,action,click" ""; } program { name: "text_show"; signal: "elm,state,text,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "icononly")) set_state(PART:"elm.swallow.content", "visible", 0.0); set_state(PART:"textvis", "visible", 0.0); set_state(PART:"elm.text", "visible", 0.0); } } program { name: "text_hide"; signal: "elm,state,text,hidden"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"elm.swallow.content", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "icononly", 0.0); set_state(PART:"textvis", "default", 0.0); set_state(PART:"elm.text", "default", 0.0); } } program { name: "icon_show"; signal: "elm,state,icon,visible"; source: "elm"; script { new st[31]; new Float:vl; get_state(PART:"textvis", st, 30, vl); if (!strcmp(st, "visible")) set_state(PART:"elm.swallow.content", "visible", 0.0); else set_state(PART:"elm.swallow.content", "icononly", 0.0); } } program { name: "icon_hide"; signal: "elm,state,icon,hidden"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.content"; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/toggle/base/default"; images { image: "shelf_inset.png" COMP; image: "bt_basew.png" COMP; image: "bt_bases.png" COMP; image: "bt_hilightw.png" COMP; image: "tog_base.png" COMP; } parts { part { name: "bg"; type: RECT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 1.0 0.0; rel1.offset: -4 3; rel2.offset: -4 -4; align: 1.0 0.5; min: 96 24; max: 96 24; aspect: 4.0 4.0; aspect_preference: VERTICAL; color: 255 255 255 255; } } part { name: "clipper"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1.to: "bg"; rel2.to: "bg"; color: 255 255 255 255; } } part { name: "button"; type: RECT; scale: 1; clip_to: "clipper"; mouse_events: 1; dragable { x: 1 1 0; y: 0 0 0; confine: "bg"; } description { state: "default" 0.0; fixed: 1 1; rel1.to: "bg"; rel2.to: "bg"; min: 24 24; max: 24 24; aspect: 1.0 1.0; aspect_preference: VERTICAL; color: 0 0 0 0; } } part { name: "button_events"; type: RECT; dragable { events: "button"; } description { state: "default" 0.0; rel1.to: "bg"; rel1.offset: -8 -8; rel1.relative: -0.1 -0.1; rel2.to: "bg"; rel2.offset: 7 7; rel2.relative: 1.1 1.1; color: 0 0 0 0; } } part { name: "onrect"; type: RECT; scale: 1; clip_to: "clipper"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "button"; rel1.relative: -3.0 0.0; rel2.to: "button"; rel2.relative: 0.0 1.0; color: 0 0 0 0; } } part { name: "offrect"; type: RECT; scale: 1; clip_to: "clipper"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "button"; rel1.relative: 1.0 0.0; rel2.to: "button"; rel2.relative: 4.0 1.0; color: 0 0 0 0; } } part { name: "togbase"; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "onrect"; rel2.to: "offrect"; image.normal: "tog_base.png"; } } part { name: "elm.offtext"; type: TEXT; mouse_events: 0; scale: 1; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "offrect"; rel2.to: "offrect"; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; size: 10; min: 0 1; align: 0.5 0.5; text: "OFF"; } } } part { name: "elm.ontext"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "onrect"; rel1.offset: 1 1; rel2.to: "onrect"; rel2.offset: 0 0; color: 224 224 224 255; color3: 0 0 0 64; text { font: "Sans,Edje-Vera"; size: 10; min: 0 1; align: 0.5 0.5; text: "ON"; } } } part { name: "conf_over"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: -1 -1; rel1.to: "bg"; rel2.offset: 0 0; rel2.to: "bg"; image { normal: "shelf_inset.png"; border: 7 7 7 7; middle: 0; } fill.smooth : 0; } } part { name: "button0"; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "button2"; rel1.offset: -4 -4; rel2.to: "button2"; rel2.offset: 3 3; image { normal: "bt_bases.png"; border: 11 11 11 11; } color: 255 255 255 128; } } part { name: "button2"; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "button"; rel1.offset: -2 -2; rel2.to: "button"; rel2.offset: 1 1; image { normal: "bt_basew.png"; border: 7 7 7 7; } } } part { name: "button3"; mouse_events: 0; clip_to: "clipper"; description { state: "default" 0.0; rel1.to: "button2"; rel2.to: "button2"; rel2.relative: 1.0 0.5; image { normal: "bt_hilightw.png"; border: 4 4 4 0; } } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; visible: 0; align: 0.0 0.5; rel1.offset: 4 4; rel2.offset: 3 -5; rel2.relative: 0.0 1.0; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel2.offset: 4 -5; } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; rel1.to_x: "elm.swallow.content"; rel1.relative: 1.0 0.0; rel1.offset: 0 4; rel2.to_x: "bg"; rel2.relative: 0.0 1.0; rel2.offset: -5 -5; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; size: 10; min: 0 0; align: 0.0 0.5; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; text.min: 1 1; } } } programs { program { name: "drag_end"; signal: "mouse,up,1"; source: "button"; script { new Float:dx, Float:dy; get_drag(PART:"button", dx, dy); if (dx > 0.5) { set_drag(PART:"button", 1.0, 0.0); emit("elm,action,toggle,on", ""); } else { set_drag(PART:"button", 0.0, 0.0); emit("elm,action,toggle,off", ""); } } } program { name: "toggle_on"; signal: "elm,state,toggle,on"; source: "elm"; script { set_drag(PART:"button", 100.0, 0.0); } } program { name: "toggle_off"; signal: "elm,state,toggle,off"; source: "elm"; script { set_drag(PART:"button", 0.0, 0.0); } } program { name: "text_show"; signal: "elm,state,text,visible"; source: "elm"; action: STATE_SET "visible" 0.0; target: "elm.text"; } program { name: "text_hide"; signal: "elm,state,text,hidden"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.text"; } program { name: "icon_show"; signal: "elm,state,icon,visible"; source: "elm"; action: STATE_SET "visible" 0.0; target: "elm.swallow.content"; } program { name: "icon_hide"; signal: "elm,state,icon,hidden"; source: "elm"; action: STATE_SET "default" 0.0; target: "elm.swallow.content"; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/flipdigit/default"; images { image: "flip_base.png" COMP; image: "flip_base_shad.png" COMP; image: "flip_shad.png" COMP; image: "flip_0t.png" COMP; image: "flip_0b.png" COMP; image: "flip_1t.png" COMP; image: "flip_1b.png" COMP; image: "flip_2t.png" COMP; image: "flip_2b.png" COMP; image: "flip_3t.png" COMP; image: "flip_3b.png" COMP; image: "flip_4t.png" COMP; image: "flip_4b.png" COMP; image: "flip_5t.png" COMP; image: "flip_5b.png" COMP; image: "flip_6t.png" COMP; image: "flip_6b.png" COMP; image: "flip_7t.png" COMP; image: "flip_7b.png" COMP; image: "flip_8t.png" COMP; image: "flip_8b.png" COMP; image: "flip_9t.png" COMP; image: "flip_9b.png" COMP; image: "arrow_up.png" COMP; image: "arrow_down.png" COMP; } script { public v0_cur, v0_pre, v0_lock, v0_next; public animator2(val, Float:pos) { new st1[11], st2[11], v; v = get_int(v0_cur); snprintf(st1, 10, "%ih", v); snprintf(st2, 10, "%i", v); set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); if (pos >= 1.0) { set_state(PART:"sh", "default", 0.0); set_int(v0_lock, 0); v = get_int(v0_next); if (v >= 0) { set_int(v0_next, -1); message(MSG_INT, 1, v); } } } public animator1(val, Float:pos) { new st1[11], st2[11], v; v = get_int(v0_pre); snprintf(st1, 10, "%i", v); snprintf(st2, 10, "%ih", v); set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); if (pos >= 1.0) anim(0.2, "animator2", val); } public message(Msg_Type:type, id, ...) { if ((type == MSG_INT) && (id == 1)) { new value, v, buf[11]; value = getarg(2); if (get_int(v0_lock) == 1) { set_int(v0_next, value); return; } v = get_int(v0_cur); set_int(v0_pre, v); set_int(v0_cur, value); set_int(v0_lock, 1); snprintf(buf, 10, "%i", get_int(v0_pre)); set_state(PART:"bot0", buf, 0.0); snprintf(buf, 10, "%ih", get_int(v0_cur)); set_state(PART:"bot", buf, 0.0); snprintf(buf, 10, "%i", get_int(v0_cur)); set_state(PART:"top0", buf, 0.0); snprintf(buf, 10, "%i", get_int(v0_pre)); set_state(PART:"top", buf, 0.0); set_state(PART:"sh", "default", 0.0); anim(0.2, "animator1", 1); } } } parts { part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: -4 -4; rel1.to: "base"; rel2.offset: 3 3; rel2.to: "base"; image { normal: "flip_base_shad.png"; border: 8 8 8 8; } } } part { name: "base"; scale: 1; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; // FIXME 48x96 should be the native pixel design, right now // its 80x160. fix int he artwork later min: 24 48; max: 24 48; image.normal: "flip_base.png"; } } part { name: "b"; type: RECT; mouse_events: 1; description { state: "default" 0.0; rel1.to: "base"; rel1.relative: 0.0 0.5; rel2.to: "base"; color: 0 0 0 0; } } part { name: "t"; type: RECT; mouse_events: 1; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.5; color: 0 0 0 0; } } part { name: "bot0"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "b"; rel2.to: "b"; image.normal: "flip_0b.png"; } description { state: "0" 0.0; inherit: "default" 0.0; image.normal: "flip_0b.png"; } description { state: "1" 0.0; inherit: "default" 0.0; image.normal: "flip_1b.png"; } description { state: "2" 0.0; inherit: "default" 0.0; image.normal: "flip_2b.png"; } description { state: "3" 0.0; inherit: "default" 0.0; image.normal: "flip_3b.png"; } description { state: "4" 0.0; inherit: "default" 0.0; image.normal: "flip_4b.png"; } description { state: "5" 0.0; inherit: "default" 0.0; image.normal: "flip_5b.png"; } description { state: "6" 0.0; inherit: "default" 0.0; image.normal: "flip_6b.png"; } description { state: "7" 0.0; inherit: "default" 0.0; image.normal: "flip_7b.png"; } description { state: "8" 0.0; inherit: "default" 0.0; image.normal: "flip_8b.png"; } description { state: "9" 0.0; inherit: "default" 0.0; image.normal: "flip_9b.png"; } } part { name: "sh"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "b"; rel2.to: "b"; rel2.relative: 1.0 0.0; image.normal: "flip_shad.png"; } description { state: "half" 0.0; inherit: "default" 0.0; rel2.relative: 1.0 0.5; } description { state: "full" 0.0; inherit: "default" 0.0; rel2.relative: 1.0 1.0; } } part { name: "bot"; mouse_events: 0; description { state: "default" 0.0; visible: 1; rel1.to: "b"; rel2.to: "b"; image.normal: "flip_0b.png"; } description { state: "0" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_0b.png"; } description { state: "0h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_0b.png"; } description { state: "1" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_1b.png"; } description { state: "1h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_1b.png"; } description { state: "2" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_2b.png"; } description { state: "2h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_2b.png"; } description { state: "3" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_3b.png"; } description { state: "3h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_3b.png"; } description { state: "4" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_4b.png"; } description { state: "4h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_4b.png"; } description { state: "5" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_5b.png"; } description { state: "5h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_5b.png"; } description { state: "6" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_6b.png"; } description { state: "6h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_6b.png"; } description { state: "7" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_7b.png"; } description { state: "7h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_7b.png"; } description { state: "8" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_8b.png"; } description { state: "8h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_8b.png"; } description { state: "9" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_9b.png"; } description { state: "9h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_9b.png"; } } part { name: "top0"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "t"; rel2.to: "t"; image.normal: "flip_0t.png"; } description { state: "0" 0.0; inherit: "default" 0.0; image.normal: "flip_0t.png"; } description { state: "1" 0.0; inherit: "default" 0.0; image.normal: "flip_1t.png"; } description { state: "2" 0.0; inherit: "default" 0.0; image.normal: "flip_2t.png"; } description { state: "3" 0.0; inherit: "default" 0.0; image.normal: "flip_3t.png"; } description { state: "4" 0.0; inherit: "default" 0.0; image.normal: "flip_4t.png"; } description { state: "5" 0.0; inherit: "default" 0.0; image.normal: "flip_5t.png"; } description { state: "6" 0.0; inherit: "default" 0.0; image.normal: "flip_6t.png"; } description { state: "7" 0.0; inherit: "default" 0.0; image.normal: "flip_7t.png"; } description { state: "8" 0.0; inherit: "default" 0.0; image.normal: "flip_8t.png"; } description { state: "9" 0.0; inherit: "default" 0.0; image.normal: "flip_9t.png"; } } part { name: "top"; mouse_events: 0; description { state: "default" 0.0; visible: 1; rel1.to: "t"; rel2.to: "t"; image.normal: "flip_0t.png"; } description { state: "0" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_0t.png"; } description { state: "0h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_0t.png"; } description { state: "1" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_1t.png"; } description { state: "1h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_1t.png"; } description { state: "2" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_2t.png"; } description { state: "2h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_2t.png"; } description { state: "3" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_3t.png"; } description { state: "3h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_3t.png"; } description { state: "4" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_4t.png"; } description { state: "4h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_4t.png"; } description { state: "5" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_5t.png"; } description { state: "5h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_5t.png"; } description { state: "6" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_6t.png"; } description { state: "6h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_6t.png"; } description { state: "7" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_7t.png"; } description { state: "7h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_7t.png"; } description { state: "8" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_8t.png"; } description { state: "8h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_8t.png"; } description { state: "9" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_9t.png"; } description { state: "9h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_9t.png"; } } part { name: "atop"; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; min: 15 15; max: 15 15; align: 0.5 0.0; rel1.to: "t"; rel2.to: "t"; image.normal: "arrow_up.png"; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "abot"; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; min: 15 15; max: 15 15; align: 0.5 1.0; rel1.to: "b"; rel2.to: "b"; image.normal: "arrow_down.png"; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } } programs { program { name: "load"; signal: "load"; source: ""; script { set_int(v0_cur, 0); set_int(v0_pre, 0); set_int(v0_lock, 0); set_int(v0_next, -1); } } program { name: "edit_on"; signal: "elm,state,edit,on"; source: "elm"; action: STATE_SET "visible" 0.0; target: "atop"; target: "abot"; } program { name: "edit_off"; signal: "elm,state,edit,off"; source: "elm"; action: STATE_SET "default" 0.0; target: "atop"; target: "abot"; } program { name: "up"; signal: "mouse,down,1"; source: "t"; action: SIGNAL_EMIT "elm,action,up" ""; } program { name: "down"; signal: "mouse,down,1"; source: "b"; action: SIGNAL_EMIT "elm,action,down" ""; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/flipampm/default"; images { image: "flip_base.png" COMP; image: "flip_base_shad.png" COMP; image: "flip_shad.png" COMP; image: "flip_amt.png" COMP; image: "flip_amb.png" COMP; image: "flip_pmt.png" COMP; image: "flip_pmb.png" COMP; image: "arrow_up.png" COMP; image: "arrow_down.png" COMP; } script { public v0_cur, v0_pre, v0_lock, v0_next; public animator2(val, Float:pos) { new st1[11], st2[11], v; v = get_int(v0_cur); snprintf(st1, 10, "%ih", v); snprintf(st2, 10, "%i", v); set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0); set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0); if (pos >= 1.0) { set_state(PART:"sh", "default", 0.0); set_int(v0_lock, 0); v = get_int(v0_next); if (v >= 0) { set_int(v0_next, -1); message(MSG_INT, 1, v); } } } public animator1(val, Float:pos) { new st1[11], st2[11], v; v = get_int(v0_pre); snprintf(st1, 10, "%i", v); snprintf(st2, 10, "%ih", v); set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0); set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0); if (pos >= 1.0) anim(0.2, "animator2", val); } public message(Msg_Type:type, id, ...) { if ((type == MSG_INT) && (id == 1)) { new value, v, buf[11]; value = getarg(2); if (get_int(v0_lock) == 1) { set_int(v0_next, value); return; } v = get_int(v0_cur); set_int(v0_pre, v); set_int(v0_cur, value); set_int(v0_lock, 1); snprintf(buf, 10, "%i", get_int(v0_pre)); set_state(PART:"bot0", buf, 0.0); snprintf(buf, 10, "%ih", get_int(v0_cur)); set_state(PART:"bot", buf, 0.0); snprintf(buf, 10, "%i", get_int(v0_cur)); set_state(PART:"top0", buf, 0.0); snprintf(buf, 10, "%i", get_int(v0_pre)); set_state(PART:"top", buf, 0.0); set_state(PART:"sh", "default", 0.0); anim(0.2, "animator1", 1); } } } parts { part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: -4 -4; rel1.to: "base"; rel2.offset: 3 3; rel2.to: "base"; image { normal: "flip_base_shad.png"; border: 8 8 8 8; } } } part { name: "base"; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; // FIXME 48x96 should be the native pixel design, right now // its 80x160. fix int he artwork later min: 24 48; max: 24 48; image.normal: "flip_base.png"; } } part { name: "b"; type: RECT; mouse_events: 1; description { state: "default" 0.0; rel1.to: "base"; rel1.relative: 0.0 0.5; rel2.to: "base"; color: 0 0 0 0; } } part { name: "t"; type: RECT; mouse_events: 1; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.5; color: 0 0 0 0; } } part { name: "bot0"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "b"; rel2.to: "b"; image.normal: "flip_amb.png"; } description { state: "0" 0.0; inherit: "default" 0.0; image.normal: "flip_amb.png"; } description { state: "1" 0.0; inherit: "default" 0.0; image.normal: "flip_pmb.png"; } } part { name: "sh"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "b"; rel2.to: "b"; rel2.relative: 1.0 0.0; image.normal: "flip_shad.png"; } description { state: "half" 0.0; inherit: "default" 0.0; rel2.relative: 1.0 0.5; } description { state: "full" 0.0; inherit: "default" 0.0; rel2.relative: 1.0 1.0; } } part { name: "bot"; mouse_events: 0; description { state: "default" 0.0; visible: 1; rel1.to: "b"; rel2.to: "b"; image.normal: "flip_amb.png"; } description { state: "0" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_amb.png"; } description { state: "0h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_amb.png"; } description { state: "1" 0.0; inherit: "default" 0.0; visible: 1; rel2.relative: 1.0 1.0; image.normal: "flip_pmb.png"; } description { state: "1h" 0.0; inherit: "default" 0.0; visible: 0; rel2.relative: 1.0 0.0; image.normal: "flip_pmb.png"; } } part { name: "top0"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "t"; rel2.to: "t"; image.normal: "flip_amt.png"; } description { state: "0" 0.0; inherit: "default" 0.0; image.normal: "flip_amt.png"; } description { state: "1" 0.0; inherit: "default" 0.0; image.normal: "flip_pmt.png"; } } part { name: "top"; mouse_events: 0; description { state: "default" 0.0; visible: 1; rel1.to: "t"; rel2.to: "t"; image.normal: "flip_amt.png"; } description { state: "0" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_amt.png"; } description { state: "0h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_amt.png"; } description { state: "1" 0.0; inherit: "default" 0.0; visible: 1; rel1.relative: 0.0 0.0; image.normal: "flip_pmt.png"; } description { state: "1h" 0.0; inherit: "default" 0.0; color: 128 128 128 255; visible: 0; rel1.relative: 0.0 1.0; image.normal: "flip_pmt.png"; } } part { name: "atop"; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; min: 15 15; max: 15 15; align: 0.5 0.0; rel1.to: "t"; rel2.to: "t"; image.normal: "arrow_up.png"; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "abot"; mouse_events: 0; scale: 1; description { state: "default" 0.0; visible: 0; min: 15 15; max: 15 15; align: 0.5 1.0; rel1.to: "b"; rel2.to: "b"; image.normal: "arrow_down.png"; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } } programs { program { name: "load"; signal: "load"; source: ""; script { set_int(v0_cur, 0); set_int(v0_pre, 0); set_int(v0_lock, 0); set_int(v0_next, -1); } } program { name: "edit_on"; signal: "elm,state,edit,on"; source: "elm"; action: STATE_SET "visible" 0.0; target: "atop"; target: "abot"; } /* program { name: "edit_off"; signal: "elm,state,edit,off"; source: "elm"; action: STATE_SET "default" 0.0; target: "atop"; target: "abot"; } */ program { name: "up"; signal: "mouse,down,1"; source: "t"; action: SIGNAL_EMIT "elm,action,up" ""; } program { name: "down"; signal: "mouse,down,1"; source: "b"; action: SIGNAL_EMIT "elm,action,down" ""; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/base-all/default"; parts { part { name: "d0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.0000000 0.0; rel2.relative: 0.1250000 1.0; } } part { name: "d1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.1250000 0.0; rel2.relative: 0.2500000 1.0; } } part { name: "c0"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.2500000 0.0; rel2.relative: 0.3125000 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } part { name: "d2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.3125000 0.0; rel2.relative: 0.4375000 1.0; } } part { name: "d3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.4375000 0.0; rel2.relative: 0.5625000 1.0; } } // (if seconds) part { name: "c1"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.5625000 0.0; rel2.relative: 0.6250000 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } // (if seconds) part { name: "d4"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.6250000 0.0; rel2.relative: 0.7500000 1.0; } } // (if seconds) part { name: "d5"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.7500000 0.0; rel2.relative: 0.8750000 1.0; } } // (if am_pm) part { name: "ampm"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.8750000 0.0; rel2.relative: 1.0 1.0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/base-seconds/default"; parts { part { name: "d0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.000000000 0.0; rel2.relative: 0.142857143 1.0; } } part { name: "d1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.142857143 0.0; rel2.relative: 0.285714286 1.0; } } part { name: "c0"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.285714286 0.0; rel2.relative: 0.357142857 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } part { name: "d2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.357142857 0.0; rel2.relative: 0.500000000 1.0; } } part { name: "d3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.500000000 0.0; rel2.relative: 0.642857143 1.0; } } // (if seconds) part { name: "c1"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.642857143 0.0; rel2.relative: 0.714285714 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } // (if seconds) part { name: "d4"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.714285714 0.0; rel2.relative: 0.857142857 1.0; } } // (if seconds) part { name: "d5"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.857142857 0.0; rel2.relative: 1.000000000 1.0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/base-am_pm/default"; parts { part { name: "d0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.000000000 0.0; rel2.relative: 0.181818182 1.0; } } part { name: "d1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.181818182 0.0; rel2.relative: 0.363636364 1.0; } } part { name: "c0"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.363636364 0.0; rel2.relative: 0.454545455 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } part { name: "d2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.454545455 0.0; rel2.relative: 0.636363636 1.0; } } part { name: "d3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.636363636 0.0; rel2.relative: 0.818181818 1.0; } } // (if am_pm) part { name: "ampm"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.818181818 0.0; rel2.relative: 1.0 1.0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/clock/base/default"; parts { part { name: "d0"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.000000000 0.0; rel2.relative: 0.222222222 1.0; } } part { name: "d1"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.222222222 0.0; rel2.relative: 0.444444444 1.0; } } part { name: "c0"; type: SWALLOW; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; rel1.relative: 0.444444444 0.0; rel2.relative: 0.555555556 1.0; color: 0 0 0 255; text { font: "Sans,Edje-Vera"; text: ":"; size: 10; min: 1 1; align: 0.5 0.5; } } } part { name: "d2"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.555555556 0.0; rel2.relative: 0.777777778 1.0; } } part { name: "d3"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.777777778 0.0; rel2.relative: 1.000000000 1.0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/frame/base/default"; images { image: "frame_1.png" COMP; image: "frame_2.png" COMP; image: "dia_grad.png" COMP; } parts { part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; image.normal: "dia_grad.png"; rel1.to: "over"; rel2.to: "over"; fill { smooth: 0; size { relative: 0.0 1.0; offset: 64 0; } } } } part { name: "base"; mouse_events: 0; description { state: "default" 0.0; image { normal: "frame_2.png"; border: 5 5 32 26; middle: 0; } fill.smooth : 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1 { to_y: "elm.text"; relative: 0.0 1.0; offset: 8 2; } rel2.offset: -9 -9; } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; fixed: 0 1; rel1 { relative: 0.0 0.0; offset: 6 6; } rel2 { relative: 1.0 0.0; offset: -7 6; } color: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 1 1; max: 1 1; align: 0.0 0.0; } } } part { name: "over"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; image { normal: "frame_1.png"; border: 2 2 28 22; middle: 0; } fill.smooth : 0; } } } } group { name: "elm/frame/base/outdent_top"; images { image: "outdent-top.png" COMP; } parts { part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; image.normal: "outdent-top.png"; image.border: 0 0 0 13; fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 2 2; rel2.offset: -3 -13; } } } } group { name: "elm/frame/base/outdent_bottom"; images { image: "outdent-bottom.png" COMP; } parts { part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; image.normal: "outdent-bottom.png"; image.border: 0 0 13 0; fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 2 12; rel2.offset: -3 -3; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/hover/base/default"; images { image: "shad_circ.png" COMP; } parts { part { name: "elm.swallow.offset"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.relative: 0.0 0.0; rel2.relative: 0.0 0.0; } } part { name: "elm.swallow.size"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.to: "elm.swallow.offset"; rel1.relative: 1.0 1.0; rel2.to: "elm.swallow.offset"; rel2.relative: 1.0 1.0; } } part { name: "base"; type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 0 0 0 64; } } part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; image.normal: "shad_circ.png"; rel1.to: "elm.swallow.size"; rel1.offset: -32 -32; rel2.to: "elm.swallow.size"; rel2.offset: 31 31; fill.smooth: 0; } } part { name: "box"; type: RECT; mouse_events: 0; description { state: "default" 0.0; color: 0 0 0 0; rel1.to: "elm.swallow.size"; rel1.offset: -2 -2; rel2.to: "elm.swallow.size"; rel2.offset: 1 1; } } part { name: "elm.swallow.slot.left"; type: SWALLOW; description { state: "default" 0.0; align: 1.0 0.5; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 0.0; rel1.offset: -1 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 0.0 1.0; rel2.offset: -1 -1; } } part { name: "elm.swallow.slot.right"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.5; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 1.0 0.0; rel1.offset: 0 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 1.0; rel2.offset: 0 -1; } } part { name: "elm.swallow.slot.top"; type: SWALLOW; description { state: "default" 0.0; align: 0.5 1.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 0.0; rel1.offset: 0 -1; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 0.0; rel2.offset: -1 -1; } } part { name: "elm.swallow.slot.bottom"; type: SWALLOW; description { state: "default" 0.0; align: 0.5 0.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 1.0; rel1.offset: 0 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 1.0; rel2.offset: -1 0; } } part { name: "elm.swallow.slot.middle"; type: SWALLOW; description { state: "default" 0.0; rel1.to: "elm.swallow.size"; rel2.to: "elm.swallow.size"; } } } programs { program { name: "end"; signal: "mouse,up,1"; source: "base"; action: SIGNAL_EMIT "elm,action,dismiss" ""; } } } group { name: "elm/hover/base/popout"; images { image: "shad_circ.png" COMP; image: "bt_dis_base.png" COMP; image: "bt_dis_hilight.png" COMP; } parts { part { name: "elm.swallow.offset"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.relative: 0.0 0.0; rel2.relative: 0.0 0.0; } } part { name: "elm.swallow.size"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.to: "elm.swallow.offset"; rel1.relative: 1.0 1.0; rel2.to: "elm.swallow.offset"; rel2.relative: 1.0 1.0; } } part { name: "base"; type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 0 0 0 0; } description { state: "visible" 0.0; inherit: "default" 1.0; color: 0 0 0 64; } } part { name: "leftclip"; type: RECT; description { state: "default" 0.0; rel2.to_x: "pop"; rel2.relative: 0.0 1.0; rel2.offset: 1 -1; } } part { name: "left"; clip_to: "leftclip"; description { state: "default" 0.0; visible: 0; rel1.to: "elm.swallow.slot.left"; rel1.offset: -5 -5; rel2.to: "elm.swallow.slot.left"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "elm.swallow.slot.left"; type: SWALLOW; clip_to: "leftclip"; description { state: "default" 0.0; align: 0.0 0.5; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 0.0; rel1.offset: -1 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 0.0 1.0; rel2.offset: -1 -1; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: -7 0; rel2.offset: -7 -1; align: 1.0 0.5; } } part { name: "leftover"; clip_to: "leftclip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "left"; rel2.to: "left"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } part { name: "rightclip"; type: RECT; description { state: "default" 0.0; rel1.to_x: "pop"; rel1.relative: 1.0 0.0; rel1.offset: -2 0; } } part { name: "right"; clip_to: "rightclip"; description { state: "default" 0.0; visible: 0; rel1.to: "elm.swallow.slot.right"; rel1.offset: -5 -5; rel2.to: "elm.swallow.slot.right"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "elm.swallow.slot.right"; type: SWALLOW; clip_to: "rightclip"; description { state: "default" 0.0; align: 1.0 0.5; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 1.0 0.0; rel1.offset: 0 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 1.0; rel2.offset: 0 -1; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 6 0; rel2.offset: 6 -1; align: 0.0 0.5; } } part { name: "rightover"; clip_to: "rightclip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "right"; rel2.to: "right"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } part { name: "topclip"; type: RECT; description { state: "default" 0.0; rel2.to_y: "pop"; rel2.relative: 1.0 0.0; rel2.offset: -1 1; } } part { name: "top"; clip_to: "topclip"; description { state: "default" 0.0; visible: 0; rel1.to: "elm.swallow.slot.top"; rel1.offset: -5 -5; rel2.to: "elm.swallow.slot.top"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "elm.swallow.slot.top"; type: SWALLOW; clip_to: "topclip"; description { state: "default" 0.0; visible: 1; align: 0.5 0.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 0.0; rel1.offset: 0 -1; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 0.0; rel2.offset: -1 -1; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 0 -7; rel2.offset: -1 -7; align: 0.5 1.0; } } part { name: "topover"; clip_to: "topclip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "top"; rel2.to: "top"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } part { name: "bottomclip"; type: RECT; description { state: "default" 0.0; rel1.to_y: "pop"; rel1.relative: 0.0 1.0; rel1.offset: -1 -2; } } part { name: "bottom"; clip_to: "bottomclip"; description { state: "default" 0.0; visible: 0; rel1.to: "elm.swallow.slot.bottom"; rel1.offset: -5 -5; rel2.to: "elm.swallow.slot.bottom"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "elm.swallow.slot.bottom"; type: SWALLOW; clip_to: "bottomclip"; description { state: "default" 0.0; align: 0.5 1.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 1.0; rel1.offset: 0 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 1.0; rel2.offset: -1 0; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 0 6; rel2.offset: -1 6; align: 0.5 0.0; } } part { name: "bottomover"; clip_to: "bottomclip"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "bottom"; rel2.to: "bottom"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; image.normal: "shad_circ.png"; rel1.to: "elm.swallow.size"; rel1.offset: -64 -64; rel2.to: "elm.swallow.size"; rel2.offset: 63 63; fill.smooth: 0; } } part { name: "pop"; mouse_events: 1; description { state: "default" 0.0; rel1.to: "elm.swallow.slot.middle"; rel1.offset: -5 -5; rel2.to: "elm.swallow.slot.middle"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } } part { name: "elm.swallow.slot.middle"; type: SWALLOW; description { state: "default" 0.0; rel1.to: "elm.swallow.size"; rel2.to: "elm.swallow.size"; } } part { name: "popover"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "pop"; rel2.to: "pop"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } } programs { program { name: "end"; signal: "mouse,up,1"; source: "base"; action: SIGNAL_EMIT "elm,action,dismiss" ""; } program { name: "show"; signal: "elm,action,show"; source: "elm"; action: STATE_SET "visible" 0.0; // transition: DECELERATE 0.5; target: "base"; } program { name: "hide"; signal: "elm,action,hide"; source: "elm"; action: STATE_SET "default" 0.0; // transition: DECELERATE 0.5; target: "base"; } program { name: "leftshow"; signal: "elm,action,slot,left,show"; source: "elm"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "left"; target: "elm.swallow.slot.left"; } program { name: "lefthide"; signal: "elm,action,slot,left,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "left"; target: "elm.swallow.slot.left"; } program { name: "rightshow"; signal: "elm,action,slot,right,show"; source: "elm"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "right"; target: "elm.swallow.slot.right"; } program { name: "righthide"; signal: "elm,action,slot,right,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "right"; target: "elm.swallow.slot.right"; } program { name: "topshow"; signal: "elm,action,slot,top,show"; source: "elm"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "top"; target: "elm.swallow.slot.top"; } program { name: "tophide"; signal: "elm,action,slot,top,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "top"; target: "elm.swallow.slot.top"; } program { name: "bottomshow"; signal: "elm,action,slot,bottom,show"; source: "elm"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.bottom"; } program { name: "bottomhide"; signal: "elm,action,slot,bottom,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.bottom"; } } } group { name: "elm/hover/base/hoversel_vertical"; images { image: "shad_circ.png" COMP; image: "bt_base2.png" COMP; image: "bt_hilight.png" COMP; image: "bt_shine.png" COMP; image: "outdent-top.png" COMP; image: "outdent-bottom.png" COMP; } parts { part { name: "elm.swallow.offset"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.relative: 0.0 0.0; rel2.relative: 0.0 0.0; } } part { name: "elm.swallow.size"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.0; rel1.to: "elm.swallow.offset"; rel1.relative: 1.0 1.0; rel2.to: "elm.swallow.offset"; rel2.relative: 1.0 1.0; } } part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; image.normal: "shad_circ.png"; rel1.to: "button_image"; rel1.offset: -64 -64; rel2.to: "button_image"; rel2.offset: 63 63; fill.smooth: 0; } } part { name: "button_image"; mouse_events: 1; description { state: "default" 0.0; rel1.to: "elm.swallow.slot.top"; rel1.offset: -2 -6; rel2.to: "elm.swallow.slot.bottom"; rel2.offset: 1 5; image { normal: "bt_base2.png"; border: 7 7 7 7; } } } part { name: "base"; type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 0 0 0 0; } description { state: "visible" 0.0; inherit: "default" 1.0; color: 0 0 0 64; } } part { name: "topclip"; type: RECT; description { state: "default" 0.0; rel2.to_y: "edge_top"; rel2.relative: 1.0 0.0; rel2.offset: -1 7; } } part { name: "elm.swallow.slot.top"; type: SWALLOW; clip_to: "topclip"; description { state: "default" 0.0; visible: 1; align: 0.5 0.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 0.0; rel1.offset: 0 -1; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 0.0; rel2.offset: -1 -1; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 0 -7; rel2.offset: -1 -7; align: 0.5 1.0; } } part { name: "bottomclip"; type: RECT; description { state: "default" 0.0; rel1.to_y: "edge_bottom"; rel1.relative: 0.0 1.0; rel1.offset: -1 -8; } } part { name: "elm.swallow.slot.bottom"; type: SWALLOW; clip_to: "bottomclip"; description { state: "default" 0.0; align: 0.5 1.0; rel1.to: "elm.swallow.slot.middle"; rel1.relative: 0.0 1.0; rel1.offset: 0 0; rel2.to: "elm.swallow.slot.middle"; rel2.relative: 1.0 1.0; rel2.offset: -1 0; } description { state: "visible" 0.0; inherit: "default" 0.0; rel1.offset: 0 6; rel2.offset: -1 6; align: 0.5 0.0; } } part { name: "over1"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "button_image"; rel2.to: "button_image"; rel2.relative: 1.0 0.5; image { normal: "bt_hilight.png"; border: 7 7 7 0; } } } part { name: "over2"; mouse_events: 1; repeat_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; rel1.to: "button_image"; rel2.to: "button_image"; image { normal: "bt_shine.png"; border: 7 7 7 7; } } } part { name: "edge_top"; mouse_events: 0; description { state: "default" 0.0; visible: 0; rel1 { to: "elm.swallow.size"; offset: 0 -10; } rel2 { to: "elm.swallow.size"; } image.normal: "outdent-bottom.png"; image.border: 0 0 13 0; fill.smooth: 0; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "edge_bottom"; mouse_events: 0; description { state: "default" 0.0; visible: 0; rel1 { to: "elm.swallow.size"; } rel2 { to: "elm.swallow.size"; offset: -1 9; } image.normal: "outdent-top.png"; image.border: 0 0 0 13; fill.smooth: 0; } description { state: "visible" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "elm.swallow.slot.middle"; type: SWALLOW; description { state: "default" 0.0; rel1.to: "elm.swallow.size"; rel2.to: "elm.swallow.size"; } } } programs { program { name: "end"; signal: "mouse,up,1"; source: "base"; action: SIGNAL_EMIT "elm,action,dismiss" ""; } program { name: "show"; signal: "elm,action,show"; source: "elm"; action: STATE_SET "visible" 0.0; // transition: DECELERATE 0.5; target: "base"; } program { name: "hide"; signal: "elm,action,hide"; source: "elm"; action: STATE_SET "default" 0.0; // transition: DECELERATE 0.5; target: "base"; } program { name: "topshow"; signal: "elm,action,slot,top,show"; source: "elm"; action: STATE_SET "visible" 0.0; target: "edge_top"; after: "topshow2"; } program { name: "topshow2"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.top"; } program { name: "tophide"; signal: "elm,action,slot,top,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.top"; after: "tophide2"; } program { name: "tophide2"; action: STATE_SET "default" 0.0; target: "edge_top"; } program { name: "bottomshow"; signal: "elm,action,slot,bottom,show"; source: "elm"; action: STATE_SET "visible" 0.0; target: "edge_bottom"; after: "bottomshow2"; } program { name: "bottomshow2"; action: STATE_SET "visible" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.bottom"; } program { name: "bottomhide"; signal: "elm,action,slot,bottom,hide"; source: "elm"; action: STATE_SET "default" 0.0; transition: DECELERATE 0.5; target: "elm.swallow.slot.bottom"; after: "bottomhide2"; } program { name: "bottomhide2"; action: STATE_SET "default" 0.0; target: "edge_bottom"; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/entry/base/default"; styles { style { name: "entry_textblock_style"; base: "font=Sans font_size=10 align=left color=#000 wrap=word"; tag: "br" "\n"; tag: "tab" "\t"; tag: "em" "+ font=Sans:style=Oblique"; tag: "b" "+ font=Sans:style=Bold"; tag: "link" "+ color=#800 underline=on underline_color=#8008"; tag: "hilight" "+ font=Sans:style=Bold"; } } parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: EDITABLE; multiline: 1; source: "elm/entry/selection/default"; // selection under // source2: "X"; // selection over // source3: "X"; // cursor under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under // source6: "X"; // anchor over description { state: "default" 0.0; text { style: "entry_textblock_style"; min: 0 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-nowrap/default"; parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: EDITABLE; multiline: 1; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_textblock_style"; min: 1 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-single/default"; styles { style { name: "entry_single_textblock_style"; base: "font=Sans font_size=10 align=left color=#000 wrap=none"; tag: "br" "\n"; tag: "tab" "\t"; tag: "em" "+ font=Sans:style=Oblique"; tag: "b" "+ font=Sans:style=Bold"; tag: "link" "+ color=#800 underline=on underline_color=#8008"; tag: "hilight" "+ font=Sans:style=Bold"; } } parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: EDITABLE; multiline: 0; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_single_textblock_style"; min: 1 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-single-noedit/default"; parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: PLAIN; multiline: 0; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_single_textblock_style"; min: 1 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-noedit/default"; parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: PLAIN; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_textblock_style"; min: 0 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-nowrap-noedit/default"; parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: PLAIN; multiline: 1; source: "elm/entry/selection/default"; // selection under source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_textblock_style"; min: 1 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/base-password/default"; parts { part { name: "elm.text"; type: TEXTBLOCK; mouse_events: 1; scale: 1; entry_mode: PASSWORD; multiline: 0; source: "elm/entry/selection/default"; // selection under source4: "elm/entry/cursor/default"; // cursorover source5: "elm/entry/anchor/default"; // anchor under description { state: "default" 0.0; text { style: "entry_single_textblock_style"; repch: "*"; min: 1 1; } } } } programs { program { name: "focus"; signal: "load"; source: ""; action: FOCUS_SET; target: "elm.text"; } } } group { name: "elm/entry/cursor/default"; images { image: "cur_box.png" COMP; image: "cur_hi.png" COMP; image: "cur_shad.png" COMP; image: "cur_shine.png" COMP; image: "cur_glow.png" COMP; } parts { part { name: "clip2"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1.to: "clip"; rel2.to: "clip"; visible: 0; } description { state: "focused" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "clip"; type: RECT; mouse_events: 0; clip_to: "clip2"; description { state: "default" 0.0; rel1.offset: -10 0; rel2.offset: 9 9; } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; } } part { name: "bg"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; rel1.to: "base"; rel1.offset: -2 0; rel2.to: "base"; rel2.offset: 1 1; image.border: 2 2 2 2; image.normal: "cur_shad.png"; } } part { name: "base"; mouse_events: 0; scale: 1; clip_to: "clip"; description { state: "default" 0.0; min: 2 2; align: 0.5 1.0; rel1.relative: 0.0 1.0; rel1.offset: 0 -1; rel2.relative: 1.0 1.0; rel2.offset: -1 -1; image.normal: "cur_box.png"; } } part { name: "hi"; mouse_events: 0; clip_to: "clip"; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.5; image.normal: "cur_hi.png"; } } part { name: "shine"; mouse_events: 0; clip_to: "clip"; clip_to: "clip2"; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.75; image.border: 2 2 1 0; image.normal: "cur_shine.png"; fill.smooth: 0; } } part { name: "glow"; mouse_events: 0; clip_to: "clip2"; description { state: "default" 0.0; rel1.to: "base"; rel1.relative: 0.0 -2.0; rel1.offset: -2 0; rel2.to: "base"; rel2.relative: 1.0 0.0; rel2.offset: 1 1; image.border: 2 2 0 4; image.normal: "cur_glow.png"; fill.smooth: 0; } description { state: "hidden" 0.0; inherit: "default" 0.0; color: 255 255 255 0; } } } programs { program { name: "show"; signal: "show"; source: ""; action: STATE_SET "hidden" 0.0; in: 1.0 0.0; transition: DECELERATE 2.0; target: "glow"; after: "show2"; } program { name: "show2"; action: STATE_SET "hidden" 0.0; in: 0.2 0.0; target: "clip"; after: "show3"; } program { name: "show3"; action: STATE_SET "default" 0.0; in: 0.5 0.0; target: "clip"; after: "show4"; } program { name: "show4"; action: STATE_SET "default" 0.0; in: 0.5 0.0; transition: DECELERATE 0.5; target: "glow"; after: "show"; } program { name: "focused"; signal: "elm,action,focus"; source: "elm"; action: STATE_SET "focused" 0.0; target: "clip2"; } program { name: "unfocused"; signal: "elm,action,unfocus"; source: "elm"; action: STATE_SET "default" 0.0; target: "clip2"; } } } group { name: "elm/entry/selection/default"; parts { part { name: "bg"; type: RECT; mouse_events: 0; description { state: "default" 0.0; color: 128 128 128 128; } } } } group { name: "elm/entry/anchor/default"; parts { part { name: "bg"; type: RECT; mouse_events: 0; description { state: "default" 0.0; color: 128 0 0 64; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/bubble/top_left/default"; alias: "elm/bubble/base/default"; images { image: "bubble_3.png" COMP; image: "bubble_shine3.png" COMP; } parts { part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; fixed: 1 1; align: 0.0 0.0; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; offset: 4 4; } rel2 { to_y: "elm.text"; relative: 0.0 1.0; offset: 4 -1; } } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; fixed: 0 1; rel1 { to_x: "elm.swallow.icon"; relative: 1.0 0.0; offset: 4 4; } rel2 { to_x: "elm.info"; relative: 0.0 0.0; offset: -5 4; } color: 0 0 0 255; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 0 1; max: 0 1; align: 0.0 0.0; } } } part { name: "elm.info"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 1.0 0.0; fixed: 1 1; rel1 { relative: 1.0 0.0; offset: -5 4; } rel2 { relative: 1.0 0.0; offset: -5 4; } color: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 1 1; max: 1 1; align: 1.0 0.0; } } } part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; rel1 { to_y: "elm.swallow.icon"; relative: 0.0 1.0; offset: 0 0; } image { normal: "bubble_3.png"; border: 36 11 18 9; } fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1 { to: "base0"; offset: 9 16; } rel2 { to: "base0"; offset: -10 -9; } } } part { name: "shine"; mouse_events: 0; description { state: "default" 0.0; rel1 { to: "base0"; offset: 5 4; } rel2 { to: "base0"; relative: 1.0 0.5; offset: -6 7; } image { normal: "bubble_shine3.png"; border: 36 5 14 0; } fill.smooth: 0; } } } } group { name: "elm/bubble/top_right/default"; images { image: "bubble_4.png" COMP; image: "bubble_shine4.png" COMP; } parts { part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; fixed: 1 1; align: 1.0 0.0; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { relative: 1.0 0.0; offset: -5 4; } rel2 { to_y: "elm.text"; relative: 1.0 1.0; offset: -5 -1; } } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 0.0; fixed: 0 1; rel1 { relative: 0.0 0.0; offset: 4 4; } rel2 { to_x: "elm.info"; relative: 0.0 0.0; offset: -5 4; } color: 0 0 0 255; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 0 1; max: 0 1; align: 0.0 0.0; } } } part { name: "elm.info"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 1.0 0.0; fixed: 1 1; rel1 { relative: 1.0 0.0; offset: -5 4; } rel2 { to_x: "elm.swallow.icon"; relative: 0.0 0.0; offset: -5 4; } color: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 1 1; max: 1 1; align: 1.0 0.0; } } } part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; rel1 { to_y: "elm.swallow.icon"; relative: 0.0 1.0; offset: 0 0; } image { normal: "bubble_4.png"; border: 11 36 18 9; } fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1 { to: "base0"; offset: 9 16; } rel2 { to: "base0"; offset: -10 -9; } } } part { name: "shine"; mouse_events: 0; description { state: "default" 0.0; rel1 { to: "base0"; offset: 5 4; } rel2 { to: "base0"; relative: 1.0 0.5; offset: -6 7; } image { normal: "bubble_shine4.png"; border: 5 36 14 0; } fill.smooth: 0; } } } } group { name: "elm/bubble/bottom_left/default"; images { image: "bubble_1.png" COMP; image: "bubble_shine.png" COMP; } parts { part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; fixed: 1 1; align: 0.0 1.0; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { to_y: "elm.text"; relative: 0.0 0.0; offset: 4 0; } rel2 { relative: 0.0 1.0; offset: 4 -5; } } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 1.0; fixed: 0 1; rel1 { to_x: "elm.swallow.icon"; relative: 1.0 1.0; offset: 4 -5; } rel2 { to_x: "elm.info"; relative: 0.0 1.0; offset: -5 -5; } color: 0 0 0 255; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 0 1; max: 0 1; align: 0.0 1.0; } } } part { name: "elm.info"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 1.0 1.0; fixed: 1 1; rel1 { relative: 1.0 1.0; offset: -5 -5; } rel2 { relative: 1.0 1.0; offset: -5 -5; } color: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 1 1; max: 1 1; align: 1.0 1.0; } } } part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; rel2 { to_y: "elm.swallow.icon"; relative: 1.0 0.0; offset: -1 -1; } image { normal: "bubble_1.png"; border: 36 11 10 19; } fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1 { to: "base0"; offset: 9 8; } rel2 { to: "base0"; offset: -10 -17; } } } part { name: "shine"; mouse_events: 0; description { state: "default" 0.0; rel1 { to: "base0"; offset: 5 4; } rel2 { to: "base0"; relative: 1.0 0.5; offset: -6 -16; } image { normal: "bubble_shine.png"; border: 5 5 5 0; } fill.smooth: 0; } } } } group { name: "elm/bubble/bottom_right/default"; images { image: "bubble_2.png" COMP; image: "bubble_shine.png" COMP; } parts { part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; fixed: 1 1; align: 1.0 1.0; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { to_y: "elm.text"; relative: 1.0 0.0; offset: -5 0; } rel2 { relative: 1.0 1.0; offset: -5 -5; } } } part { name: "elm.text"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.0 1.0; fixed: 0 1; rel1 { relative: 0.0 1.0; offset: 4 -5; } rel2 { to_x: "elm.info"; relative: 0.0 1.0; offset: -5 -5; } color: 0 0 0 255; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 0 1; max: 0 1; align: 0.0 1.0; } } } part { name: "elm.info"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 1.0 1.0; fixed: 1 1; rel1 { relative: 1.0 1.0; offset: -5 -5; } rel2 { to_x: "elm.swallow.icon"; relative: 0.0 1.0; offset: -5 -5; } color: 0 0 0 64; text { font: "Sans:style=Bold,Edje-Vera-Bold"; size: 10; min: 1 1; max: 1 1; align: 1.0 1.0; } } } part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; rel2 { to_y: "elm.swallow.icon"; relative: 1.0 0.0; offset: -1 -1; } image { normal: "bubble_2.png"; border: 11 36 10 19; } fill.smooth: 0; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1 { to: "base0"; offset: 9 8; } rel2 { to: "base0"; offset: -10 -17; } } } part { name: "shine"; mouse_events: 0; description { state: "default" 0.0; rel1 { to: "base0"; offset: 5 4; } rel2 { to: "base0"; relative: 1.0 0.5; offset: -6 -16; } image { normal: "bubble_shine.png"; border: 5 5 5 0; } fill.smooth: 0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/photo/base/default"; images { image: "frame_1.png" COMP; image: "frame_2.png" COMP; image: "dia_grad.png" COMP; image: "head.png" COMP; } parts { part { name: "base0"; mouse_events: 0; description { state: "default" 0.0; image.normal: "dia_grad.png"; rel1.to: "over"; rel2.to: "over"; fill { smooth: 0; size { relative: 0.0 1.0; offset: 64 0; } } } } part { name: "base"; mouse_events: 0; description { state: "default" 0.0; image { normal: "frame_2.png"; border: 5 5 32 26; middle: 0; } fill.smooth : 0; } } part { name: "head"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; aspect: 1.0 1.0; aspect_preference: BOTH; image.normal: "head.png"; } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; } } part { name: "over"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: 4 4; rel2.offset: -5 -5; image { normal: "frame_1.png"; border: 2 2 28 22; middle: 0; } fill.smooth: 0; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/icon/home/default"; min: 32 32; images.image: "icon_home.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_home.png"; } } } } group { name: "elm/icon/close/default"; min: 32 32; images.image: "icon_close.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_close.png"; } } } } group { name: "elm/icon/apps/default"; min: 32 32; images.image: "icon_apps.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_apps.png"; } } } } group { name: "elm/icon/arrow_up/default"; min: 32 32; images.image: "icon_arrow_up.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_arrow_up.png"; } } } } group { name: "elm/icon/arrow_down/default"; min: 32 32; images.image: "icon_arrow_down.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_arrow_down.png"; } } } } group { name: "elm/icon/arrow_left/default"; min: 32 32; images.image: "icon_arrow_left.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_arrow_left.png"; } } } } group { name: "elm/icon/arrow_right/default"; min: 32 32; images.image: "icon_arrow_right.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_arrow_right.png"; } } } } group { name: "elm/icon/chat/default"; min: 32 32; images.image: "icon_chat.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_chat.png"; } } } } group { name: "elm/icon/clock/default"; min: 32 32; images.image: "icon_clock.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_clock.png"; } } } } group { name: "elm/icon/delete/default"; min: 32 32; images.image: "icon_delete.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_delete.png"; } } } } group { name: "elm/icon/edit/default"; min: 32 32; images.image: "icon_edit.png" COMP; parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0; image.normal: "icon_edit.png"; } } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/toolbar/base/default"; images { image: "bt_dis_base.png" COMP; image: "bt_dis_hilight.png" COMP; image: "bt_dis_shine.png" COMP; image: "icon_left_arrow.png" COMP; image: "icon_right_arrow.png" COMP; } parts { part { name: "base"; mouse_events: 1; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: 2 2; } rel2.offset: -3 -3; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } } part { name: "clipper"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1 { to: "base"; offset: 2 2; } rel2 { to: "base"; offset: -3 -3; } } } part { name: "elm.swallow.content"; clip_to: "clipper"; type: SWALLOW; description { state: "default" 0.0; rel1.to: "clipper"; rel2.to: "clipper"; } } part { name: "over2"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; image { normal: "bt_dis_shine.png"; border: 4 4 4 4; } } } part { name: "over1"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } color: 255 255 255 128; } } part { name: "left_arrow"; mouse_events: 0; description { state: "default" 0.0; image.normal: "icon_left_arrow.png"; aspect: 1.0 1.0; aspect_preference: VERTICAL; align: 0.0 0.5; min: 32 32; max: 32 32; } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; color: 255 255 255 0; } } part { name: "right_arrow"; mouse_events: 0; description { state: "default" 0.0; image.normal: "icon_right_arrow.png"; aspect: 1.0 1.0; aspect_preference: VERTICAL; align: 1.0 0.5; min: 32 32; max: 32 32; } description { state: "hidden" 0.0; inherit: "default" 0.0; visible: 0; color: 255 255 255 0; } } part { name: "event"; type: RECT; mouse_events: 1; repeat_events: 1; description { state: "default" 0.0; color: 0 0 0 0; } } } programs { program { name: "sb_hbar_show"; signal: "elm,action,show,hbar"; source: "elm"; action: STATE_SET "default" 0.0; transition: LINEAR 0.5; target: "left_arrow"; target: "right_arrow"; } program { name: "sb_hbar_hide"; signal: "elm,action,hide,hbar"; source: "elm"; action: STATE_SET "hidden" 0.0; target: "left_arrow"; target: "right_arrow"; transition: LINEAR 0.5; } } } group { name: "elm/toolbar/item/default"; images { image: "toolbar_sel.png" COMP; } parts { part { name: "label2"; type: TEXT; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.5 1.0; fixed: 0 1; rel1.to: "elm.text"; rel2.to: "elm.text"; color: 0 0 0 255; text { font: "Sans"; text_source: "elm.text"; size: 10; min: 1 1; align: 0.5 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 0; } } part { name: "bg"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; image { normal: "toolbar_sel.png"; border: 3 3 0 0; } fill.smooth: 0; } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; align: 0.5 0.5; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; offset: 2 2; } rel2 { to_y: "elm.text"; relative: 1.0 0.0; offset: -3 -1; } color: 0 0 0 0; } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; align: 0.5 1.0; fixed: 0 1; rel1 { relative: 0.0 1.0; offset: 0 -1; } rel2 { relative: 1.0 1.0; offset: -1 -1; } visible: 0; color: 224 224 224 255; color3: 0 0 0 32; text { font: "Sans:style=Bold"; size: 10; min: 1 1; align: 0.5 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; } } part { name: "event"; type: RECT; mouse_events: 1; ignore_flags: ON_HOLD; description { state: "default" 0.0; color: 0 0 0 0; } } } programs { program { name: "go_active"; signal: "elm,state,selected"; source: "elm"; action: STATE_SET "selected" 0.0; target: "bg"; target: "elm.text"; target: "label2"; transition: LINEAR 0.2; } program { name: "go_passive"; signal: "elm,state,unselected"; source: "elm"; action: STATE_SET "default" 0.0; target: "bg"; target: "elm.text"; target: "label2"; transition: LINEAR 0.1; } program { name: "go"; signal: "mouse,up,1"; source: "event"; action: SIGNAL_EMIT "elm,action,click" "elm"; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/win/inwin/default"; images { image: "shad_circ.png" COMP; image: "bt_dis_base.png" COMP; image: "bt_dis_hilight.png" COMP; } parts { part { name: "base"; type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 0 0 0 0; } description { state: "visible" 0.0; inherit: "default" 1.0; color: 0 0 0 64; } } part { name: "shad"; mouse_events: 0; description { state: "default" 0.0; image.normal: "shad_circ.png"; rel1.to: "elm.swallow.content"; rel1.offset: -64 -64; rel2.to: "elm.swallow.content"; rel2.offset: 63 63; fill.smooth: 0; } } part { name: "pop"; mouse_events: 1; description { state: "default" 0.0; rel1.to: "elm.swallow.content"; rel1.offset: -5 -5; rel2.to: "elm.swallow.content"; rel2.offset: 4 4; image { normal: "bt_dis_base.png"; border: 4 4 4 4; } } } part { name: "popover"; mouse_events: 0; description { state: "default" 0.0; rel1.to: "pop"; rel2.to: "pop"; rel2.relative: 1.0 0.5; image { normal: "bt_dis_hilight.png"; border: 4 4 4 0; } } } part { name: "elm.swallow.content"; type: SWALLOW; description { state: "default" 0.0; rel1.relative: 0.2 0.2; rel2.relative: 0.8 0.8; } } } programs { program { name: "show"; signal: "elm,action,show"; source: "elm"; action: STATE_SET "visible" 0.0; // transition: DECELERATE 0.5; target: "base"; } program { name: "hide"; signal: "elm,action,hide"; source: "elm"; action: STATE_SET "default" 0.0; // transition: DECELERATE 0.5; target: "base"; } } } /////////////////////////////////////////////////////////////////////////////// group { name: "elm/list/item/default"; data.item: "stacking" "above"; data.item: "selectraise" "on"; images { image: "bt_sm_base1.png" COMP; image: "bt_sm_shine.png" COMP; image: "bt_sm_hilight.png" COMP; image: "ilist_1.png" COMP; image: "ilist_item_shadow.png" COMP; } parts { part { name: "base_sh"; mouse_events: 0; description { state: "default" 0.0; // aspect: 6.4 6.4; // aspect_preference: HORIZONTAL; align: 0.0 0.0; min: 0 10; rel1 { to: "base"; relative: 0.0 1.0; offset: 0 0; } rel2 { to: "base"; relative: 1.0 1.0; offset: -1 0; } image { normal: "ilist_item_shadow.png"; } fill.smooth: 0; } } part { name: "base"; mouse_events: 0; description { state: "default" 0.0; image { normal: "ilist_1.png"; border: 2 2 2 2; } fill.smooth: 0; } } part { name: "bg"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1 { relative: 0.0 0.0; offset: -5 -5; } rel2 { relative: 1.0 1.0; offset: 4 4; } image { normal: "bt_sm_base1.png"; border: 6 6 6 6; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; rel1 { relative: 0.0 0.0; offset: -2 -2; } rel2 { relative: 1.0 1.0; offset: 1 1; } } } part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.5; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; offset: 4 4; } rel2 { relative: 0.0 1.0; offset: 4 -5; } } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 16 16; rel1 { to_x: "elm.swallow.icon"; relative: 1.0 0.0; offset: 4 4; } rel2 { relative: 1.0 1.0; offset: -5 -5; } color: 0 0 0 255; color3: 0 0 0 0; text { font: "Sans"; size: 10; min: 1 1; // min: 0 1; align: 0.0 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: 224 224 224 255; color3: 0 0 0 64; } } part { name: "fg1"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1.to: "bg"; rel2.relative: 1.0 0.5; rel2.to: "bg"; image { normal: "bt_sm_hilight.png"; border: 6 6 6 0; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } part { name: "fg2"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1.to: "bg"; rel2.to: "bg"; image { normal: "bt_sm_shine.png"; border: 6 6 6 0; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } part { name: "event"; type: RECT; description { state: "default" 0.0; color: 0 0 0 0; } } } programs { program { name: "go_active"; signal: "elm,state,selected"; source: "elm"; action: STATE_SET "selected" 0.0; target: "bg"; target: "fg1"; target: "fg2"; target: "elm.text"; } program { name: "go_passive"; signal: "elm,state,unselected"; source: "elm"; action: STATE_SET "default" 0.0; target: "bg"; target: "fg1"; target: "fg2"; target: "elm.text"; transition: LINEAR 0.1; } } } group { name: "elm/list/item_odd/default"; data.item: "stacking" "below"; data.item: "selectraise" "on"; images { image: "bt_sm_base1.png" COMP; image: "bt_sm_shine.png" COMP; image: "bt_sm_hilight.png" COMP; image: "ilist_2.png" COMP; } parts { part { name: "base"; mouse_events: 0; description { state: "default" 0.0; image { normal: "ilist_2.png"; border: 2 2 2 2; } } } part { name: "bg"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1 { relative: 0.0 0.0; offset: -5 -5; } rel2 { relative: 1.0 1.0; offset: 4 4; } image { normal: "bt_sm_base1.png"; border: 6 6 6 6; } fill.smooth: 0; } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; rel1 { relative: 0.0 0.0; offset: -2 -2; } rel2 { relative: 1.0 1.0; offset: 1 1; } } } part { name: "elm.swallow.icon"; type: SWALLOW; description { state: "default" 0.0; align: 0.0 0.5; aspect: 1.0 1.0; aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; offset: 4 4; } rel2 { relative: 0.0 1.0; offset: 4 -5; } } } part { name: "elm.text"; type: TEXT; effect: SOFT_SHADOW; mouse_events: 0; scale: 1; description { state: "default" 0.0; min: 16 16; rel1 { to_x: "elm.swallow.icon"; relative: 1.0 0.0; offset: 4 4; } rel2 { relative: 1.0 1.0; offset: -5 -5; } color: 0 0 0 255; color3: 0 0 0 0; text { font: "Sans"; size: 10; min: 1 1; // min: 0 1; align: 0.0 0.5; } } description { state: "selected" 0.0; inherit: "default" 0.0; color: 224 224 224 255; color3: 0 0 0 64; } } part { name: "fg1"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1.to: "bg"; rel2.relative: 1.0 0.5; rel2.to: "bg"; image { normal: "bt_sm_hilight.png"; border: 6 6 6 0; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } part { name: "fg2"; mouse_events: 0; description { state: "default" 0.0; visible: 0; color: 255 255 255 0; rel1.to: "bg"; rel2.to: "bg"; image { normal: "bt_sm_shine.png"; border: 6 6 6 0; } } description { state: "selected" 0.0; inherit: "default" 0.0; visible: 1; color: 255 255 255 255; } } part { name: "event"; type: RECT; description { state: "default" 0.0; color: 0 0 0 0; } } } programs { program { name: "go_active"; signal: "elm,state,selected"; source: "elm"; action: STATE_SET "selected" 0.0; target: "bg"; target: "fg1"; target: "fg2"; target: "elm.text"; } program { name: "go_passive"; signal: "elm,state,unselected"; source: "elm"; action: STATE_SET "default" 0.0; target: "bg"; target: "fg1"; target: "fg2"; target: "elm.text"; transition: LINEAR 0.1; } } } }