forked from enlightenment/enlightenment
78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
images {
|
|
image: "entry.png" COMP;
|
|
}
|
|
|
|
group {
|
|
name: "widgets/entry";
|
|
min: 18 18;
|
|
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;
|
|
image {
|
|
normal: "focus.png";
|
|
border: 7 7 7 7;
|
|
middle: 0;
|
|
}
|
|
fill {
|
|
smooth: 0;
|
|
}
|
|
}
|
|
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 4;
|
|
to: "entry";
|
|
}
|
|
rel2 {
|
|
relative: 1.0 1.0;
|
|
offset: -5 -5;
|
|
to: "entry";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
programs {
|
|
program {
|
|
name: "entry_focus";
|
|
signal: "focus_in";
|
|
source: "";
|
|
action: STATE_SET "focus" 0.0;
|
|
transition: DECELERATE 0.2;
|
|
target: "entry_focus";
|
|
}
|
|
program {
|
|
name: "entry_unfocus";
|
|
signal: "focus_out";
|
|
source: "";
|
|
action: STATE_SET "default" 0.0;
|
|
transition: ACCELERATE 0.5;
|
|
target: "entry_focus";
|
|
}
|
|
}
|
|
}
|