|
|
|
collections {
|
|
|
|
|
|
|
|
|
|
|
|
//// the background and general container for the terminal
|
|
|
|
group { name: "terminology/background";
|
|
|
|
images {
|
|
|
|
image: "bg_bevel.png" COMP;
|
|
|
|
image: "bg_shine.png" COMP;
|
|
|
|
image: "bg_glint.png" COMP;
|
|
|
|
image: "bg_glow_in.png" COMP;
|
|
|
|
image: "bg_shadow.png" COMP;
|
|
|
|
image: "bg_led_glow.png" COMP;
|
|
|
|
image: "bg_led_base.png" COMP;
|
|
|
|
image: "bg_led.png" COMP;
|
|
|
|
image: "bg_led_strobe.png" COMP;
|
|
|
|
image: "pm_shadow.png" COMP;
|
|
|
|
image: "pm_overlay.png" COMP;
|
|
|
|
image: "pm_fill.png" COMP;
|
|
|
|
image: "cr_glow.png" COMP;
|
|
|
|
image: "TRIAB-01.png" COMP;
|
|
|
|
image: "TRIAB-02.png" COMP;
|
|
|
|
image: "TRIAB-03.png" COMP;
|
|
|
|
image: "TRIAB-04.png" COMP;
|
|
|
|
image: "TRIAB-05.png" COMP;
|
|
|
|
image: "TRIAB-06.png" COMP;
|
|
|
|
image: "TRIAB-07.png" COMP;
|
|
|
|
image: "TRIAB-08.png" COMP;
|
|
|
|
image: "TRIAB-09.png" COMP;
|
|
|
|
image: "TRIAB-10.png" COMP;
|
|
|
|
image: "TRIAB-11.png" COMP;
|
|
|
|
image: "TRIAB-12.png" COMP;
|
|
|
|
}
|
|
|
|
sounds {
|
|
|
|
sample { name: "bell" LOSSY 64;
|
|
|
|
source: "bell.wav";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// background handling
|
|
|
|
part { name: "shadow";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bg_shadow.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "translucent" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "base"; type: RECT;
|
|
|
|
mouse_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 32 32 32 255;
|
|
|
|
}
|
|
|
|
description { state: "translucent" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "translucent,on"; source: "terminology";
|
|
|
|
action: STATE_SET "translucent" 0.0;
|
|
|
|
target: "base";
|
|
|
|
target: "shadow";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "translucent,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "base";
|
|
|
|
target: "shadow";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// actual text grid for chars, cursors, selectiond etc. goes here
|
|
|
|
// and has a background layered behind it inside the swallowed
|
|
|
|
// child edje
|
|
|
|
part { name: "terminology.content"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// indicator of other tabs and control
|
|
|
|
part { name: "tabcount_clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "on" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "terminology.tabmissed.label"; type: TEXT; mouse_events: 0;
|
|
|
|
effect: GLOW;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.tabcount.label";
|
|
|
|
rel2.to: "terminology.tabcount.label";
|
|
|
|
rel1.offset: -4 0;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: -5 -1;
|
|
|
|
color: 255 153 51 64;
|
|
|
|
color2: 255 51 0 18;
|
|
|
|
color3: 255 0 0 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 64 255;
|
|
|
|
color2: 255 153 51 128;
|
|
|
|
color3: 255 0 0 20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "terminology.tabcount.label"; type: TEXT; mouse_events: 0;
|
|
|
|
effect: GLOW;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
rel1.relative: -0.2 0.0;
|
|
|
|
rel2.relative: -0.2 1.0;
|
|
|
|
color: 51 153 255 64;
|
|
|
|
color2: 51 153 255 18;
|
|
|
|
color3: 51 153 255 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
color2: 51 153 255 128;
|
|
|
|
color3: 51 153 255 20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_glow_r0";
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "tabcount_r0";
|
|
|
|
rel2.to: "tabcount_r0";
|
|
|
|
rel1.offset: -4 -4;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
image {
|
|
|
|
normal: "cr_glow.png";
|
|
|
|
border: 9 9 9 9;
|
|
|
|
}
|
|
|
|
color: 51 153 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_glow_r1";
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "tabcount_r1";
|
|
|
|
rel2.to: "tabcount_r1";
|
|
|
|
rel1.offset: -4 -4;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
image {
|
|
|
|
normal: "cr_glow.png";
|
|
|
|
border: 9 9 9 9;
|
|
|
|
}
|
|
|
|
color: 51 153 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_glow_r2";
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "tabcount_r2";
|
|
|
|
rel2.to: "tabcount_r2";
|
|
|
|
rel1.offset: -4 -4;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
image {
|
|
|
|
normal: "cr_glow.png";
|
|
|
|
border: 9 9 9 9;
|
|
|
|
}
|
|
|
|
color: 51 153 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_glow_r3";
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "tabcount_r3";
|
|
|
|
rel2.to: "tabcount_r3";
|
|
|
|
rel1.offset: -4 -4;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
image {
|
|
|
|
normal: "cr_glow.png";
|
|
|
|
border: 9 9 9 9;
|
|
|
|
}
|
|
|
|
color: 51 153 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_r0"; type: RECT;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
rel1.relative: 0.05 0.05;
|
|
|
|
rel2.relative: 0.45 0.45;
|
|
|
|
color: 255 255 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_r1"; type: RECT;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
rel1.relative: 0.55 0.05;
|
|
|
|
rel2.relative: 0.95 0.45;
|
|
|
|
color: 255 255 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_r2"; type: RECT;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
rel1.relative: 0.05 0.55;
|
|
|
|
rel2.relative: 0.45 0.95;
|
|
|
|
color: 255 255 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_r3"; type: RECT;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
rel1.relative: 0.55 0.55;
|
|
|
|
rel2.relative: 0.95 0.95;
|
|
|
|
color: 255 255 255 32;
|
|
|
|
}
|
|
|
|
description { state: "over" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "terminology.tabcount.control"; type: SWALLOW;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: -3 2;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.offset: -3 2;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
min: 16 16;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tabcount_ev"; type: RECT; repeat_events: 1;
|
|
|
|
clip_to: "tabcount_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.tabcount.control";
|
|
|
|
rel2.to: "terminology.tabcount.control";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,in"; source: "tabcount_ev";
|
|
|
|
action: STATE_SET "over" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "tabcount_r0";
|
|
|
|
target: "tabcount_r1";
|
|
|
|
target: "tabcount_r2";
|
|
|
|
target: "tabcount_r3";
|
|
|
|
target: "tabcount_glow_r0";
|
|
|
|
target: "tabcount_glow_r1";
|
|
|
|
target: "tabcount_glow_r2";
|
|
|
|
target: "tabcount_glow_r3";
|
|
|
|
target: "terminology.tabcount.label";
|
|
|
|
target: "terminology.tabmissed.label";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,out"; source: "tabcount_ev";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 2.0;
|
|
|
|
target: "tabcount_r0";
|
|
|
|
target: "tabcount_r1";
|
|
|
|
target: "tabcount_r2";
|
|
|
|
target: "tabcount_r3";
|
|
|
|
target: "tabcount_glow_r0";
|
|
|
|
target: "tabcount_glow_r1";
|
|
|
|
target: "tabcount_glow_r2";
|
|
|
|
target: "tabcount_glow_r3";
|
|
|
|
target: "terminology.tabcount.label";
|
|
|
|
target: "terminology.tabmissed.label";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,clicked,1"; source: "tabcount_ev";
|
|
|
|
action: SIGNAL_EMIT "tabcount,go" "terminology";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "tabcount,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "tabcount_clip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "tabcount,on"; source: "terminology";
|
|
|
|
action: STATE_SET "on" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "tabcount_clip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "tabmissed,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "terminology.tabmissed.label";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "tabmissed,on"; source: "terminology";
|
|
|
|
action: STATE_SET "over" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.tabmissed.label";
|
|
|
|
after: "tabmissed2";
|
|
|
|
}
|
|
|
|
program { name: "tabmissed2";
|
|
|
|
signal: "tabmissed,on"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 3.0;
|
|
|
|
target: "terminology.tabmissed.label";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// overlayed prettiness
|
|
|
|
part { name: "glow";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bg_glow_in.png";
|
|
|
|
image.border: 7 7 7 7;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
color: 51 153 255 0;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
}
|
|
|
|
description { state: "focused2" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 51 153 255 64;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bevel";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
image.normal: "bg_bevel.png";
|
|
|
|
image.border: 3 3 5 3;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "glintclip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "glint";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "glintclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 79 5;
|
|
|
|
max: 79 5;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: -1 0;
|
|
|
|
}
|
|
|
|
image.normal: "bg_glint.png";
|
|
|
|
color: 255 255 255 128;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "shine";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.offset: 0 0;
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
image.normal: "bg_shine.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
aspect: (255/120) (255/120);
|
|
|
|
aspect_preference: HORIZONTAL;
|
|
|
|
color: 255 255 255 64;
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "focus,in"; source: "terminology";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "glint";
|
|
|
|
target: "glow";
|
|
|
|
target: "shine";
|
|
|
|
after: "focus_in2";
|
|
|
|
}
|
|
|
|
program { name: "focus_in2";
|
|
|
|
action: STATE_SET "focused2" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "glow";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "focus,out"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "glint";
|
|
|
|
target: "glow";
|
|
|
|
target: "shine";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// visual bell - dinosaur
|
|
|
|
part { name: "dino";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
aspect_preference: BOTH;
|
|
|
|
image.normal: "TRIAB-01.png";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "animate" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
image {
|
|
|
|
tween: "TRIAB-02.png";
|
|
|
|
tween: "TRIAB-03.png";
|
|
|
|
tween: "TRIAB-04.png";
|
|
|
|
tween: "TRIAB-05.png";
|
|
|
|
tween: "TRIAB-06.png";
|
|
|
|
tween: "TRIAB-07.png";
|
|
|
|
tween: "TRIAB-08.png";
|
|
|
|
tween: "TRIAB-09.png";
|
|
|
|
tween: "TRIAB-10.png";
|
|
|
|
tween: "TRIAB-11.png";
|
|
|
|
tween: "TRIAB-12.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "bell"; source: "terminology";
|
|
|
|
action: PLAY_SAMPLE "bell" 1.0;
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "bell"; source: "terminology";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "bell_anim";
|
|
|
|
after: "bell_anim";
|
|
|
|
}
|
|
|
|
program { name: "bell_anim";
|
|
|
|
signal: "bell"; source: "terminology";
|
|
|
|
action: STATE_SET "animate" 0.0;
|
|
|
|
transition: LINEAR 0.8;
|
|
|
|
target: "dino";
|
|
|
|
after: "hide";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "hide";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "dino";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// popup media over the terminal (until dismissed)
|
|
|
|
part { name: "popmedia_clip"; type: RECT;
|
|
|
|
mouse_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_shadow";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.popmedia";
|
|
|
|
rel2.to: "terminology.popmedia";
|
|
|
|
image.normal: "pm_shadow.png";
|
|
|
|
image.border: 64 64 64 64;
|
|
|
|
image.border_scale_by: 0.1;
|
|
|
|
fill.smooth: 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.offset: -32 -32;
|
|
|
|
rel2.offset: 31 31;
|
|
|
|
image.border_scale_by: 1.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_fill";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.popmedia";
|
|
|
|
rel2.to: "terminology.popmedia";
|
|
|
|
image.normal: "pm_fill.png";
|
|
|
|
fill {
|
|
|
|
size.relative: 0.0 0.0;
|
|
|
|
size.offset: 64 64;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "terminology.popmedia"; type: SWALLOW;
|
|
|
|
clip_to: "popmedia_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "image" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.1 0.1;
|
|
|
|
rel2.relative: 0.9 0.9;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "scale" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.1 0.1;
|
|
|
|
rel2.relative: 0.9 0.9;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "edje" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.1 0.1;
|
|
|
|
rel2.relative: 0.9 0.9;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "movie" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.1 0.1;
|
|
|
|
rel2.relative: 0.9 0.9;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_overlay";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.popmedia";
|
|
|
|
rel2.to: "terminology.popmedia";
|
|
|
|
image.normal: "pm_overlay.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_bevel";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.popmedia";
|
|
|
|
rel2.to: "terminology.popmedia";
|
|
|
|
image.normal: "bg_bevel.png";
|
|
|
|
image.border: 3 3 5 3;
|
|
|
|
image.middle: 0;
|
|
|
|
fill.smooth: 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_glintclip"; type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_glint";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "popmedia_glintclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 79 5;
|
|
|
|
max: 79 5;
|
|
|
|
rel1 {
|
|
|
|
to: "terminology.popmedia";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
to: "terminology.popmedia";
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: -1 0;
|
|
|
|
}
|
|
|
|
image.normal: "bg_glint.png";
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_shine";
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "terminology.popmedia";
|
|
|
|
rel2.to: "terminology.popmedia";
|
|
|
|
image.normal: "bg_shine.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
aspect: (255/120) (255/120);
|
|
|
|
aspect_preference: HORIZONTAL;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "popmedia_dismiss"; type: RECT;
|
|
|
|
mouse_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "mouse,clicked,*"; source: "popmedia_dismiss";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
after: "popmedia_dismiss2";
|
|
|
|
}
|
|
|
|
program { name: "popmedia_dismiss2";
|
|
|
|
action: SIGNAL_EMIT "popmedia,done" "terminology";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
after: "popmedia_dismiss2";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,image"; source: "terminology";
|
|
|
|
action: STATE_SET "image" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,scale"; source: "terminology";
|
|
|
|
action: STATE_SET "scale" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,edje"; source: "terminology";
|
|
|
|
action: STATE_SET "edje" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,movie"; source: "terminology";
|
|
|
|
action: STATE_SET "movie" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.popmedia";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,image"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,scale"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,edje"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "popmedia,movie"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "popmedia_clip";
|
|
|
|
target: "popmedia_dismiss";
|
|
|
|
target: "popmedia_shadow";
|
|
|
|
target: "popmedia_fill";
|
|
|
|
target: "popmedia_overlay";
|
|
|
|
target: "popmedia_bevel";
|
|
|
|
target: "popmedia_glint";
|
|
|
|
target: "popmedia_glintclip";
|
|
|
|
target: "popmedia_shine";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//// the background and general container for the terminal
|
|
|
|
group { name: "terminology/core";
|
|
|
|
parts {
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// background handling
|
|
|
|
part { name: "fade"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "translucent" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 128;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "translucent,on"; source: "terminology";
|
|
|
|
action: STATE_SET "translucent" 0.0;
|
|
|
|
target: "fade";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "translucent,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "fade";
|
|
|
|
}
|
|
|
|
part { name: "terminology.background"; type: SWALLOW;
|
|
|
|
clip_to: "fade";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "image" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "scale" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "edje" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
}
|
|
|
|
description { state: "movie" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "media,off"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "terminology.background";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "media,image"; source: "terminology";
|
|
|
|
action: STATE_SET "image" 0.0;
|
|
|
|
target: "terminology.background";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "media,scale"; source: "terminology";
|
|
|
|
action: STATE_SET "scale" 0.0;
|
|
|
|
target: "terminology.background";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "media,edje"; source: "terminology";
|
|
|
|
action: STATE_SET "edje" 0.0;
|
|
|
|
target: "terminology.background";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "media,movie"; source: "terminology";
|
|
|
|
action: STATE_SET "movie" 0.0;
|
|
|
|
target: "terminology.background";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// actual text grid for chars, cursors, selectiond etc. goes here
|
|
|
|
part { name: "terminology.content"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.offset: 1 1;
|
|
|
|
rel2.offset: -2 -2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "terminology/base";
|
|
|
|
parts {
|
|
|
|
part { name: "terminology.content"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// a place terminology will place an entry box for internal commands
|
|
|
|
part { name: "cmdclip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.cmdbox";
|
|
|
|
rel1.offset: -100 -100;
|
|
|
|
rel2.to: "terminology.cmdbox";
|
|
|
|
rel2.offset: 99 99;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "cmdback"; type: RECT;
|
|
|
|
clip_to: "cmdclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
rel1.to: "terminology.cmdbox";
|
|
|
|
rel1.offset: -2 -2;
|
|
|
|
rel2.to: "terminology.cmdbox";
|
|
|
|
rel2.offset: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "terminology.cmdbox"; type: SWALLOW;
|
|
|
|
clip_to: "cmdclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 8 8;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 8 9;
|
|
|
|
rel2.offset: -9 9;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.offset: 8 -9;
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
align: 0.5 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "cmdbox,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.4;
|
|
|
|
target: "cmdclip";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "cmdbox,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SPRING 0.4 0.5 4;
|
|
|
|
target: "terminology.cmdbox";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "cmdbox,hide"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.5;
|
|
|
|
target: "terminology.cmdbox";
|
|
|
|
target: "cmdclip";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// overlayed options and controls
|
|
|
|
part { name: "terminology.about"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 198 198;
|
|
|
|
max: 198 198;
|
|
|
|
align: 0.5 0.0;
|
|
|
|
visible: 0;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
align: 0.5 0.5;
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "about,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SPRING 1.2 2.0 6;
|
|
|
|
target: "terminology.about";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "about,hide"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.6;
|
|
|
|
target: "terminology.about";
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// swallow to hold invisile rect to click on to dismiss things
|
|
|
|
part { name: "terminology.dismiss"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// overlayed options and controls
|
|
|
|
part { name: "terminology.optdetails"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 40 40;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
visible: 0;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.02;
|
|
|
|
offset: 8 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 0.98;
|
|
|
|
offset: 8 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.1 0.02;
|
|
|
|
offset: 8 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
to_x: "terminology.options";
|
|
|
|
relative: 0.0 0.98;
|
|
|
|
offset: -9 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "optdetails,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.4;
|
|
|
|
target: "terminology.optdetails";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "optdetails,hide"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.2;
|
|
|
|
target: "terminology.optdetails";
|
|
|
|
after: "opdt_hide2";
|
|
|
|
}
|
|
|
|
program { name: "opdt_hide2";
|
|
|
|
action: SIGNAL_EMIT "optdetails,hide,done" "terminology";
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "terminology.options"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
visible: 0;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.02;
|
|
|
|
offset: 8 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 0.98;
|
|
|
|
offset: 8 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
rel1 {
|
|
|
|
offset: -9 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
offset: -9 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "options,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.4;
|
|
|
|
target: "terminology.options";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "options,hide"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.6;
|
|
|
|
target: "terminology.options";
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "terminology.controls"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
min: 10 10;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
visible: 0;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.5;
|
|
|
|
offset: 8 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 0.5;
|
|
|
|
offset: 8 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.5;
|
|
|
|
offset: -9 8;
|
|
|
|
}
|
|
|
|
rel2 {
|
|
|
|
offset: -9 -9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "controls,show"; source: "terminology";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.3;
|
|
|
|
target: "terminology.controls";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
signal: "controls,hide"; source: "terminology";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
target: "terminology.controls";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//// the selection
|
|
|
|
// selections come in 5 modes:
|
|
|
|
//
|
|
|
|
// oneline (also multiple lines but all fill the row):
|
|
|
|
// | ######### |
|
|
|
|
//
|
|
|
|
// disjoint:
|
|
|
|
// | #######|
|
|
|
|
// |## |
|
|
|
|
//
|
|
|
|
// default:
|
|
|
|
// | ###########|
|
|
|
|
// |######### |
|
|
|
|
//
|
|
|
|
// topfull:
|
|
|
|
// |##############|
|
|
|
|
// |###### |
|
|
|
|
//
|
|
|
|
// bottomfull:
|
|
|
|
// | ######|
|
|
|
|
// |##############|
|
|
|
|
#define PATCOL 51 153 255 128
|
|
|
|
#define PATCOL2 51 153 255 144
|
|
|
|
#define OUTCOL 51 153 255 128
|
|
|
|
#define OUTCOL2 51 153 255 255
|
|
|
|
|
|
|
|
group { name: "terminology/selection";
|
|
|
|
images {
|
|
|
|
image: "sl_stripe.png" COMP;
|
|
|
|
image: "sl_left.png" COMP;
|
|
|
|
image: "sl_right.png" COMP;
|
|
|
|
image: "sl_top.png" COMP;
|
|
|
|
image: "sl_bottom.png" COMP;
|
|
|
|
image: "sl_htop.png" COMP;
|
|
|
|
image: "sl_hbottom.png" COMP;
|
|
|
|
}
|
|
|
|
parts {
|
|
|
|
// background pattern. duplicated because clips cut out regions of
|
|
|
|
// it to see and clips don't overlap
|
|
|
|
part { name: "background_top";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "top_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: PATCOL;
|
|
|
|
image.normal: "sl_stripe.png";
|
|
|
|
fill.size.relative: 0.0 0.0;
|
|
|
|
fill.size.offset: 40 40;
|
|
|
|
}
|
|
|
|
description { state: "pulse" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: PATCOL2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "background_middle";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "middle_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: PATCOL;
|
|
|
|
image.normal: "sl_stripe.png";
|
|
|
|
fill.size.relative: 0.0 0.0;
|
|
|
|
fill.size.offset: 40 40;
|
|
|
|
}
|
|
|
|
description { state: "pulse" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: PATCOL2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "background_bottom";
|
|
|
|
mouse_events: 0;
|
|
|
|
clip_to: "bottom_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: PATCOL;
|
|
|
|
image.normal: "sl_stripe.png";
|
|
|
|
fill.size.relative: 0.0 0.0;
|
|
|
|
fill.size.offset: 40 40;
|
|
|
|
}
|
|
|
|
description { state: "pulse" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: PATCOL2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// clips that clip the above pattern images to occupy specific
|
|
|
|
// regions of the object (or be invisible since clip is invisible)
|
|
|
|
part { name: "top_clip"; type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.top_left";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "terminology.top_left";
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
}
|
|
|
|
description { state: "oneline" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "middle_clip"; type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to: "terminology.top_left";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel2.to: "terminology.bottom_right";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
}
|
|
|
|
description { state: "oneline" 0.0;
|
|
|
|
rel1.to: "terminology.top_left";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.to: "terminology.bottom_right";
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "bottom_clip"; type: RECT;
|
|
|
|
mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "terminology.bottom_right";
|
|