update blackwhite theme
git-svn-id: http://www.neo1973-germany.de/svn@140 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
387dafaf5d
commit
cd4acf969e
4 changed files with 48 additions and 10 deletions
|
@ -5,9 +5,9 @@
|
||||||
//
|
//
|
||||||
// Signal1: "dialer_send"
|
// Signal1: "dialer_send"
|
||||||
// Parameter1.1: $"keynumber"
|
// Parameter1.1: $"keynumber"
|
||||||
// Parameter1.2: "backspace_down"
|
// Parameter1.2: "backspace"
|
||||||
// Parameter1.2: "backspace_up"
|
// Parameter1.3: "clear"
|
||||||
// Parameter1.2: "dial"
|
// Parameter1.4: "dial"
|
||||||
|
|
||||||
data {
|
data {
|
||||||
item: "author" "thomasg [thomas (a) gstaedtner (.) net]";
|
item: "author" "thomasg [thomas (a) gstaedtner (.) net]";
|
||||||
|
@ -154,7 +154,34 @@ collections {
|
||||||
group {
|
group {
|
||||||
name: "pyneo/dialer/main";
|
name: "pyneo/dialer/main";
|
||||||
min: 100 100;
|
min: 100 100;
|
||||||
max: 800 800;
|
max: 1000 1000;
|
||||||
|
script {
|
||||||
|
public flag_timer_running;
|
||||||
|
public flag_backspace_sent;
|
||||||
|
public timer_id;
|
||||||
|
|
||||||
|
public clear_timer() {
|
||||||
|
set_int(flag_backspace_sent, 0);
|
||||||
|
set_int(flag_timer_running, 1);
|
||||||
|
timer_id = timer(2, "clear_send", 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public clear_send() {
|
||||||
|
if (get_int(flag_backspace_sent) == 0) {
|
||||||
|
set_int(flag_timer_running, 0);
|
||||||
|
run_program(PROGRAM:"numberdisplay_backspace_emit_signal_clear");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public backspace_send() {
|
||||||
|
if (get_int(flag_timer_running) == 1) {
|
||||||
|
cancel_timer(get_int(timer_id));
|
||||||
|
set_int(flag_backspace_sent, 1);
|
||||||
|
run_program(PROGRAM:"numberdisplay_backspace_emit_signal_backspace");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
parts {
|
parts {
|
||||||
part {
|
part {
|
||||||
name: "background";
|
name: "background";
|
||||||
|
@ -292,7 +319,6 @@ collections {
|
||||||
name: "numberdisplay_backspace";
|
name: "numberdisplay_backspace";
|
||||||
type: TEXT;
|
type: TEXT;
|
||||||
mouse_events: 0;
|
mouse_events: 0;
|
||||||
effect: GLOW;
|
|
||||||
description {
|
description {
|
||||||
state: "default" 0;
|
state: "default" 0;
|
||||||
color_class: "button_inactive";
|
color_class: "button_inactive";
|
||||||
|
@ -337,16 +363,28 @@ collections {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "numberdisplay_backspace_area_down_signal_emit";
|
name: "numberdisplay_backspace_area_signal_emit";
|
||||||
signal: "mouse,down,*";
|
signal: "mouse,down,*";
|
||||||
source: "numberdisplay_backspace_area";
|
source: "numberdisplay_backspace_area";
|
||||||
action: SIGNAL_EMIT "dialer_send" "backspace_down";
|
script {
|
||||||
|
clear_timer();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "numberdisplay_backspace_area_up_signal_emit";
|
name: "numberdisplay_backspace_area_signal_stop";
|
||||||
signal: "mouse,up,*";
|
signal: "mouse,up,*";
|
||||||
source: "numberdisplay_backspace_area";
|
source: "numberdisplay_backspace_area";
|
||||||
action: SIGNAL_EMIT "dialer_send" "backspace_up";
|
script {
|
||||||
|
backspace_send();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "numberdisplay_backspace_emit_signal_backspace";
|
||||||
|
action: SIGNAL_EMIT "dialer_send" "backspace";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "numberdisplay_backspace_emit_signal_clear";
|
||||||
|
action: SIGNAL_EMIT "dialer_send" "clear";
|
||||||
}
|
}
|
||||||
program {
|
program {
|
||||||
name: "numberdisplay_backspace_area_animation_start";
|
name: "numberdisplay_backspace_area_animation_start";
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -16,7 +16,7 @@ FULLSCREEN = True
|
||||||
APP_TITLE = "epydial"
|
APP_TITLE = "epydial"
|
||||||
WM_INFO = ("epydial", "epydial")
|
WM_INFO = ("epydial", "epydial")
|
||||||
|
|
||||||
EDJE_FILE_PATH = "data/themes/default/"
|
EDJE_FILE_PATH = "data/themes/blackwhite/"
|
||||||
|
|
||||||
MAIN_SCREEN_NAME = "pyneo/dialer/main"
|
MAIN_SCREEN_NAME = "pyneo/dialer/main"
|
||||||
INCALL_SCREEN_NAME = "pyneo/dialer/incall"
|
INCALL_SCREEN_NAME = "pyneo/dialer/incall"
|
||||||
|
|
Loading…
Reference in a new issue