2005-09-24 20:28:18 -07:00
|
|
|
images {
|
|
|
|
image: "entry.png" COMP;
|
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
|
|
|
name: "widgets/entry";
|
2005-10-07 01:36:07 -07:00
|
|
|
min: 18 18;
|
2005-09-24 20:28:18 -07:00
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "entry";
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
image {
|
|
|
|
normal: "entry.png";
|
|
|
|
border: 8 8 8 8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "entry_focus";
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
2006-08-11 14:48:18 -07:00
|
|
|
image {
|
|
|
|
normal: "focus.png";
|
|
|
|
border: 7 7 7 7;
|
|
|
|
middle: 0;
|
|
|
|
}
|
|
|
|
fill {
|
|
|
|
smooth: 0;
|
|
|
|
}
|
2005-09-24 20:28:18 -07:00
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focus" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
2006-08-22 00:39:11 -07:00
|
|
|
name: "e.swallow.text";
|
2005-09-24 20:28:18 -07:00
|
|
|
type: SWALLOW;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
2006-08-11 14:48:18 -07:00
|
|
|
offset: 4 4;
|
2005-09-24 20:28:18 -07:00
|
|
|
to: "entry";
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
2006-08-11 14:48:18 -07:00
|
|
|
offset: -5 -5;
|
2005-09-24 20:28:18 -07:00
|
|
|
to: "entry";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "entry_focus";
|
2005-11-06 16:09:20 -08:00
|
|
|
signal: "focus_in";
|
2005-09-24 20:28:18 -07:00
|
|
|
source: "";
|
|
|
|
action: STATE_SET "focus" 0.0;
|
2006-08-11 14:48:18 -07:00
|
|
|
transition: DECELERATE 0.2;
|
2005-09-24 20:28:18 -07:00
|
|
|
target: "entry_focus";
|
|
|
|
}
|
|
|
|
program {
|
2005-11-07 07:31:08 -08:00
|
|
|
name: "entry_unfocus";
|
2005-11-06 16:09:20 -08:00
|
|
|
signal: "focus_out";
|
2005-09-24 20:28:18 -07:00
|
|
|
source: "";
|
|
|
|
action: STATE_SET "default" 0.0;
|
2006-08-11 14:48:18 -07:00
|
|
|
transition: ACCELERATE 0.5;
|
2005-09-24 20:28:18 -07:00
|
|
|
target: "entry_focus";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2006-08-19 11:26:07 -07:00
|
|
|
|
|
|
|
group {
|
|
|
|
name: "widgets/entry/text";
|
|
|
|
parts {
|
|
|
|
part {
|
2006-08-22 00:39:11 -07:00
|
|
|
name: "e.text.text";
|
2006-08-19 11:26:07 -07:00
|
|
|
type: TEXT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
text {
|
|
|
|
text: "Entry";
|
|
|
|
font: "Edje-Vera";
|
|
|
|
size: 10;
|
|
|
|
min: 1 1;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
text_class: "entry";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2006-08-12 13:52:15 -07:00
|
|
|
group {
|
|
|
|
name: "widgets/entry/cursor";
|
|
|
|
min: 1 0;
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "cursor";
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
2006-08-19 12:08:09 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
2006-08-12 13:52:15 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2006-08-19 12:08:09 -07:00
|
|
|
programs {
|
|
|
|
program {
|
2006-08-20 02:48:13 -07:00
|
|
|
name: "on_cursor_show";
|
2006-08-22 00:39:11 -07:00
|
|
|
signal: "e,action,show,cursor";
|
|
|
|
source: "e";
|
2006-08-20 02:48:13 -07:00
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "cursor_show";
|
|
|
|
target: "cursor_hide";
|
|
|
|
target: "cursor_show_timer";
|
|
|
|
target: "cursor_hide_timer";
|
|
|
|
after: "cursor_show";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "cursor_show";
|
2006-08-19 12:08:09 -07:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
target: "cursor";
|
|
|
|
after: "cursor_show_timer";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "cursor_hide";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "cursor";
|
|
|
|
after: "cursor_hide_timer";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "cursor_show_timer";
|
2006-08-20 02:48:13 -07:00
|
|
|
in: 1.0 0.0;
|
2006-08-19 12:08:09 -07:00
|
|
|
after: "cursor_hide";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "cursor_hide_timer";
|
|
|
|
in: 0.25 0.0;
|
|
|
|
after: "cursor_show";
|
|
|
|
}
|
|
|
|
}
|
2006-08-12 13:52:15 -07:00
|
|
|
}
|
2006-08-19 11:26:07 -07:00
|
|
|
|
2006-08-12 13:52:15 -07:00
|
|
|
group {
|
|
|
|
name: "widgets/entry/selection";
|
|
|
|
data {
|
|
|
|
item: "on_foreground" "1";
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "selection";
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 245 205 109 102;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|