2011-08-02 07:07:53 -07:00
|
|
|
group { name: "elm/map/base/default";
|
|
|
|
script {
|
|
|
|
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
|
|
|
|
public timer0(val) {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbvis_v);
|
|
|
|
if (v) {
|
|
|
|
v = get_int(sbalways_v);
|
|
|
|
if (!v) {
|
|
|
|
emit("do-hide-vbar", "");
|
|
|
|
set_int(sbvis_v, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
v = get_int(sbvis_h);
|
|
|
|
if (v) {
|
|
|
|
v = get_int(sbalways_h);
|
|
|
|
if (!v) {
|
|
|
|
emit("do-hide-hbar", "");
|
|
|
|
set_int(sbvis_h, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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: "busy-1.png" COMP;
|
|
|
|
image: "busy-2.png" COMP;
|
|
|
|
image: "busy-3.png" COMP;
|
|
|
|
image: "busy-4.png" COMP;
|
|
|
|
image: "busy-5.png" COMP;
|
|
|
|
image: "busy-6.png" COMP;
|
|
|
|
image: "busy-7.png" COMP;
|
|
|
|
image: "busy-8.png" COMP;
|
|
|
|
image: "busy-9.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: "busy_clip";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "busy";
|
|
|
|
clip_to: "busy_clip";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 32 32;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
align: 1.0 1.0;
|
|
|
|
aspect_preference: BOTH;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.9 0.9;
|
|
|
|
offset: -9 -9;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 0.9 0.9;
|
|
|
|
offset: -9 -9;
|
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "busy-9.png";
|
|
|
|
tween: "busy-1.png";
|
|
|
|
tween: "busy-2.png";
|
|
|
|
tween: "busy-3.png";
|
|
|
|
tween: "busy-4.png";
|
|
|
|
tween: "busy-5.png";
|
|
|
|
tween: "busy-6.png";
|
|
|
|
tween: "busy-7.png";
|
|
|
|
tween: "busy-8.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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_master";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "hidden" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sb_vbar_clip";
|
|
|
|
clip_to: "sb_vbar_clip_master";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "hidden" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sb_vbar";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
visible: 0;
|
|
|
|
min: 10 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: "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: 10 17;
|
|
|
|
max: 10 99999;
|
|
|
|
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;
|
|
|
|
middle: SOLID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
|
2011-08-02 07:07:53 -07:00
|
|
|
part { name: "sb_hbar_clip_master";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "hidden" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sb_hbar_clip";
|
|
|
|
clip_to: "sb_hbar_clip_master";
|
|
|
|
type: RECT;
|
|
|
|
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 10;
|
|
|
|
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: "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 10;
|
|
|
|
max: 99999 10;
|
|
|
|
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: 4 4 4 4;
|
|
|
|
middle: SOLID;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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: 4 4 4 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: 4 4 4 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(sbalways_v, 0);
|
|
|
|
set_int(sbalways_h, 0);
|
|
|
|
set_int(sbvis_timer, 0);
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
|
2011-08-02 07:07:53 -07:00
|
|
|
program { name: "vbar_show";
|
|
|
|
signal: "elm,action,show,vbar";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "sb_vbar_clip_master";
|
|
|
|
}
|
|
|
|
program { name: "vbar_hide";
|
|
|
|
signal: "elm,action,hide,vbar";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
target: "sb_vbar_clip_master";
|
|
|
|
}
|
|
|
|
program { name: "vbar_show_always";
|
|
|
|
signal: "elm,action,show_always,vbar";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbvis_v);
|
|
|
|
v |= get_int(sbalways_v);
|
|
|
|
if (!v) {
|
|
|
|
set_int(sbalways_v, 1);
|
|
|
|
emit("do-show-vbar", "");
|
|
|
|
set_int(sbvis_v, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "vbar_show_notalways";
|
|
|
|
signal: "elm,action,show_notalways,vbar";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbalways_v);
|
|
|
|
if (v) {
|
|
|
|
set_int(sbalways_v, 0);
|
|
|
|
v = get_int(sbvis_v);
|
|
|
|
if (!v) {
|
|
|
|
emit("do-hide-vbar", "");
|
|
|
|
set_int(sbvis_v, 0);
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "sb_vbar_show";
|
|
|
|
signal: "do-show-vbar";
|
|
|
|
source: "";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "sb_vbar_clip";
|
|
|
|
}
|
|
|
|
program { name: "sb_vbar_hide";
|
|
|
|
signal: "do-hide-vbar";
|
|
|
|
source: "";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "sb_vbar_clip";
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
|
2011-08-02 07:07:53 -07:00
|
|
|
program { name: "hbar_show";
|
|
|
|
signal: "elm,action,show,hbar";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "sb_hbar_clip_master";
|
|
|
|
}
|
|
|
|
program { name: "hbar_hide";
|
|
|
|
signal: "elm,action,hide,hbar";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
target: "sb_hbar_clip_master";
|
|
|
|
}
|
|
|
|
program { name: "hbar_show_always";
|
|
|
|
signal: "elm,action,show_always,hbar";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbvis_h);
|
|
|
|
v |= get_int(sbalways_h);
|
|
|
|
if (!v) {
|
|
|
|
set_int(sbalways_h, 1);
|
|
|
|
emit("do-show-hbar", "");
|
|
|
|
set_int(sbvis_h, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "hbar_show_notalways";
|
|
|
|
signal: "elm,action,show_notalways,hbar";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbalways_h);
|
|
|
|
if (v) {
|
|
|
|
set_int(sbalways_h, 0);
|
|
|
|
v = get_int(sbvis_h);
|
|
|
|
if (!v) {
|
|
|
|
emit("do-hide-hbar", "");
|
|
|
|
set_int(sbvis_h, 0);
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "sb_hbar_show";
|
|
|
|
signal: "do-show-hbar";
|
|
|
|
source: "";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "sb_hbar_clip";
|
|
|
|
}
|
|
|
|
program { name: "sb_hbar_hide";
|
|
|
|
signal: "do-hide-hbar";
|
|
|
|
source: "";
|
|
|
|
action: STATE_SET "hidden" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "sb_hbar_clip";
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
|
2011-08-02 07:07:53 -07:00
|
|
|
program { name: "scroll";
|
|
|
|
signal: "elm,action,scroll";
|
|
|
|
source: "elm";
|
|
|
|
script {
|
|
|
|
new v;
|
|
|
|
v = get_int(sbvis_v);
|
|
|
|
v |= get_int(sbalways_v);
|
|
|
|
if (!v) {
|
|
|
|
emit("do-show-vbar", "");
|
|
|
|
set_int(sbvis_v, 1);
|
|
|
|
}
|
|
|
|
v = get_int(sbvis_h);
|
|
|
|
v |= get_int(sbalways_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(1.0, "timer0", 0);
|
|
|
|
set_int(sbvis_timer, v);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "go1";
|
|
|
|
signal: "elm,state,busy,start";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "busy_clip";
|
|
|
|
}
|
|
|
|
program { name: "go2";
|
|
|
|
signal: "elm,state,busy,start";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "busy";
|
|
|
|
after: "go2";
|
|
|
|
}
|
|
|
|
program { name: "stop1";
|
|
|
|
signal: "elm,state,busy,stop";
|
|
|
|
source: "elm";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "busy_clip";
|
|
|
|
after: "stop2";
|
|
|
|
}
|
|
|
|
program { name: "stop2";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "go2";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group { name: "elm/map/marker/radio/default";
|
|
|
|
data {
|
|
|
|
item: size_w 24;
|
|
|
|
item: size_h 24;
|
|
|
|
item: size_max_w 58;
|
|
|
|
item: size_max_h 58;
|
|
|
|
}
|
|
|
|
images {
|
2012-03-21 22:23:19 -07:00
|
|
|
image: "radio2.png" COMP;
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "whole";
|
2011-11-02 18:44:54 -07:00
|
|
|
type: RECT;
|
2011-08-02 07:07:53 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base";
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
2012-03-21 22:23:19 -07:00
|
|
|
image.normal: "radio2.png";
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.icon";
|
|
|
|
type: SWALLOW;
|
|
|
|
clip_to: "whole";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.27 0.27;
|
|
|
|
rel2.relative: 0.73 0.73;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.text";
|
|
|
|
type: TEXT;
|
|
|
|
effect: SOFT_SHADOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
color: 224 224 224 255;
|
|
|
|
color3: 0 0 0 64;
|
|
|
|
rel1.relative: 0.28 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
text {
|
|
|
|
font: "Sans,Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "open";
|
|
|
|
signal: "mouse,clicked,1";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "open" "elm";
|
|
|
|
}
|
|
|
|
program { name: "bringin";
|
|
|
|
signal: "mouse,down,1,double";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "bringin" "elm";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group { name: "elm/map/marker/radio2/default";
|
|
|
|
data {
|
|
|
|
item: size_w 24;
|
|
|
|
item: size_h 24;
|
|
|
|
item: size_max_w 58;
|
|
|
|
item: size_max_h 58;
|
|
|
|
}
|
|
|
|
images {
|
|
|
|
image: "map_item_2.png" COMP;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "base";
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "map_item_2.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.text";
|
|
|
|
type: TEXT;
|
|
|
|
effect: SOFT_SHADOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
color: 224 224 224 255;
|
|
|
|
color3: 0 0 0 64;
|
|
|
|
rel1.relative: 0.28 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
text {
|
|
|
|
font: "Sans,Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
programs {
|
|
|
|
program { name: "open";
|
|
|
|
signal: "mouse,clicked,1";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "open" "elm";
|
|
|
|
}
|
|
|
|
program { name: "bringin";
|
|
|
|
signal: "mouse,down,1,double";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "bringin" "elm";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group { name: "elm/map/marker/empty/default";
|
|
|
|
data {
|
|
|
|
item: size_w 22;
|
|
|
|
item: size_h 22;
|
|
|
|
item: size_max_w 64;
|
|
|
|
item: size_max_h 64;
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
parts {
|
|
|
|
part { name: "whole";
|
2011-11-02 18:44:54 -07:00
|
|
|
type: RECT;
|
2011-08-02 07:07:53 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base";
|
2012-08-28 17:51:09 -07:00
|
|
|
type: RECT;
|
2011-08-02 07:07:53 -07:00
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.icon";
|
|
|
|
type: SWALLOW;
|
|
|
|
clip_to: "whole";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.text";
|
|
|
|
type: TEXT;
|
|
|
|
effect: SOFT_SHADOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
color: 224 224 224 255;
|
|
|
|
color3: 0 0 0 64;
|
|
|
|
rel1.relative: 0.28 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
text {
|
|
|
|
font: "Sans,Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 0 0;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
programs {
|
|
|
|
program { name: "open";
|
|
|
|
signal: "mouse,clicked,1";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "open" "elm";
|
|
|
|
}
|
|
|
|
program { name: "bringin";
|
|
|
|
signal: "mouse,down,1,double";
|
|
|
|
source: "base";
|
|
|
|
action: SIGNAL_EMIT "bringin" "elm";
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
group { name: "elm/map/marker_bubble/default";
|
|
|
|
images {
|
2011-08-02 02:47:05 -07:00
|
|
|
image: "bubble.png" COMP;
|
|
|
|
image: "bubble_shine.png" COMP;
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
data {
|
|
|
|
item: size_w 400;
|
|
|
|
item: size_h 100;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "clipper";
|
2012-01-13 15:45:53 -08:00
|
|
|
type: RECT;
|
2011-08-02 07:07:53 -07:00
|
|
|
mouse_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "show" 0.0;
|
2011-08-02 02:47:05 -07:00
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
2011-08-02 07:07:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base0";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "clipper";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image {
|
|
|
|
normal: "bubble.png";
|
|
|
|
border: 11 36 10 19;
|
|
|
|
}
|
|
|
|
image.middle: SOLID;
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
description { state: "rtl" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image {
|
|
|
|
normal: "bubble_4.png";
|
|
|
|
border: 11 36 18 9;
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
|
|
|
part { name: "elm.swallow.content";
|
2011-08-02 07:07:53 -07:00
|
|
|
type: SWALLOW;
|
|
|
|
clip_to: "clipper";
|
|
|
|
description { state: "default" 0.0;
|
2011-08-02 02:47:05 -07:00
|
|
|
align: 0.5 0.5;
|
2011-08-02 07:07:53 -07:00
|
|
|
rel1 {
|
|
|
|
offset: 9 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
offset: -10 -17;
|
|
|
|
}
|
|
|
|
}
|
2011-08-02 02:47:05 -07:00
|
|
|
}
|
|
|
|
part { name: "shine";
|
2011-08-02 07:07:53 -07:00
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "clipper";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1 {
|
|
|
|
to: "base0";
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
to: "base0";
|
|
|
|
relative: 1.0 0.5;
|
|
|
|
}
|
|
|
|
image {
|
|
|
|
normal: "bubble_shine.png";
|
|
|
|
border: 5 5 5 0;
|
|
|
|
}
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { name: "show";
|
|
|
|
signal: "show";
|
|
|
|
action: STATE_SET "show" 0.0;
|
|
|
|
target: "clipper";
|
|
|
|
transition: ACCELERATE 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-03-22 03:40:04 -07:00
|
|
|
group { name: "elm/map/circle/base/default";
|
|
|
|
images {
|
|
|
|
image: "map_circle.png" COMP;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "base";
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "map_circle.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group { name: "elm/map/scale/base/default";
|
|
|
|
data {
|
|
|
|
item: size_w 100;
|
|
|
|
item: size_h 25;
|
|
|
|
}
|
|
|
|
images {
|
|
|
|
image: "map_scale.png" COMP;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part { name: "base";
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "map_scale.png";
|
|
|
|
image.border: 10 10 10 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "elm.text";
|
|
|
|
type: TEXT;
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
effect: SOFT_SHADOW;
|
|
|
|
mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 224 224 224 255;
|
|
|
|
color3: 0 0 0 64;
|
|
|
|
rel1 {
|
|
|
|
relative: 0 0;
|
|
|
|
offset: 1 1;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1 1;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
text {
|
|
|
|
font: "Sans,Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 0 0;
|
|
|
|
align: 0.1 0.5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|