2008-08-31 18:01:36 +00:00
|
|
|
// incall.edc
|
|
|
|
// this is a theme for epydial, a pyneo dialer
|
|
|
|
//
|
|
|
|
// TODO: make the font colors shinier :)
|
|
|
|
//
|
2008-09-07 14:52:44 +00:00
|
|
|
// Signal1: "dialer_incall_send"
|
|
|
|
// Parameter1.1: "Accept Call"
|
|
|
|
// Parameter1.2: "Hangup Call"
|
2008-08-31 18:01:36 +00:00
|
|
|
|
|
|
|
data {
|
|
|
|
item: "author" "thomasg [thomas (a) gstaedtner (.) net]";
|
|
|
|
item: "version" "prototype";
|
2008-09-08 17:46:22 +00:00
|
|
|
item: "name" "epydial_blackwhite";
|
2008-08-31 18:01:36 +00:00
|
|
|
}
|
|
|
|
|
2008-09-07 14:52:44 +00:00
|
|
|
images {
|
|
|
|
image: "yes.png" COMP;
|
|
|
|
image: "no.png" COMP;
|
|
|
|
image: "caller.png" COMP;
|
2008-09-15 14:34:19 +00:00
|
|
|
image: "bg.png" COMP;
|
2008-09-07 14:52:44 +00:00
|
|
|
}
|
|
|
|
|
2008-08-31 18:01:36 +00:00
|
|
|
color_classes {
|
|
|
|
color_class {
|
|
|
|
name: "button_inactive";
|
|
|
|
color: 255 255 255 255;
|
|
|
|
color2: 25 215 0 255;
|
|
|
|
color3: 25 215 0 255;
|
|
|
|
}
|
|
|
|
color_class {
|
|
|
|
name: "button_active";
|
|
|
|
color: 0 0 0 255;
|
|
|
|
color2: 0 0 0 255;
|
|
|
|
color3: 0 0 0 255;
|
|
|
|
}
|
2008-09-07 14:52:44 +00:00
|
|
|
color_class {
|
|
|
|
name: "active";
|
|
|
|
color: 255 255 255 128;
|
|
|
|
color2: 128 128 128 255;
|
|
|
|
color3: 128 128 128 255;
|
|
|
|
}
|
2008-08-31 18:01:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
collections {
|
|
|
|
group {
|
|
|
|
name: "pyneo/dialer/incall";
|
|
|
|
min: 100 100;
|
|
|
|
max: 800 800;
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "background";
|
2008-09-15 14:34:19 +00:00
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
state: "default" 0;
|
|
|
|
rel1 { relative: 0 0; offset: 0 0; };
|
|
|
|
rel2 { relative: 1 1; offset: 0 0; };
|
|
|
|
image { normal: "bg.png"; };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "background_rect";
|
2008-09-07 14:52:44 +00:00
|
|
|
type: RECT;
|
2008-08-31 18:01:36 +00:00
|
|
|
description {
|
2008-09-07 14:52:44 +00:00
|
|
|
color_class: "active";
|
2008-08-31 18:01:36 +00:00
|
|
|
state: "default" 0;
|
2008-09-07 14:52:44 +00:00
|
|
|
rel1 { relative: 0 6/20; };
|
|
|
|
rel2 { relative: 1 14/20; };
|
2008-08-31 18:01:36 +00:00
|
|
|
}
|
|
|
|
}
|
2008-09-07 14:52:44 +00:00
|
|
|
part {
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "incall_number_text";
|
2008-09-07 14:52:44 +00:00
|
|
|
type: TEXT;
|
|
|
|
description {
|
|
|
|
color_class: "button_inactive";
|
|
|
|
state: "default" 0;
|
|
|
|
rel1 { relative: 0 6/20; }
|
|
|
|
rel2 { relative: 1 8/20; }
|
|
|
|
text { text, "number"; font: "Sans"; size, 1; align, 0.5 0.5; fit, 0 1; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "incall_image";
|
2008-09-07 14:52:44 +00:00
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
rel1 { relative: 1/2 1/2;
|
|
|
|
offset: -80 -80;
|
|
|
|
}
|
|
|
|
rel2 { relative: 1/2 1/2;
|
|
|
|
offset: 80 80;
|
|
|
|
}
|
|
|
|
image { normal: "caller.png"; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "incall_accept_call";
|
2008-09-07 14:52:44 +00:00
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
rel1 {
|
|
|
|
relative: 1/8 0.7;
|
|
|
|
offset: -50 -110;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1/8 0.7;
|
|
|
|
offset: 50 -10;
|
|
|
|
}
|
|
|
|
image { normal: "yes.png"; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program { \
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "button_incall_accept_call_signal_emit"; \
|
2008-09-07 14:52:44 +00:00
|
|
|
signal: "mouse,down,*"; \
|
2008-09-08 17:46:22 +00:00
|
|
|
source: "incall_accept_call"; \
|
2008-09-07 14:52:44 +00:00
|
|
|
action: SIGNAL_EMIT "dialer_incall_send" "Accept Call"; \
|
|
|
|
} \
|
|
|
|
part {
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "incall_hangup_call";
|
2008-09-07 14:52:44 +00:00
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
rel1 {
|
|
|
|
relative: 7/8 0.7;
|
|
|
|
offset: -50 -110;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 7/8 0.7;
|
|
|
|
offset: 50 -10;
|
|
|
|
}
|
|
|
|
image { normal: "no.png"; }
|
2008-09-08 17:46:22 +00:00
|
|
|
}
|
2008-09-07 14:52:44 +00:00
|
|
|
}
|
|
|
|
program { \
|
2008-09-08 17:46:22 +00:00
|
|
|
name: "button_incall_hangup_call_signal_emit"; \
|
2008-09-07 14:52:44 +00:00
|
|
|
signal: "mouse,down,*"; \
|
2008-09-08 17:46:22 +00:00
|
|
|
source: "incall_hangup_call"; \
|
2008-09-07 14:52:44 +00:00
|
|
|
action: SIGNAL_EMIT "dialer_incall_send" "Hangup Call"; \
|
|
|
|
} \
|
2008-08-31 18:01:36 +00:00
|
|
|
}
|
|
|
|
}
|
2008-09-08 17:46:22 +00:00
|
|
|
}
|