2008-12-09 20:18:11 +00:00
|
|
|
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
2008-12-09 01:12:16 +00:00
|
|
|
group {
|
2008-12-09 19:46:00 +00:00
|
|
|
name: "ecdb/entry";
|
|
|
|
min: 18 18;
|
|
|
|
|
|
|
|
styles {
|
|
|
|
style {
|
|
|
|
name: "entry_default";
|
|
|
|
base: "font=ecdb/default font_size=11 align=left color=#000 wrap=none";
|
|
|
|
tag: "br" "\n";
|
|
|
|
tag: "tab" "\t";
|
|
|
|
tag: "hilight" "+ font=Sans:style:Bold";
|
|
|
|
// Need any more tags?
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "entry";
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
|
|
|
|
image {
|
|
|
|
normal: "entry.png";
|
|
|
|
border: 6 6 8 7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "disabled" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 128;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
part {
|
|
|
|
name: "entry_focus";
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
|
|
|
|
image {
|
|
|
|
normal: "entry_focus.png";
|
|
|
|
border: 7 7 8 7;
|
|
|
|
middle: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
fill {
|
|
|
|
smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
part {
|
|
|
|
name: "label";
|
|
|
|
type: TEXTBLOCK;
|
|
|
|
mouse_events: 1;
|
|
|
|
entry_mode: EDITABLE;
|
|
|
|
multiline: 0;
|
|
|
|
source2: "entry/selection/default";
|
|
|
|
source3: "entry/cursor/default";
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
text {
|
|
|
|
style: "entry_default";
|
|
|
|
min: 1 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
to: "entry";
|
|
|
|
offset: 5 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
to: "entry";
|
|
|
|
offset: -2 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "focus1";
|
|
|
|
action: FOCUS_SET;
|
2008-12-09 21:44:52 +00:00
|
|
|
signal: "mouse,down,*";
|
|
|
|
source: "*";
|
2008-12-09 19:46:00 +00:00
|
|
|
target: "label";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "focus2";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
signal: "mouse,down,*";
|
|
|
|
source: "*";
|
|
|
|
target: "entry_focus";
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "focus_out";
|
|
|
|
signal: "ecdb,focus,out";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
source: "ecdb";
|
|
|
|
target: "entry_focus";
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "disable";
|
|
|
|
signal: "ecdb,disable";
|
|
|
|
action: STATE_SET "disabled" 0.0;
|
|
|
|
source: "ecdb";
|
|
|
|
target: "entry";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "enable";
|
|
|
|
signal: "ecdb,enable";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
source: "ecdb";
|
|
|
|
target: "entry";
|
|
|
|
}
|
|
|
|
}
|
2008-12-09 01:12:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
2008-12-09 19:46:00 +00:00
|
|
|
name: "entry/cursor/default";
|
|
|
|
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "cursor";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
|
|
|
min: 1 1;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
2008-12-09 21:44:52 +00:00
|
|
|
offset: 0 3;
|
2008-12-09 19:46:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 0 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2008-12-09 01:12:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
group {
|
2008-12-09 19:46:00 +00:00
|
|
|
name: "entry/selection/default";
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "selection";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 138 171 225 128;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2008-12-09 01:12:16 +00:00
|
|
|
}
|