parent
a7eb68799c
commit
2257a93e4d
3 changed files with 951 additions and 2 deletions
@ -0,0 +1,942 @@ |
||||
|
||||
collections { |
||||
|
||||
////////////////////////////////////////////////////////////////////////////// |
||||
//// the background and general container for the terminal |
||||
group { name: "terminology/background"; |
||||
color_classes { |
||||
color_class { name: "color-0"; color: 131 148 150 255; } |
||||
color_class { name: "color-1"; color: 7 54 66 255; } |
||||
color_class { name: "color-2"; color: 220 50 47 255; } |
||||
color_class { name: "color-3"; color: 133 153 0 255; } |
||||
color_class { name: "color-4"; color: 181 137 0 255; } |
||||
color_class { name: "color-5"; color: 38 139 210 255; } |
||||
color_class { name: "color-6"; color: 211 54 130 255; } |
||||
color_class { name: "color-7"; color: 42 161 152 255; } |
||||
color_class { name: "color-8"; color: 238 232 213 255; } |
||||
color_class { name: "color-11"; color: 131 148 150 255; } |
||||
|
||||
color_class { name: "color-13"; color: 0 43 54 255; } |
||||
color_class { name: "color-14"; color: 203 75 22 255; } |
||||
color_class { name: "color-15"; color: 88 110 117 255; } |
||||
color_class { name: "color-16"; color: 101 123 131 255; } |
||||
color_class { name: "color-17"; color: 131 148 150 255; } |
||||
color_class { name: "color-18"; color: 108 113 196 255; } |
||||
color_class { name: "color-19"; color: 147 161 161 255; } |
||||
color_class { name: "color-20"; color: 253 246 227 255; } |
||||
|
||||
color_class { name: "color-25"; color: 0 43 54 255; } |
||||
color_class { name: "color-26"; color: 203 75 22 255; } |
||||
color_class { name: "color-27"; color: 88 110 117 255; } |
||||
color_class { name: "color-28"; color: 101 123 131 255; } |
||||
color_class { name: "color-29"; color: 131 148 150 255; } |
||||
color_class { name: "color-30"; color: 108 113 196 255; } |
||||
color_class { name: "color-31"; color: 147 161 161 255; } |
||||
color_class { name: "color-32"; color: 253 246 227 255; } |
||||
|
||||
color_class { name: "256color-0"; color: 7 54 66 255; } // COL_BLACK |
||||
color_class { name: "256color-1"; color: 220 50 47 255; } // COL_RED |
||||
color_class { name: "256color-2"; color: 133 153 0 255; } // COL_GREEN |
||||
color_class { name: "256color-3"; color: 181 137 0 255; } // COL_YELLOW |
||||
color_class { name: "256color-4"; color: 38 139 210 255; } // COL_BLUE |
||||
color_class { name: "256color-5"; color: 211 54 130 255; } // COL_MAGENTA |
||||
color_class { name: "256color-6"; color: 42 161 152 255; } // COL_CYAN |
||||
color_class { name: "256color-7"; color: 238 232 213 255; } // COL_WHITE |
||||
|
||||
color_class { name: "256color-8"; color: 0 43 54 255; } // COL_BLACK |
||||
color_class { name: "256color-9"; color: 203 75 22 255; } // COL_RED |
||||
color_class { name: "256color-10"; color: 88 110 117 255; } // COL_GREEN |
||||
color_class { name: "256color-11"; color: 101 123 131 255; } // COL_YELLOW |
||||
color_class { name: "256color-12"; color: 131 148 150 255; } // COL_BLUE |
||||
color_class { name: "256color-13"; color: 108 113 196 255; } // COL_MAGENTA |
||||
color_class { name: "256color-14"; color: 147 161 161 255; } // COL_CYAN |
||||
color_class { name: "256color-15"; color: 253 246 227 255; } // COL_WHITE |
||||
} |
||||
images { |
||||
image: "bg_bevel.png" COMP; |
||||
image: "bg_shine.png" COMP; |
||||
image: "bg_glint.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; |
||||
} |
||||
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: 0 43 54 255; |
||||
} |
||||
description { state: "translucent" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
} |
||||
} |
||||
part { name: "fade"; type: RECT; |
||||
description { state: "default" 0.0; |
||||
} |
||||
description { state: "translucent" 0.0; |
||||
inherit: "default" 0.0; |
||||
color: 255 255 255 128; |
||||
} |
||||
} |
||||
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 { name: "trans_on"; |
||||
signal: "translucent,on"; |
||||
source: "terminology"; |
||||
action: STATE_SET "translucent" 0.0; |
||||
target: "base"; |
||||
target: "shadow"; |
||||
target: "fade"; |
||||
} |
||||
program { name: "trans_off"; |
||||
signal: "translucent,off"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "base"; |
||||
target: "shadow"; |
||||
target: "fade"; |
||||
} |
||||
program { name: "media_off"; |
||||
signal: "media,off"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "terminology.background"; |
||||
} |
||||
program { name: "media_img"; |
||||
signal: "media,image"; |
||||
source: "terminology"; |
||||
action: STATE_SET "image" 0.0; |
||||
target: "terminology.background"; |
||||
} |
||||
program { name: "media_scale"; |
||||
signal: "media,scale"; |
||||
source: "terminology"; |
||||
action: STATE_SET "scale" 0.0; |
||||
target: "terminology.background"; |
||||
} |
||||
program { name: "media_edje"; |
||||
signal: "media,edje"; |
||||
source: "terminology"; |
||||
action: STATE_SET "edje" 0.0; |
||||
target: "terminology.background"; |
||||
} |
||||
program { name: "media_mov"; |
||||
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 2; |
||||
rel2.offset: -2 -2; |
||||
} |
||||
} |
||||
|
||||
//////////////////////////////////////////////////////////////////// |
||||
// overlayed prettiness |
||||
part { name: "bevel"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1.offset: 0 0; |
||||
rel2.offset: -1 -1; |
||||
image.normal: "bg_bevel.png"; |
||||
image.border: 3 3 5 3; |
||||
image.middle: 0; |
||||
fill.smooth: 0; |
||||
visible: 1; |
||||
} |
||||
} |
||||
part { name: "glintclip"; type: RECT; |
||||
mouse_events: 1; |
||||
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 1; |
||||
} |
||||
rel2 { |
||||
relative: 1.0 0.0; |
||||
offset: -1 1; |
||||
} |
||||
image.normal: "bg_glint.png"; |
||||
} |
||||
} |
||||
part { name: "shine"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
rel1.offset: 0 1; |
||||
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: 141 148 150 128; |
||||
visible: 0; |
||||
} |
||||
description { state: "focused" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
} |
||||
} |
||||
program { name: "focus_in"; |
||||
signal: "focus,in"; |
||||
source: "terminology"; |
||||
action: STATE_SET "focused" 0.0; |
||||
target: "shine"; |
||||
} |
||||
program { name: "focus_out"; |
||||
signal: "focus,out"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "shine"; |
||||
} |
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////// |
||||
// 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 { name: "cmdshow0"; |
||||
signal: "cmdbox,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: DECELERATE 0.4; |
||||
target: "cmdclip"; |
||||
} |
||||
program { name: "cmdshow"; |
||||
signal: "cmdbox,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: SPRING 0.4 0.5 4; |
||||
target: "terminology.cmdbox"; |
||||
} |
||||
program { name: "cmdhide"; |
||||
signal: "cmdbox,hide"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
transition: ACCELERATE 0.5; |
||||
target: "terminology.cmdbox"; |
||||
target: "cmdclip"; |
||||
} |
||||
|
||||
//////////////////////////////////////////////////////////////////// |
||||
// visual bell - spinning red siren light |
||||
part { name: "bell_glow"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 1; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
rel1.to: "bell_base"; |
||||
rel2.to: "bell_base"; |
||||
min: 1600 1600; |
||||
fill.smooth: 0; |
||||
image.normal: "bg_led_glow.png"; |
||||
} |
||||
description { state: "visible" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
} |
||||
description { state: "done" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
min: 0 0; |
||||
} |
||||
} |
||||
part { name: "bell_base"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 1; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
min: 32 32; |
||||
max: 32 32; |
||||
rel2.offset: -1 -1; |
||||
align: 1.0 1.0; |
||||
image.normal: "bg_led_base.png"; |
||||
} |
||||
description { state: "visible" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
} |
||||
} |
||||
part { name: "bell"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 1; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
rel1.to: "bell_base"; |
||||
rel2.to: "bell_base"; |
||||
image.normal: "bg_led.png"; |
||||
} |
||||
description { state: "visible" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
} |
||||
} |
||||
part { name: "bell_strobe"; |
||||
mouse_events: 0; |
||||
description { state: "default" 0.0; |
||||
fixed: 1 1; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
rel1.to: "bell"; |
||||
rel2.to: "bell"; |
||||
image.normal: "bg_led_strobe.png"; |
||||
map { |
||||
on: 1; |
||||
smooth: 1; |
||||
rotation.center: "bell"; |
||||
} |
||||
} |
||||
description { state: "spin" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 1; |
||||
color: 255 255 255 255; |
||||
map.rotation.z: 36.0; |
||||
} |
||||
description { state: "spin_done" 0.0; |
||||
inherit: "default" 0.0; |
||||
visible: 0; |
||||
color: 255 255 255 0; |
||||
map.rotation.z: 684.0; |
||||
} |
||||
} |
||||
program { name: "bell0"; |
||||
signal: "bell"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
target: "bell_base"; |
||||
target: "bell"; |
||||
target: "bell_strobe"; |
||||
target: "bell_glow"; |
||||
after: "bell"; |
||||
} |
||||
program { name: "bell"; |
||||
action: STATE_SET "visible" 0.0; |
||||
target: "bell_base"; |
||||
target: "bell_glow"; |
||||
after: "bell2"; |
||||
} |
||||
program { name: "bell2"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: DECELERATE 0.1; |
||||
target: "bell"; |
||||
target: "bell_glow"; |
||||
after: "bell3"; |
||||
after: "bell3.1"; |
||||
} |
||||
program { name: "bell3"; |
||||
action: STATE_SET "spin" 0.0; |
||||
transition: LINEAR 0.1; |
||||
target: "bell_strobe"; |
||||
after: "bell4.0"; |
||||
after: "bell4.1"; |
||||
after: "bell4.2"; |
||||
} |
||||
program { name: "bell3.1"; |
||||
action: STATE_SET "done" 0.0; |
||||
transition: DECELERATE 0.5; |
||||
target: "bell_glow"; |
||||
} |
||||
program { name: "bell4.0"; |
||||
action: STATE_SET "default" 0.0; |
||||
transition: ACCELERATE 1.2; |
||||
target: "bell"; |
||||
} |
||||
program { name: "bell4.1"; |
||||
action: STATE_SET "default" 0.0; |
||||
transition: ACCELERATE 1.6; |
||||
target: "bell_base"; |
||||
} |
||||
program { name: "bell4.2"; |
||||
action: STATE_SET "spin_done" 0.0; |
||||
transition: LINEAR 0.9; |
||||
target: "bell_strobe"; |
||||
} |
||||
|
||||
//////////////////////////////////////////////////////////////////// |
||||
// 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 { name: "popmedia_dismiss"; |
||||
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 { name: "popmedia_off"; |
||||
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 { name: "popmedia_img"; |
||||
signal: "popmedia,image"; |
||||
source: "terminology"; |
||||
action: STATE_SET "image" 0.0; |
||||
transition: DECELERATE 0.2; |
||||
target: "terminology.popmedia"; |
||||
} |
||||
program { name: "popmedia_scale"; |
||||
signal: "popmedia,scale"; |
||||
source: "terminology"; |
||||
action: STATE_SET "scale" 0.0; |
||||
transition: DECELERATE 0.2; |
||||
target: "terminology.popmedia"; |
||||
} |
||||
program { name: "popmedia_edje"; |
||||
signal: "popmedia,edje"; |
||||
source: "terminology"; |
||||
action: STATE_SET "edje" 0.0; |
||||
transition: DECELERATE 0.2; |
||||
target: "terminology.popmedia"; |
||||
} |
||||
program { name: "popmedia_mov"; |
||||
signal: "popmedia,movie"; |
||||
source: "terminology"; |
||||
action: STATE_SET "movie" 0.0; |
||||
transition: DECELERATE 0.2; |
||||
target: "terminology.popmedia"; |
||||
} |
||||
program { name: "popmedia_img2"; |
||||
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 { name: "popmedia_scale2"; |
||||
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 { name: "popmedia_edje2"; |
||||
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 { name: "popmedia_mov2"; |
||||
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"; |
||||
} |
||||
|
||||
//////////////////////////////////////////////////////////////////// |
||||
// 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 { name: "ab_show"; |
||||
signal: "about,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: SPRING 1.2 2.0 6; |
||||
target: "terminology.about"; |
||||
} |
||||
program { name: "ab_hide"; |
||||
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 { name: "opdt_show"; |
||||
signal: "optdetails,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: DECELERATE 0.4; |
||||
target: "terminology.optdetails"; |
||||
} |
||||
program { name: "opdt_hide"; |
||||
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 { name: "op_show"; |
||||
signal: "options,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: DECELERATE 0.4; |
||||
target: "terminology.options"; |
||||
} |
||||
program { name: "op_hide"; |
||||
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 { name: "ct_show"; |
||||
signal: "controls,show"; |
||||
source: "terminology"; |
||||
action: STATE_SET "visible" 0.0; |
||||
transition: DECELERATE 0.3; |
||||
target: "terminology.controls"; |
||||
} |
||||
program { name: "ct_hide"; |
||||
signal: "controls,hide"; |
||||
source: "terminology"; |
||||
action: STATE_SET "default" 0.0; |
||||
transition: DECELERATE 0.5; |
||||
target: "terminology.controls"; |
||||
} |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue