Edjeify errordialog.

SVN revision: 13650
This commit is contained in:
sebastid 2005-03-07 12:13:32 +00:00 committed by sebastid
parent 6c391a2745
commit 51a5b1eb69
8 changed files with 192 additions and 3 deletions

View File

@ -23,7 +23,8 @@ default_ibar.edc \
default_menu.edc \
default_pager.edc \
default_resize.edc \
default_temperature.edc
default_temperature.edc \
default_error.edc
default.eet: Makefile $(EXTRA_DIST)
$(EDJE_CC) $(EDJE_FLAGS) \

View File

@ -19,7 +19,7 @@
fonts {
font: "Vera.ttf" "Edje Vera";
// font: "kochi-gothic.ttf" "Edje Vera";
// font: "VeraBd.ttf" "Edje Vera Bold";
font: "VeraBd.ttf" "Edje Vera Bold";
}
collections {
@ -33,5 +33,6 @@ collections {
#include "default_pager.edc"
#include "default_resize.edc"
#include "default_temperature.edc"
#include "default_error.edc"
}

View File

@ -0,0 +1,183 @@
images {
image: "e.png" COMP;
image: "button_in.png" COMP;
image: "button_out.png" COMP;
image: "error_bg.png" COMP;
}
group {
name: "error/main";
min: 400 200;
max: 400 200;
parts {
part {
name: "bg";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "error_bg.png";
border: 3 3 3 3;
}
}
}
part {
name: "e";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 16 16;
}
rel2 {
relative: 0.0 0.0;
offset: 80 80;
}
image {
normal: "e.png";
}
}
}
part {
name: "title";
type: TEXT;
effect: SHADOW;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 1.0 0.0;
offset: 16 0;
to: "e";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to_y: "e";
}
color: 0 0 0 255;
color3: 255 255 255 128;
text {
text: "Title";
font: "Edje Vera Bold";
size: 12;
min: 0 0;
align: 0.0 0.5;
}
}
}
part {
name: "text";
type: SWALLOW;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 1.0;
offset: 16 16;
to_y: "e";
}
rel2 {
relative: 1.0 0.0;
offset: -1 -16;
to_y: "button_image";
}
color: 0 0 0 0;
}
}
part {
name: "button_image";
type: IMAGE;
mouse_events: 1;
description {
state: "default" 0.0;
min: 64 32;
max: 64 32;
rel1 {
relative: 0.0 1.0;
offset: 0 -49;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -17;
}
image {
normal: "button_out.png";
border: 8 8 8 8;
}
}
description {
state: "clicked" 0.0;
min: 64 32;
max: 64 32;
rel1 {
relative: 0.0 1.0;
offset: 0 -49;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -17;
}
image {
normal: "button_in.png";
border: 8 8 8 8;
}
}
}
part {
name: "button_text";
type: TEXT;
effect: SHADOW;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "button_image";
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
to: "button_image";
}
color: 0 0 0 255;
color3: 255 255 255 128;
text {
text: "OK";
font: "Edje Vera";
size: 10;
min: 0 0;
align: 0.5 0.5;
}
}
}
}
programs {
program {
name: "button_click";
signal: "mouse,down,1";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "button_image";
}
program {
name: "button_unclick";
signal: "mouse,up,1";
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
action: SIGNAL_EMIT "close" "";
}
}
}

View File

@ -251,5 +251,9 @@ e17_temperature_base.png \
e17_temperature_mid.png \
e17_temperature_overlay.png \
e17_gadman_indicator.png \
e17_gadman_overlay.png
e17_gadman_overlay.png \
button_in.png \
button_out.png \
e.png \
error_bg.png

Binary file not shown.

Binary file not shown.

BIN
data/themes/images/e.png Normal file

Binary file not shown.

Binary file not shown.