2005-09-24 20:28:18 -07:00
|
|
|
images {
|
|
|
|
image: "entry.png" COMP;
|
|
|
|
image: "entry_focus.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focus" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
image {
|
|
|
|
normal: "entry_focus.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "entry_focus";
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
image {
|
|
|
|
normal: "entry_focus.png";
|
|
|
|
border: 8 8 8 8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focus" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "text_area";
|
|
|
|
type: SWALLOW;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 4 3;
|
|
|
|
to: "entry";
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
2006-07-23 03:24:30 -07:00
|
|
|
offset: -5 -4;
|
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;
|
|
|
|
transition: LINEAR 0.2;
|
|
|
|
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;
|
|
|
|
transition: LINEAR 0.2;
|
|
|
|
target: "entry_focus";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|