Add text part for erase progress.

This commit is contained in:
Jaime Thomas 2008-11-05 15:48:37 +00:00
parent 2ce5116e67
commit c39fda7b86
2 changed files with 42 additions and 2 deletions

View File

@ -146,6 +146,45 @@ group {
}
}
part {
name: "progress_text";
type: TEXT;
effect: SOFT_SHADOW;
description {
state: "default" 0.0;
fixed: 1 1;
color: 200 200 200 255;
color3: 20 20 20 255;
rel1 {
to: "progress_outline";
relative: 0.0 0.0;
offset: 5 5;
}
rel2 {
to: "progress_outline";
relative: 1.0 1.0;
offset: -6 -6;
}
text {
text: "Begin Erase";
font: "ecdb/default";
min: 1 1;
size: 24;
align: 0.5 0.5;
}
}
description {
state: "fade" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "disabled_hack";
type: RECT;
@ -178,7 +217,6 @@ group {
}
programs {
program {
name: "erase_page,visible1";
signal: "ecdb,erase_page,visible";

View File

@ -378,7 +378,9 @@ ecdb_cb_erase_page_buttons_clicked(void *data, Evas_Object *o,
proj->quick = speed;
/* I need to find a better way to do this... */
/* I need to find a better way to do this...
* Its pretty easy, but a lot more theming work
*/
edje_object_signal_emit(swallow, "ecdb,erase,start", "ecdb");
/* 1) Disable buttons...