Elementary theme: Edit theme's formatting. Vim Magic.

Since I already moved everything around which means no patches will apply
anyway, now is a good time to also fix formatting.

Many thanks to Vim for being so awesome and magical.

SVN revision: 62000
This commit is contained in:
Tom Hacohen 2011-08-02 14:07:53 +00:00
parent 4f64dc8441
commit 9c0261a139
47 changed files with 35633 additions and 35662 deletions

View File

@ -1,432 +1,431 @@
group { name: "elm/actionslider/base/default"; group { name: "elm/actionslider/base/default";
images { images {
image: "shelf_inset.png" COMP; image: "shelf_inset.png" COMP;
image: "ilist_1.png" COMP; image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP; image: "bt_bases.png" COMP;
image: "bt_basew.png" COMP; image: "bt_basew.png" COMP;
image: "bt_hilightw.png" COMP; image: "bt_hilightw.png" COMP;
}
parts {
part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
min: 75 25;
rel1.offset: 1 1;
rel2.offset: -2 -2;
image {
normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
} }
part { name: "conf_over";
parts { mouse_events: 0;
part { description { state: "default" 0.0;
name: "base"; rel1.to: "base";
mouse_events: 0; rel2.to: "base";
description { image {
state: "default" 0.0; normal: "shelf_inset.png";
min: 75 25; border: 7 7 7 7;
rel1.offset: 1 1; middle: 0;
rel2.offset: -2 -2; }
image { fill.smooth : 0;
normal: "ilist_1.png"; }
border: 2 2 2 2; }
} part { name: "icon.dragable.area";
fill.smooth: 0; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
rel1.to: "base";
rel2.to: "base";
}
}
part { name: "elm.text.left";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.05 0.5;
min: 1 1;
} }
} }
part { name: "conf_over"; }
mouse_events: 0; part { name: "elm.text.center";
description { state: "default" 0.0; type: TEXT;
rel1.to: "base"; mouse_events: 0;
rel2.to: "base"; scale: 1;
image { description { state: "default" 0.0;
normal: "shelf_inset.png"; color: 0 0 0 255;
border: 7 7 7 7; text {
middle: 0; font: "Sans,Edje-Vera";
} size: 10;
fill.smooth : 0;
}
}
part { name: "icon.dragable.area";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
rel1.to: "base";
rel2.to: "base";
}
}
part { name: "elm.text.left";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.05 0.5;
min: 1 1;
}
}
}
part { name: "elm.text.center";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 1 1;
}
}
}
part { name: "elm.text.right";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.95 0.5;
min: 1 1;
}
}
}
part { name: "elm.drag_button_base";
type: SWALLOW;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 50 25;
align: 0.5 0.5; align: 0.5 0.5;
rel1.to: "icon.dragable.area"; min: 1 1;
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
}
dragable {
confine: "icon.dragable.area";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "elm.drag_button";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
min: 50 25;
color: 255 255 255 0;
rel1.to_x: "elm.drag_button_base";
rel1.to_y: "icon.dragable.area";
rel2.to_x: "elm.drag_button_base";
rel2.to_y: "icon.dragable.area";
}
dragable {
events: "elm.drag_button_base";
}
}
part { name: "button0";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
middle: SOLID;
}
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
rel2.to: "elm.drag_button";
image {
normal: "bt_basew.png";
border: 7 7 7 7;
middle: SOLID;
}
color: 255 255 255 210;
}
}
part { name: "button3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
}
color: 255 255 255 190;
}
}
part { name: "elm.text.indicator";
type: TEXT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "elm.drag_button";
offset: 5 0;
}
rel2 {
to: "elm.drag_button";
offset: -5 0;
}
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 0 1;
}
} }
} }
} }
programs { part { name: "elm.text.right";
program { name: "elm.drag_button,mouse,up"; type: TEXT;
signal: "mouse,up,1"; mouse_events: 0;
source: "elm.drag_button"; scale: 1;
action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.95 0.5;
min: 1 1;
}
} }
program { name: "elm.drag_button,mouse,down"; }
signal: "mouse,down,1"; part { name: "elm.drag_button_base";
source: "elm.drag_button"; type: SWALLOW;
action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 50 25;
align: 0.5 0.5;
rel1.to: "icon.dragable.area";
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
} }
program { name: "elm.drag_button,mouse,move"; dragable {
signal: "mouse,move"; confine: "icon.dragable.area";
source: "elm.drag_button_base"; x: 1 1 0;
action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; y: 0 0 0;
}
}
part { name: "elm.drag_button";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
min: 50 25;
color: 255 255 255 0;
rel1.to_x: "elm.drag_button_base";
rel1.to_y: "icon.dragable.area";
rel2.to_x: "elm.drag_button_base";
rel2.to_y: "icon.dragable.area";
}
dragable {
events: "elm.drag_button_base";
}
}
part { name: "button0";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
middle: SOLID;
}
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
rel2.to: "elm.drag_button";
image {
normal: "bt_basew.png";
border: 7 7 7 7;
middle: SOLID;
}
color: 255 255 255 210;
}
}
part { name: "button3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
}
color: 255 255 255 190;
}
}
part { name: "elm.text.indicator";
type: TEXT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "elm.drag_button";
offset: 5 0;
}
rel2 {
to: "elm.drag_button";
offset: -5 0;
}
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 0 1;
}
} }
} }
} }
programs {
group { name: "elm/actionslider/base/bar"; program { name: "elm.drag_button,mouse,up";
signal: "mouse,up,1";
images { source: "elm.drag_button";
image: "shelf_inset.png" COMP; action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_hilightw.png" COMP;
} }
program { name: "elm.drag_button,mouse,down";
signal: "mouse,down,1";
source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
}
program { name: "elm.drag_button,mouse,move";
signal: "mouse,move";
source: "elm.drag_button_base";
action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
}
}
}
parts { group { name: "elm/actionslider/base/bar";
part {
name: "base"; images {
mouse_events: 0; image: "shelf_inset.png" COMP;
description { image: "ilist_1.png" COMP;
state: "default" 0.0; image: "bt_bases.png" COMP;
min: 150 30; image: "bt_basew.png" COMP;
rel1.offset: 1 1; image: "bt_hilightw.png" COMP;
rel2.offset: -2 -2; }
image {
normal: "ilist_1.png"; parts {
border: 2 2 2 2; part {
} name: "base";
fill.smooth: 0; mouse_events: 0;
description {
state: "default" 0.0;
min: 150 30;
rel1.offset: 1 1;
rel2.offset: -2 -2;
image {
normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "icon.dragable.area";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
rel1.to: "base";
rel2.to: "base";
}
}
part { name: "elm.text.left";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.05 0.5;
min: 1 1;
} }
} }
part { name: "conf_over"; }
mouse_events: 0; part { name: "elm.text.center";
description { state: "default" 0.0; type: TEXT;
rel1.to: "base"; mouse_events: 0;
rel2.to: "base"; scale: 1;
image { description { state: "default" 0.0;
normal: "shelf_inset.png"; color: 0 0 0 255;
border: 7 7 7 7; text {
middle: 0; font: "Sans,Edje-Vera";
} size: 10;
fill.smooth : 0;
}
}
part { name: "icon.dragable.area";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
rel1.to: "base";
rel2.to: "base";
}
}
part { name: "elm.text.left";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.05 0.5;
min: 1 1;
}
}
}
part { name: "elm.text.center";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 1 1;
}
}
}
part { name: "elm.text.right";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.95 0.5;
min: 1 1;
}
}
}
part { name: "bar";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 2;
rel2 {
relative: 0 1;
offset: 3 -3;
to_x: "elm.drag_button_base";
to_y: "base";
}
color: 0 0 0 180;
}
}
part { name: "elm.drag_button_base";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 50 25;
align: 0.5 0.5; align: 0.5 0.5;
rel1.to: "icon.dragable.area"; min: 1 1;
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
}
dragable {
confine: "icon.dragable.area";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "elm.drag_button";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
min: 50 25;
color: 255 255 255 0;
rel1.to_x: "elm.drag_button_base";
rel1.to_y: "icon.dragable.area";
rel2.to_x: "elm.drag_button_base";
rel2.to_y: "icon.dragable.area";
}
dragable {
events: "elm.drag_button_base";
}
}
part { name: "button0";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
middle: SOLID;
}
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
rel2.to: "elm.drag_button";
image {
normal: "bt_basew.png";
border: 7 7 7 7;
middle: SOLID;
}
color: 255 255 255 210;
}
}
part { name: "button3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
}
color: 255 255 255 190;
}
}
part { name: "elm.text.indicator";
type: TEXT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "elm.drag_button";
offset: 5 0;
}
rel2 {
to: "elm.drag_button";
offset: -5 0;
}
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 0 1;
}
} }
} }
} }
programs { part { name: "elm.text.right";
program { name: "elm.drag_button,mouse,up"; type: TEXT;
signal: "mouse,up,1"; mouse_events: 0;
source: "elm.drag_button"; scale: 1;
action: SIGNAL_EMIT "elm.drag_button,mouse,up" ""; description { state: "default" 0.0;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.95 0.5;
min: 1 1;
}
} }
program { name: "elm.drag_button,mouse,down"; }
signal: "mouse,down,1"; part { name: "bar";
source: "elm.drag_button"; type: RECT;
action: SIGNAL_EMIT "elm.drag_button,mouse,down" ""; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "base";
rel1.offset: 0 2;
rel2 {
relative: 0 1;
offset: 3 -3;
to_x: "elm.drag_button_base";
to_y: "base";
}
color: 0 0 0 180;
} }
program { name: "elm.drag_button,mouse,move"; }
signal: "mouse,move"; part { name: "elm.drag_button_base";
source: "elm.drag_button_base"; type: SWALLOW;
action: SIGNAL_EMIT "elm.drag_button,mouse,move" ""; mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 50 25;
align: 0.5 0.5;
rel1.to: "icon.dragable.area";
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
}
dragable {
confine: "icon.dragable.area";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "elm.drag_button";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
min: 50 25;
color: 255 255 255 0;
rel1.to_x: "elm.drag_button_base";
rel1.to_y: "icon.dragable.area";
rel2.to_x: "elm.drag_button_base";
rel2.to_y: "icon.dragable.area";
}
dragable {
events: "elm.drag_button_base";
}
}
part { name: "button0";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
middle: SOLID;
}
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.drag_button";
rel2.to: "elm.drag_button";
image {
normal: "bt_basew.png";
border: 7 7 7 7;
middle: SOLID;
}
color: 255 255 255 210;
}
}
part { name: "button3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
}
color: 255 255 255 190;
}
}
part { name: "elm.text.indicator";
type: TEXT;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
rel1 {
to: "elm.drag_button";
offset: 5 0;
}
rel2 {
to: "elm.drag_button";
offset: -5 0;
}
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
align: 0.5 0.5;
min: 0 1;
}
} }
} }
} }
programs {
program { name: "elm.drag_button,mouse,up";
signal: "mouse,up,1";
source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
}
program { name: "elm.drag_button,mouse,down";
signal: "mouse,down,1";
source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
}
program { name: "elm.drag_button,mouse,move";
signal: "mouse,move";
source: "elm.drag_button_base";
action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,69 +1,67 @@
group { name: "elm/bg/base/default"; group { name: "elm/bg/base/default";
images { images {
image: "dia_grad.png" COMP; image: "dia_grad.png" COMP;
image: "dia_topshad.png" COMP; image: "dia_topshad.png" COMP;
image: "dia_botshad.png" COMP; image: "dia_botshad.png" COMP;
}
parts {
part { name: "base";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
} }
parts { part { name: "elm.swallow.rectangle";
part { name: "base"; type: SWALLOW;
mouse_events: 0; description { state: "default" 0.0;
description { state: "default" 0.0; }
image.normal: "dia_grad.png"; }
fill { part { name: "elm.swallow.background";
smooth: 0; type: SWALLOW;
size { description { state: "default" 0.0;
relative: 0.0 1.0; }
offset: 64 0; }
} part { name: "shadow";
mouse_events: 0;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
rel2.offset: -1 31;
image.normal: "dia_topshad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
} }
} }
} }
part { name: "elm.swallow.rectangle"; }
type: SWALLOW; part { name: "shadow2";
description { state: "default" 0.0; mouse_events: 0;
} description { state: "default" 0.0;
} rel1.relative: 0.0 1.0;
part { name: "elm.swallow.background"; rel1.offset: 0 -9;
type: SWALLOW; image.normal: "dia_botshad.png";
description { state: "default" 0.0; fill {
} smooth: 0;
} size {
part { name: "shadow"; relative: 0.0 1.0;
mouse_events: 0; offset: 64 0;
description { state: "default" 0.0;
rel2.relative: 1.0 0.0;
rel2.offset: -1 31;
image.normal: "dia_topshad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
} }
} }
} }
part { name: "shadow2"; }
mouse_events: 0; part { name: "elm.swallow.content";
description { state: "default" 0.0; type: SWALLOW;
rel1.relative: 0.0 1.0; description { state: "default" 0.0;
rel1.offset: 0 -9;
image.normal: "dia_botshad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
}
} }
} }
} }
}
///////////////////////////////////////////////////////////////////////////////

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,250 +1,249 @@
group { name: "elm/check/base/default"; group { name: "elm/check/base/default";
images { images {
image: "check_base.png" COMP; image: "check_base.png" COMP;
image: "check.png" COMP; image: "check.png" COMP;
image: "check2.png" COMP; image: "check2.png" COMP;
} }
parts { parts {
part { name: "bg"; part { name: "bg";
mouse_events: 0; mouse_events: 0;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.offset: 1 1; rel1.offset: 1 1;
rel2.relative: 0.0 1.0; rel2.relative: 0.0 1.0;
rel2.offset: 1 -2; rel2.offset: 1 -2;
align: 0.0 0.5; align: 0.0 0.5;
min: 16 16; min: 16 16;
max: 16 16; max: 16 16;
aspect: 1.0 1.0; aspect: 1.0 1.0;
aspect_preference: VERTICAL; aspect_preference: VERTICAL;
image { image {
normal: "check_base.png"; normal: "check_base.png";
border: 5 5 5 5; border: 5 5 5 5;
middle: 0; middle: 0;
}
fill.smooth : 0;
}
}
part { name: "check";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1 {
to: "bg";
offset: 1 1;
}
rel2 {
to: "bg";
offset: -2 -2;
}
visible: 0;
color: 255 255 255 255;
image.normal: "check.png";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
color: 128 128 128 128;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
visible: 0;
align: 0.0 0.5;
rel1.to_x: "bg";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "bg";
rel2.offset: 1 -2;
rel2.relative: 1.0 1.0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
fixed: 1 0;
visible: 1;
aspect: 1.0 1.0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
fixed: 1 0;
visible: 1;
aspect: 1.0 1.0;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
visible: 0;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.relative: 1.0 1.0;
rel2.offset: -2 -2;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 1;
align: -1.0 0.5;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
color3: 0 0 0 0;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
color3: 0 0 0 0;
visible: 1;
text.min: 1 1;
}
}
part { name: "events";
type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
} }
fill.smooth : 0;
} }
} }
programs { part { name: "check";
program { name: "click"; mouse_events: 0;
signal: "mouse,up,1"; scale: 1;
source: "events"; description { state: "default" 0.0;
action: SIGNAL_EMIT "elm,action,check,toggle" ""; rel1 {
to: "bg";
offset: 1 1;
}
rel2 {
to: "bg";
offset: -2 -2;
}
visible: 0;
color: 255 255 255 255;
image.normal: "check.png";
} }
program { name: "check_on"; description { state: "visible" 0.0;
signal: "elm,state,check,on"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "visible" 0.0;
target: "check";
} }
program { name: "check_off"; description { state: "disabled" 0.0;
signal: "elm,state,check,off"; inherit: "default" 0.0;
source: "elm"; visible: 0;
action: STATE_SET "default" 0.0; color: 128 128 128 128;
target: "check";
} }
program { name: "text_show"; description { state: "disabled_visible" 0.0;
signal: "elm,state,text,visible"; inherit: "default" 0.0;
source: "elm"; color: 128 128 128 128;
action: STATE_SET "visible" 0.0; visible: 1;
target: "elm.text";
} }
program { name: "text_hide"; }
signal: "elm,state,text,hidden"; part { name: "elm.swallow.content";
source: "elm"; type: SWALLOW;
action: STATE_SET "default" 0.0; description { state: "default" 0.0;
target: "elm.text"; fixed: 1 0;
visible: 0;
align: 0.0 0.5;
rel1.to_x: "bg";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "bg";
rel2.offset: 1 -2;
rel2.relative: 1.0 1.0;
} }
program { name: "icon_show"; description { state: "visible" 0.0;
signal: "elm,state,icon,visible"; inherit: "default" 0.0;
source: "elm"; fixed: 1 0;
action: STATE_SET "visible" 0.0; visible: 1;
target: "elm.swallow.content"; aspect: 1.0 1.0;
} }
program { name: "icon_hide"; description { state: "disabled" 0.0;
signal: "elm,state,icon,hidden"; inherit: "default" 0.0;
source: "elm"; color: 128 128 128 128;
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
} }
program { name: "disable"; description { state: "disabled_visible" 0.0;
signal: "elm,state,disabled"; inherit: "default" 0.0;
source: "elm"; color: 128 128 128 128;
action: STATE_SET "disabled" 0.0; fixed: 1 0;
target: "disabler"; visible: 1;
after: "disable_text"; aspect: 1.0 1.0;
} }
program { name: "disable_text"; }
script { part { name: "elm.text";
new st[31]; type: TEXT;
new Float:vl; mouse_events: 0;
get_state(PART:"elm.text", st, 30, vl); scale: 1;
if (!strcmp(st, "visible")) description { state: "default" 0.0;
set_state(PART:"elm.text", "disabled_visible", 0.0); visible: 0;
else rel1.to_x: "elm.swallow.content";
set_state(PART:"elm.text", "disabled", 0.0); rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
get_state(PART:"elm.swallow.content", st, 30, vl); rel2.relative: 1.0 1.0;
if (!strcmp(st, "visible")) rel2.offset: -2 -2;
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0); color: 0 0 0 255;
else text {
set_state(PART:"elm.swallow.content", "disabled", 0.0); font: "Sans,Edje-Vera";
size: 10;
get_state(PART:"check", st, 30, vl); min: 0 1;
if (!strcmp(st, "visible")) align: -1.0 0.5;
set_state(PART:"check", "disabled_visible", 0.0);
else
set_state(PART:"check", "disabled", 0.0);
} }
} }
program { name: "enable"; description { state: "visible" 0.0;
signal: "elm,state,enabled"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "default" 0.0; text.min: 1 1;
target: "disabler";
after: "enable_text";
} }
program { name: "enable_text"; description { state: "disabled" 0.0;
script { inherit: "default" 0.0;
new st[31]; color: 0 0 0 128;
new Float:vl; color3: 0 0 0 0;
get_state(PART:"elm.text", st, 30, vl); }
if (!strcmp(st, "disabled_visible")) description { state: "disabled_visible" 0.0;
set_state(PART:"elm.text", "visible", 0.0); inherit: "default" 0.0;
else color: 0 0 0 128;
set_state(PART:"elm.text", "default", 0.0); color3: 0 0 0 0;
visible: 1;
get_state(PART:"elm.swallow.content", st, 30, vl); text.min: 1 1;
if (!strcmp(st, "visible")) }
set_state(PART:"elm.swallow.content", "visible", 0.0); }
else part { name: "events";
set_state(PART:"elm.swallow.content", "default", 0.0); type: RECT;
ignore_flags: ON_HOLD;
get_state(PART:"check", st, 30, vl); description { state: "default" 0.0;
if (!strcmp(st, "visible")) color: 0 0 0 0;
set_state(PART:"check", "visible", 0.0); }
else }
set_state(PART:"check", "default", 0.0); part { name: "disabler";
} type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
} }
} }
} }
/////////////////////////////////////////////////////////////////////////////// programs {
program { name: "click";
signal: "mouse,up,1";
source: "events";
action: SIGNAL_EMIT "elm,action,check,toggle" "";
}
program { name: "check_on";
signal: "elm,state,check,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "check";
}
program { name: "check_off";
signal: "elm,state,check,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "check";
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
after: "disable_text";
}
program { name: "disable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.text", "disabled_visible", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
else
set_state(PART:"elm.swallow.content", "disabled", 0.0);
get_state(PART:"check", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"check", "disabled_visible", 0.0);
else
set_state(PART:"check", "disabled", 0.0);
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
after: "enable_text";
}
program { name: "enable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled_visible"))
set_state(PART:"elm.text", "visible", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "visible", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
get_state(PART:"check", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"check", "visible", 0.0);
else
set_state(PART:"check", "default", 0.0);
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,489 +1,486 @@
//////////////////////////////////////////////////////////////////////////////// group { name: "elm/colorselector/bg/default";
// colorselector parts {
//////////////////////////////////////////////////////////////////////////////// part { name: "elm.colorbar_0";
group { name: "elm/colorselector/bg/default"; type: SWALLOW;
parts { mouse_events: 1;
part { name: "elm.colorbar_0"; description { state: "default" 0.0;
type: SWALLOW; min: 120 30;
mouse_events: 1; rel1.relative: 0.0 0.00653594771;
description { state: "default" 0.0; rel2.relative: 1.0 0.254901961;
min: 120 30; }
rel1.relative: 0.0 0.00653594771; }
rel2.relative: 1.0 0.254901961; part { name: "elm.colorbar_1";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
min: 120 30;
rel1.relative: 0.0 0.254901961;
rel2.relative: 1.0 0.503267974;
}
}
part { name: "elm.colorbar_2";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
min: 120 30;
rel1.relative: 0.0 0.503267974;
rel2.relative: 1.0 0.751633987;
}
}
part { name: "elm.colorbar_3";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
min: 120 30;
rel1.relative: 0.0 0.751633987;
rel2.relative: 1.0 1.0;
}
}
}
}
group { name: "elm/colorselector/base/default";
parts {
part { name: "elm.bar_bg";
type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
min: 60 22;
rel1 {
relative: 0.0 0.8;
to_x: "elm.arrow_bg";
to_y: "elm.arrow_icon";
offset: 0 0;
}
rel2 {
relative: 1.0 0.83;
to_x: "elm.arrow_bg";
offset: 0 0;
} }
} }
part { name: "elm.colorbar_1"; }
type: SWALLOW; part { name: "elm.bar";
mouse_events: 1; type: SWALLOW;
description { state: "default" 0.0; mouse_events: 0;
min: 120 30; description { state: "default" 0.0;
rel1.relative: 0.0 0.254901961; rel1.to: "elm.bar_bg";
rel2.relative: 1.0 0.503267974; rel2.to: "elm.bar_bg";
}
}
part { name: "elm.arrow_bg";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
rel1 {
relative: 1.0 0.17;
offset: 3 0;
to_x: "elm.l_button";
}
rel2 {
relative: 0.0 0.83;
offset: -4 0;
to_x: "elm.r_button";
} }
} }
part { name: "elm.colorbar_2"; }
type: SWALLOW; part { name: "elm.arrow";
mouse_events: 1; type: RECT;
description { state: "default" 0.0; mouse_events: 1;
min: 120 30; scale: 1;
rel1.relative: 0.0 0.503267974; description { state: "default" 0.0;
rel2.relative: 1.0 0.751633987; min: 1 1;
fixed: 1 1;
align: 0 0;
rel1 {
to_x: "elm.arrow_bg";
}
rel2 {
relative: 0.0 0.17;
to_x: "elm.arrow_bg";
}
color: 0 0 0 0;
visible: 0;
}
dragable {
confine: "elm.arrow_bg";
x: 1 1 0;
y: 0 0 0;
}
}
part { name: "elm.arrow_icon";
type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
min: 25 15;
max: 25 15;
fixed: 1 1;
align: 0.5 0;
rel1 {
to_x: "elm.arrow";
}
rel2 {
relative: 1.0 0.0;
offset: 0 10;
to_x: "elm.arrow";
} }
} }
part { name: "elm.colorbar_3"; }
type: SWALLOW; part { name: "event";
mouse_events: 1; type: RECT;
description { state: "default" 0.0; mouse_events: 1;
min: 120 30; description { state: "default" 0.0;
rel1.relative: 0.0 0.751633987; rel1 {
rel2.relative: 1.0 1.0; to: "elm.arrow_icon";
} }
rel2 {
to_x: "elm.arrow_icon";
to_y: "elm.arrow_bg";
offset: 0 0;
}
color: 0 0 0 0;
}
dragable {
events: "elm.arrow";
}
}
part { name: "elm.l_button";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
min: 24 24;
fixed: 1 1;
rel1 {
relative: 0.0 0.0;
to_y: "elm.bar_bg";
}
rel2 {
relative: 0.0 1.0;
to_y: "elm.bar_bg";
}
align: 0.0 0.5;
}
}
part { name: "elm.r_button";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
state: "default" 0.0;
min: 24 24;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
to_y: "elm.bar_bg";
}
rel2 {
relative: 1.0 1.0;
to_y: "elm.bar_bg";
}
align: 1.0 0.5;
}
}
}
}
group{ name: "elm/colorselector/image/colorbar_0";
images {
image: "color_picker_color.png" COMP;
}
parts {
part { name: "colorbar_0_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_color.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_1";
images {
image: "color_picker_opacity.png" COMP;
}
parts {
part { name: "colorbar_1_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_opacity.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_2";
images {
image: "color_picker_brightness.png" COMP;
}
parts {
part { name: "colorbar_2_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_brightness.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_3";
images {
image: "color_picker_alpha.png" COMP;
}
parts {
part { name: "colorbar_3_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_alpha.png";
}
}
}
}
group { name: "elm/colorselector/bg_image/colorbar_3";
images {
image: "color_picker_alpha_bg.png" COMP;
}
parts {
part { name: "colorbar_3_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_alpha_bg.png";
}
}
}
}
group { name: "elm/colorselector/image/updown";
images {
image: "icon_arrow_down.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "arrow_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "icon_arrow_down.png";
}
}
}
}
group { name: "elm/colorselector/button/left";
images {
image: "bt_base1.png" COMP;
image: "bt_shine.png" COMP;
image: "sp_bt_l.png" COMP;
}
parts {
part { name: "button_image";
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "bt_base1.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "bt_shine.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
}
part { name: "btn_over";
type: IMAGE;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2 {
relative: 1.0 0.5;
to: "button_image";
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
}
}
}
part { name: "btn_over2";
type: IMAGE;
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_shine.png";
border: 7 7 7 7;
}
}
}
part { name: "focus_image";
type: IMAGE;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "left_arrow";
mouse_events: 1;
description { state: "default" 0.0;
min: 16 16;
max: 16 16;
image.normal: "sp_bt_l.png";
} }
} }
} }
group { name: "elm/colorselector/base/default"; programs {
parts { program {
part { name: "elm.bar_bg"; name: "button_down";
type: SWALLOW; signal: "elm,state,left,button,down";
mouse_events: 0; source: "left_button";
description { state: "default" 0.0; action: STATE_SET "clicked" 0.0;
min: 60 22; target: "button_image";
rel1 { target: "focus_image";
relative: 0.0 0.8; }
to_x: "elm.arrow_bg"; program {
to_y: "elm.arrow_icon"; name: "button_up";
offset: 0 0; signal: "elm,state,left,button,up";
} source: "left_button";
rel2 { action: STATE_SET "default" 0.0;
relative: 1.0 0.83; target: "button_image";
to_x: "elm.arrow_bg"; target: "focus_image";
offset: 0 0; }
} }
}
group { name: "elm/colorselector/button/right";
images {
image: "bt_base1.png" COMP;
image: "bt_shine.png" COMP;
image: "sp_bt_r.png" COMP;
}
parts {
part { name: "button_image";
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "bt_base1.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "bt_shine.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
}
part { name: "btn_over";
type: IMAGE;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2 {
relative: 1.0 0.5;
to: "button_image";
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
} }
} }
part { name: "elm.bar"; }
type: SWALLOW; part { name: "btn_over2";
mouse_events: 0; type: IMAGE;
description { state: "default" 0.0; mouse_events: 1;
rel1.to: "elm.bar_bg"; repeat_events: 1;
rel2.to: "elm.bar_bg"; ignore_flags: ON_HOLD;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_shine.png";
border: 7 7 7 7;
} }
} }
part { name: "elm.arrow_bg"; }
type: SWALLOW; part { name: "focus_image";
mouse_events: 1; type: IMAGE;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1 { color: 255 255 255 0;
relative: 1.0 0.17; rel1.to: "button_image";
offset: 3 0; rel2.to: "button_image";
to_x: "elm.l_button"; image {
} normal: "bt_glow.png";
rel2 { border: 12 12 12 12;
relative: 0.0 0.83;
offset: -4 0;
to_x: "elm.r_button";
}
} }
fill.smooth: 0;
} }
part { name: "elm.arrow"; description { state: "clicked" 0.0;
type: RECT; inherit: "default" 0.0;
mouse_events: 1; visible: 1;
scale: 1; color: 255 255 255 255;
description { state: "default" 0.0;
min: 1 1;
fixed: 1 1;
align: 0 0;
rel1 {
to_x: "elm.arrow_bg";
}
rel2 {
relative: 0.0 0.17;
to_x: "elm.arrow_bg";
}
color: 0 0 0 0;
visible: 0;
}
dragable {
confine: "elm.arrow_bg";
x: 1 1 0;
y: 0 0 0;
}
} }
part { name: "elm.arrow_icon"; }
type: SWALLOW; part { name: "right_arrow";
mouse_events: 0; mouse_events: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
min: 25 15; min: 16 16;
max: 25 15; max: 16 16;
fixed: 1 1; image.normal: "sp_bt_r.png";
align: 0.5 0;
rel1 {
to_x: "elm.arrow";
}
rel2 {
relative: 1.0 0.0;
offset: 0 10;
to_x: "elm.arrow";
}
}
}
part { name: "event";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
rel1 {
to: "elm.arrow_icon";
}
rel2 {
to_x: "elm.arrow_icon";
to_y: "elm.arrow_bg";
offset: 0 0;
}
color: 0 0 0 0;
}
dragable {
events: "elm.arrow";
}
}
part { name: "elm.l_button";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description { state: "default" 0.0;
min: 24 24;
fixed: 1 1;
rel1 {
relative: 0.0 0.0;
to_y: "elm.bar_bg";
}
rel2 {
relative: 0.0 1.0;
to_y: "elm.bar_bg";
}
align: 0.0 0.5;
}
}
part { name: "elm.r_button";
type: SWALLOW;
mouse_events: 1;
scale: 1;
description {
state: "default" 0.0;
min: 24 24;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
to_y: "elm.bar_bg";
}
rel2 {
relative: 1.0 1.0;
to_y: "elm.bar_bg";
}
align: 1.0 0.5;
}
} }
} }
} }
group{ name: "elm/colorselector/image/colorbar_0"; programs {
images { program {
image: "color_picker_color.png" COMP; name: "button_down";
signal: "elm,state,right,button,down";
source: "right_button";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "focus_image";
} }
parts { program {
part { name: "colorbar_0_image"; name: "button_up";
type: IMAGE; signal: "elm,state,right,button,up";
mouse_events: 1; source: "right_button";
description { state: "default" 0.0; action: STATE_SET "default" 0.0;
rel2.offset: -1 -1; target: "button_image";
image.normal: "color_picker_color.png"; target: "focus_image";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_1";
images {
image: "color_picker_opacity.png" COMP;
}
parts {
part { name: "colorbar_1_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_opacity.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_2";
images {
image: "color_picker_brightness.png" COMP;
}
parts {
part { name: "colorbar_2_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_brightness.png";
}
}
}
}
group { name: "elm/colorselector/image/colorbar_3";
images {
image: "color_picker_alpha.png" COMP;
}
parts {
part { name: "colorbar_3_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_alpha.png";
}
}
}
}
group { name: "elm/colorselector/bg_image/colorbar_3";
images {
image: "color_picker_alpha_bg.png" COMP;
}
parts {
part { name: "colorbar_3_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
rel2.offset: -1 -1;
image.normal: "color_picker_alpha_bg.png";
}
}
}
}
group { name: "elm/colorselector/image/updown";
images {
image: "icon_arrow_down.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "arrow_image";
type: IMAGE;
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "icon_arrow_down.png";
}
}
}
}
group { name: "elm/colorselector/button/left";
images {
image: "bt_base1.png" COMP;
image: "bt_shine.png" COMP;
image: "sp_bt_l.png" COMP;
}
parts {
part { name: "button_image";
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "bt_base1.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "bt_shine.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
}
part { name: "btn_over";
type: IMAGE;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2 {
relative: 1.0 0.5;
to: "button_image";
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
}
}
}
part { name: "btn_over2";
type: IMAGE;
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_shine.png";
border: 7 7 7 7;
}
}
}
part { name: "focus_image";
type: IMAGE;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "left_arrow";
mouse_events: 1;
description { state: "default" 0.0;
min: 16 16;
max: 16 16;
image.normal: "sp_bt_l.png";
}
}
}
programs {
program {
name: "button_down";
signal: "elm,state,left,button,down";
source: "left_button";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "focus_image";
}
program {
name: "button_up";
signal: "elm,state,left,button,up";
source: "left_button";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "focus_image";
}
}
}
group { name: "elm/colorselector/button/right";
images {
image: "bt_base1.png" COMP;
image: "bt_shine.png" COMP;
image: "sp_bt_r.png" COMP;
}
parts {
part { name: "button_image";
mouse_events: 1;
description { state: "default" 0.0;
image.normal: "bt_base1.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "bt_shine.png";
image.border: 6 6 6 6;
image.middle: SOLID;
}
}
part { name: "btn_over";
type: IMAGE;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2 {
relative: 1.0 0.5;
to: "button_image";
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
}
}
}
part { name: "btn_over2";
type: IMAGE;
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_shine.png";
border: 7 7 7 7;
}
}
}
part { name: "focus_image";
type: IMAGE;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "button_image";
rel2.to: "button_image";
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
fill.smooth: 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "right_arrow";
mouse_events: 1;
description { state: "default" 0.0;
min: 16 16;
max: 16 16;
image.normal: "sp_bt_r.png";
}
}
}
programs {
program {
name: "button_down";
signal: "elm,state,right,button,down";
source: "right_button";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "focus_image";
}
program {
name: "button_up";
signal: "elm,state,right,button,up";
source: "right_button";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "focus_image";
}
} }
} }
}

View File

@ -1,41 +1,40 @@
/////////////////////////////////////////////////////////////////////////////// group { name: "elm/conformant/base/default";
group { name: "elm/conformant/base/default"; parts {
parts { part { name: "elm.swallow.shelf";
part { name: "elm.swallow.shelf"; type: SWALLOW;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; fixed: 0 1;
fixed: 0 1; align: 0.0 0.0;
align: 0.0 0.0; rel2.relative: 1.0 0.0;
rel2.relative: 1.0 0.0; }
} }
} part { name: "elm.swallow.content";
part { name: "elm.swallow.content"; type: SWALLOW;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; fixed: 0 1;
fixed: 0 1; align: 0.5 0.5;
align: 0.5 0.5; rel1.relative: 0.0 1.0;
rel1.relative: 0.0 1.0; rel1.to_y: "elm.swallow.shelf";
rel1.to_y: "elm.swallow.shelf"; rel2.relative: 1.0 0.0;
rel2.relative: 1.0 0.0; rel2.to_y: "elm.swallow.virtualkeypad";
rel2.to_y: "elm.swallow.virtualkeypad"; }
} }
} part { name: "elm.swallow.virtualkeypad";
part { name: "elm.swallow.virtualkeypad"; type: SWALLOW;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; fixed: 0 1;
fixed: 0 1; align: 0.0 1.0;
align: 0.0 1.0; rel2.relative: 1.0 0.0;
rel2.relative: 1.0 0.0; rel2.to_y: "elm.swallow.panel";
rel2.to_y: "elm.swallow.panel"; }
} }
} part { name: "elm.swallow.panel";
part { name: "elm.swallow.panel"; type: SWALLOW;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; fixed: 0 1;
fixed: 0 1; align: 0.0 1.0;
align: 0.0 1.0; rel1.relative: 0.0 1.0;
rel1.relative: 0.0 1.0; }
} }
} }
} }
}

File diff suppressed because it is too large Load Diff

View File

@ -1,189 +1,186 @@
//////////////////////////////////////////////////////////////////////////////// group { name: "elm/diskselector/base/default";
// diskselector images {
//////////////////////////////////////////////////////////////////////////////// image: "bar_shine.png" COMP;
group { name: "elm/diskselector/base/default"; }
images {
image: "bar_shine.png" COMP;
}
parts { parts {
part { name: "bg"; part { name: "bg";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
color: 0 0 0 255; color: 0 0 0 255;
}
}
part { name: "shine_left";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel1.relative: -0.1 0;
rel2.to: "bg";
rel2.relative: 0.1 1;
image.normal: "bar_shine.png";
color: 255 255 255 120;
}
}
part { name: "shine_center";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel1.relative: 0.2 0;
rel2.to: "bg";
rel2.relative: 0.8 1;
image.normal: "bar_shine.png";
color: 255 255 255 180;
}
}
part { name: "shine_right";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel1.relative: 0.9 0;
rel2.to: "bg";
rel2.relative: 1.1 1;
image.normal: "bar_shine.png";
color: 255 255 255 120;
}
}
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
}
}
group { name: "elm/diskselector/item/default";
data {
item: "len_threshold" "14";
item: "display_item_num" "3";
item: "min_height" "-1";
item: "min_width" "-1";
}
parts {
part { name: "elm.swallow.icon";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
rel1 {
relative: 0 0;
offset: 4 4;
}
rel2 {
relative: 0 1;
offset: 4 -5;
} }
} }
part { name: "shine_left"; description { state: "show" 0.0;
mouse_events: 0; inherit: "default" 0.0;
description { state: "default" 0.0; }
rel1.to: "bg"; description { state: "default_small" 0.0;
rel1.relative: -0.1 0; inherit: "default" 0.0;
rel2.to: "bg"; rel1.relative: 0 0.2;
rel2.relative: 0.1 1; rel2.relative: 0 0.8;
image.normal: "bar_shine.png"; }
color: 255 255 255 120; description { state: "left_side" 0.0;
inherit: "default" 0.0;
rel1.relative: 0 0.2;
rel2.relative: 0 0.8;
color: 255 255 255 160;
}
description { state: "right_side" 0.0;
inherit: "left_side" 0.0;
rel1.relative: 0.4 0.2;
rel2.relative: 0.4 0.8;
color: 255 255 255 160;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1 0.0;
rel1.to_x: "elm.swallow.icon";
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
visible: 0;
text {
font: "Sans,Edje-Vera";
size: 13;
align: 0.5 0.5;
min: 0 1;
} }
} }
part { name: "shine_center"; description { state: "show" 0.0;
mouse_events: 0; inherit: "default" 0.0;
description { state: "default" 0.0; visible: 1;
rel1.to: "bg";
rel1.relative: 0.2 0;
rel2.to: "bg";
rel2.relative: 0.8 1;
image.normal: "bar_shine.png";
color: 255 255 255 180;
}
} }
part { name: "shine_right"; description { state: "default_small" 0.0;
mouse_events: 0; inherit: "default" 0.0;
description { state: "default" 0.0; visible: 1;
rel1.to: "bg"; text.size: 10;
rel1.relative: 0.9 0;
rel2.to: "bg";
rel2.relative: 1.1 1;
image.normal: "bar_shine.png";
color: 255 255 255 120;
}
} }
part { name: "clipper"; description { state: "left_side" 0.0;
type: RECT; inherit: "default" 0.0;
mouse_events: 0; color: 172 172 172 255;
description { state: "default" 0.0; text.size: 10;
rel1.to: "bg"; visible: 1;
rel2.to: "bg"; text.align: 0.2 0.5;
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
} }
part { name: "elm.swallow.content"; description { state: "right_side" 0.0;
clip_to: "clipper"; inherit: "default" 0.0;
type: SWALLOW; color: 172 172 172 255;
description { state: "default" 0.0; visible: 1;
rel1.to: "bg"; text.size: 10;
rel2.to: "bg"; text.align: 0.8 0.5;
}
} }
} }
} }
group { name: "elm/diskselector/item/default"; programs {
program { name: "center_text";
data { signal: "elm,state,center";
item: "len_threshold" "14"; source: "elm";
item: "display_item_num" "3"; action: STATE_SET "show" 0.0;
item: "min_height" "-1"; target: "elm.text";
item: "min_width" "-1"; target: "elm.swallow.icon";
} }
program { name: "center_small_text";
parts { signal: "elm,state,center_small";
part { name: "elm.swallow.icon"; source: "elm";
type: SWALLOW; action: STATE_SET "default_small" 0.0;
description { state: "default" 0.0; target: "elm.text";
fixed: 1 0; target: "elm.swallow.icon";
align: 0.0 0.5;
rel1 {
relative: 0 0;
offset: 4 4;
}
rel2 {
relative: 0 1;
offset: 4 -5;
}
}
description { state: "show" 0.0;
inherit: "default" 0.0;
}
description { state: "default_small" 0.0;
inherit: "default" 0.0;
rel1.relative: 0 0.2;
rel2.relative: 0 0.8;
}
description { state: "left_side" 0.0;
inherit: "default" 0.0;
rel1.relative: 0 0.2;
rel2.relative: 0 0.8;
color: 255 255 255 160;
}
description { state: "right_side" 0.0;
inherit: "left_side" 0.0;
rel1.relative: 0.4 0.2;
rel2.relative: 0.4 0.8;
color: 255 255 255 160;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1 0.0;
rel1.to_x: "elm.swallow.icon";
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
visible: 0;
text {
font: "Sans,Edje-Vera";
size: 13;
align: 0.5 0.5;
min: 0 1;
}
}
description { state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "default_small" 0.0;
inherit: "default" 0.0;
visible: 1;
text.size: 10;
}
description { state: "left_side" 0.0;
inherit: "default" 0.0;
color: 172 172 172 255;
text.size: 10;
visible: 1;
text.align: 0.2 0.5;
}
description { state: "right_side" 0.0;
inherit: "default" 0.0;
color: 172 172 172 255;
visible: 1;
text.size: 10;
text.align: 0.8 0.5;
}
}
} }
program { name: "l_side_text";
programs { signal: "elm,state,left_side";
program { name: "center_text"; source: "elm";
signal: "elm,state,center"; action: STATE_SET "left_side" 0.0;
source: "elm"; target: "elm.text";
action: STATE_SET "show" 0.0; target: "elm.swallow.icon";
target: "elm.text"; }
target: "elm.swallow.icon"; program { name: "r_side_text";
} signal: "elm,state,right_side";
program { name: "center_small_text"; source: "elm";
signal: "elm,state,center_small"; action: STATE_SET "right_side" 0.0;
source: "elm"; target: "elm.text";
action: STATE_SET "default_small" 0.0; target: "elm.swallow.icon";
target: "elm.text";
target: "elm.swallow.icon";
}
program { name: "l_side_text";
signal: "elm,state,left_side";
source: "elm";
action: STATE_SET "left_side" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
program { name: "r_side_text";
signal: "elm,state,right_side";
source: "elm";
action: STATE_SET "right_side" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
} }
} }
}

File diff suppressed because it is too large Load Diff

View File

@ -1,160 +1,160 @@
group { name: "elm/entry/path/separator/default"; group { name: "elm/entry/path/separator/default";
images.image: "arrow_right.png" COMP; images.image: "arrow_right.png" COMP;
parts { parts {
part { name: "icon"; part { name: "icon";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
image.normal: "arrow_right.png"; image.normal: "arrow_right.png";
max: 64 64; max: 64 64;
aspect: 1.0 1.0; aspect: 1.0 1.0;
}
}
}
}
group { name: "elm/fileselector/base/default";
data {
item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
}
parts {
part { name: "elm.swallow.up";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 10 10;
fixed: 1 1;
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.home";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
to: "elm.swallow.up";
relative: 1.0 0.0;
offset: 5 0;
}
rel2 {
to: "elm.swallow.up";
relative: 1.0 1.0;
offset: 20 -1;
}
}
}
part { name: "elm.swallow.files";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.home";
relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
to_y: "elm.swallow.path";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.path";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.filename";
relative: 0.0 0.0;
offset: 0 -1;
}
rel2 {
to_y: "elm.swallow.filename";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.filename";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.ok";
relative: 0.0 0.0;
offset: 0 -1;
}
rel2 {
to_y: "elm.swallow.ok";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.cancel";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1 {
to: "elm.swallow.ok";
relative: 0.0 0.0;
offset: -3 0;
}
rel2 {
to: "elm.swallow.ok";
relative: 0.0 1.0;
offset: -3 -1;
}
}
}
part { name: "elm.swallow.ok";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1 {
relative: 1.0 1.0;
offset: -1 -1;
} }
} }
} }
} }
}
group { name: "elm/fileselector/base/default"; group { name: "elm/fileselector_entry/base/default";
data { parts {
item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>"; part { name: "elm.swallow.entry";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 50 10;
rel2 { to_x: "elm.swallow.button";
relative: 0.0 1.0;
offset: -1 -1;
}
}
} }
parts { part { name: "elm.swallow.button";
part { name: "elm.swallow.up"; type: SWALLOW;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; align: 1.0 0.0;
align: 0.0 0.0; min: 10 10;
min: 10 10; fixed: 1 1;
fixed: 1 1; rel1 {
rel2 { relative: 1.0 0.0;
relative: 0.0 0.0; offset: -21 0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.home";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
to: "elm.swallow.up";
relative: 1.0 0.0;
offset: 5 0;
}
rel2 {
to: "elm.swallow.up";
relative: 1.0 1.0;
offset: 20 -1;
}
}
}
part { name: "elm.swallow.files";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.home";
relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
to_y: "elm.swallow.path";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.path";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.filename";
relative: 0.0 0.0;
offset: 0 -1;
}
rel2 {
to_y: "elm.swallow.filename";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.filename";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.5 1.0;
fixed: 1 1;
rel1 {
to_y: "elm.swallow.ok";
relative: 0.0 0.0;
offset: 0 -1;
}
rel2 {
to_y: "elm.swallow.ok";
relative: 1.0 0.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.cancel";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1 {
to: "elm.swallow.ok";
relative: 0.0 0.0;
offset: -3 0;
}
rel2 {
to: "elm.swallow.ok";
relative: 0.0 1.0;
offset: -3 -1;
}
}
}
part { name: "elm.swallow.ok";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
rel1 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}
}
group { name: "elm/fileselector_entry/base/default";
parts {
part { name: "elm.swallow.entry";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
min: 50 10;
rel2 { to_x: "elm.swallow.button";
relative: 0.0 1.0;
offset: -1 -1;
}
}
}
part { name: "elm.swallow.button";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.0;
min: 10 10;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -21 0;
}
} }
} }
} }
} }
}

View File

@ -1,491 +1,491 @@
#define FLIP_PICKER_MAX_LEN (50) #define FLIP_PICKER_MAX_LEN (50)
#define FLIP_PICKER_MAX_LEN_STR "50" #define FLIP_PICKER_MAX_LEN_STR "50"
group { name: "elm/flipselector/base/default"; group { name: "elm/flipselector/base/default";
images { images {
image: "flip_base.png" COMP; image: "flip_base.png" COMP;
image: "flip_base_shad.png" COMP; image: "flip_base_shad.png" COMP;
image: "flip_shad.png" COMP; image: "flip_shad.png" COMP;
image: "arrow_up.png" COMP; image: "arrow_up.png" COMP;
image: "arrow_down.png" COMP; image: "arrow_down.png" COMP;
image: "flip_t.png" COMP; image: "flip_t.png" COMP;
image: "flip_b.png" COMP; image: "flip_b.png" COMP;
} }
data { data {
item: "max_len" FLIP_PICKER_MAX_LEN_STR; item: "max_len" FLIP_PICKER_MAX_LEN_STR;
} }
//FIXME: quick successive clicks on, say, up, lead to nastiness //FIXME: quick successive clicks on, say, up, lead to nastiness
script { script {
public cur, prev, next, lock; public cur, prev, next, lock;
public animator_bottom_down(val, Float:pos) { public animator_bottom_down(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN]; new tmp[FLIP_PICKER_MAX_LEN];
set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0); set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default", set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
0.0); 0.0);
set_tween_state(PART:"shadow", pos, "half", 0.0, "full", set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
0.0); 0.0);
if (pos >= 1.0) { if (pos >= 1.0) {
set_state(PART:"shadow", "default", 0.0); set_state(PART:"shadow", "default", 0.0);
set_int(lock, 0); set_int(lock, 0);
fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN); fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) { if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
replace_str(next, 0, ""); replace_str(next, 0, "");
message(MSG_STRING, 1, tmp); message(MSG_STRING, 1, tmp);
}
}
}
public animator_top_down(val, Float:pos) {
set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
0.0);
set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
0.0);
if (pos >= 1.0)
anim(0.2, "animator_bottom_down", val);
}
public animator_bottom_up(val, Float:pos) {
set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
0.0);
set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
0.0);
if (pos >= 1.0)
anim(0.2, "animator_top_up", val);
}
public animator_top_up(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
0.0);
set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
0.0);
if (pos >= 1.0) {
set_state(PART:"shadow", "default", 0.0);
set_int(lock, 0);
fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
replace_str(next, 0, "");
message(MSG_STRING, 2, tmp);
}
}
}
public message(Msg_Type:type, id, ...) {
/* flip down */
if ((type == MSG_STRING) && (id == 1)) {
new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
if (get_int(lock) == 1) {
replace_str(next, 0, value);
return;
}
fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
set_text(PART:"bottom_b", tmp);
set_state(PART:"top", "shrink", 0.0);
set_text(PART:"top", tmp);
set_state(PART:"top", "default", 0.0);
set_text(PART:"top", tmp);
replace_str(prev, 0, tmp);
set_state(PART:"bottom", "default", 0.0);
set_text(PART:"bottom", value);
set_state(PART:"bottom", "shrink", 0.0);
set_text(PART:"bottom", value);
set_text(PART:"top_b", value);
replace_str(cur, 0, value);
set_state(PART:"bottom_sheet", "shrink", 0.0);
set_state(PART:"top_sheet", "default", 0.0);
set_int(lock, 1);
set_state(PART:"shadow", "default", 0.0);
anim(0.2, "animator_top_down", 1);
}
/* flip up */
if ((type == MSG_STRING) && (id == 2)) {
new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
if (get_int(lock) == 1) {
replace_str(next, 0, value);
return;
}
fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
set_text(PART:"top_b", tmp);
set_state(PART:"bottom", "shrink", 0.0);
set_text(PART:"bottom", tmp);
set_state(PART:"bottom", "default", 0.0);
set_text(PART:"bottom", tmp);
replace_str(prev, 0, tmp);
set_state(PART:"top", "default", 0.0);
set_text(PART:"top", value);
set_state(PART:"top", "shrink", 0.0);
set_text(PART:"top", value);
set_text(PART:"bottom_b", value);
replace_str(cur, 0, value);
set_state(PART:"bottom_sheet", "default", 0.0);
set_state(PART:"top_sheet", "shrink", 0.0);
set_int(lock, 1);
set_state(PART:"shadow", "full", 0.0);
anim(0.2, "animator_bottom_up", 1);
} }
} }
} }
parts { public animator_top_down(val, Float:pos) {
part { name: "shad"; set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
mouse_events: 0; set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
description { state: "default" 0.0; 0.0);
rel1.offset: -4 -4; set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
rel1.to: "base"; 0.0);
rel2.offset: 3 3;
rel2.to: "base";
image {
normal: "flip_base_shad.png";
border: 8 8 8 8;
}
}
}
part { name: "base"; if (pos >= 1.0)
scale: 1; anim(0.2, "animator_bottom_down", val);
description { state: "default" 0.0; }
rel1.offset: 4 4;
rel2.offset: -5 -5;
min: 24 48;
image.normal: "flip_base.png";
}
}
part { name: "b"; public animator_bottom_up(val, Float:pos) {
type: RECT; set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
mouse_events: 1; set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
description { state: "default" 0.0; 0.0);
rel1.to: "base"; set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
rel1.relative: 0.0 0.5; 0.0);
rel2.to: "base";
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "t"; if (pos >= 1.0)
type: RECT; anim(0.2, "animator_top_up", val);
mouse_events: 1; }
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 1.0 0.5;
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "bottom_sheet_static"; public animator_top_up(val, Float:pos) {
mouse_events: 0; new tmp[FLIP_PICKER_MAX_LEN];
description { state: "default" 0.0;
visible: 1;
rel1.to: "b";
rel2.to: "b";
image.normal: "flip_b.png";
}
}
part { name: "bottom_b"; set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
mouse_events: 0; set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
clip_to: "bottom_clipper"; 0.0);
type: TEXT; set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
scale: 1; 0.0);
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
}
part { name: "shadow"; if (pos >= 1.0) {
mouse_events: 0; set_state(PART:"shadow", "default", 0.0);
description { state: "default" 0.0; set_int(lock, 0);
rel1.to: "b";
rel2.to: "b";
rel2.relative: 1.0 0.0;
image.normal: "flip_shad.png";
}
description { state: "half" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 0.5;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "bottom_sheet"; fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
mouse_events: 0; if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
description { state: "default" 0.0; replace_str(next, 0, "");
visible: 1; message(MSG_STRING, 2, tmp);
rel1.to: "b";
rel2.to: "b";
image.normal: "flip_b.png";
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
visible: 0;
rel2.relative: 1.0 0.0;
}
}
part { name: "bottom";
mouse_events: 0;
clip_to: "bottom_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
visible: 0;
rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
}
}
part { name: "top_sheet_static";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "t";
rel2.to: "t";
image.normal: "flip_t.png";
}
}
part { name: "top_b";
mouse_events: 0;
clip_to: "top_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
source: "top";
}
}
}
part { name: "top_sheet";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "t";
rel2.to: "t";
image.normal: "flip_t.png";
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
visible: 0;
rel1.relative: 0.0 1.0;
}
}
part { name: "top";
mouse_events: 0;
clip_to: "top_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.5;
}
}
part { name: "arrow_top";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 0.0;
rel1.to: "t";
rel2.to: "t";
image.normal: "arrow_up.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "arrow_bottom";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 1.0;
rel1.to: "b";
rel2.to: "b";
image.normal: "arrow_down.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part {
type: RECT;
mouse_events: 0;
name: "top_clipper";
description {
state: "default" 0.0;
rel1.to: "t";
rel2.to: "t";
visible: 1;
}
}
part {
type: RECT;
mouse_events: 0;
name: "bottom_clipper";
description {
state: "default" 0.0;
rel1.to: "b";
rel2.to: "b";
visible: 1;
} }
} }
} }
programs { public message(Msg_Type:type, id, ...) {
program { name: "load"; /* flip down */
signal: "load"; if ((type == MSG_STRING) && (id == 1)) {
source: ""; new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
script {
append_str(cur, ""); snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
append_str(prev, "");
append_str(next, ""); if (get_int(lock) == 1) {
set_int(lock, 0); replace_str(next, 0, value);
return;
} }
fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
set_text(PART:"bottom_b", tmp);
set_state(PART:"top", "shrink", 0.0);
set_text(PART:"top", tmp);
set_state(PART:"top", "default", 0.0);
set_text(PART:"top", tmp);
replace_str(prev, 0, tmp);
set_state(PART:"bottom", "default", 0.0);
set_text(PART:"bottom", value);
set_state(PART:"bottom", "shrink", 0.0);
set_text(PART:"bottom", value);
set_text(PART:"top_b", value);
replace_str(cur, 0, value);
set_state(PART:"bottom_sheet", "shrink", 0.0);
set_state(PART:"top_sheet", "default", 0.0);
set_int(lock, 1);
set_state(PART:"shadow", "default", 0.0);
anim(0.2, "animator_top_down", 1);
} }
program { name: "hide_arrows"; /* flip up */
signal: "elm,state,button,hidden"; if ((type == MSG_STRING) && (id == 2)) {
source: "elm"; new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
action: STATE_SET "hidden" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "t";
target: "b";
}
program { name: "show_arrows"; snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
signal: "elm,state,button,visible";
source: "elm";
action: STATE_SET "default" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "t";
target: "b";
}
program { name: "up"; if (get_int(lock) == 1) {
signal: "mouse,down,1"; replace_str(next, 0, value);
source: "t"; return;
action: SIGNAL_EMIT "elm,action,up,start" ""; }
}
program { name: "up,stop"; fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
signal: "mouse,up,1";
source: "t"; set_text(PART:"top_b", tmp);
action: SIGNAL_EMIT "elm,action,up,stop" "";
} set_state(PART:"bottom", "shrink", 0.0);
program { name: "down"; set_text(PART:"bottom", tmp);
signal: "mouse,down,1"; set_state(PART:"bottom", "default", 0.0);
source: "b"; set_text(PART:"bottom", tmp);
action: SIGNAL_EMIT "elm,action,down,start" "";
} replace_str(prev, 0, tmp);
program { name: "down,stop";
signal: "mouse,up,1"; set_state(PART:"top", "default", 0.0);
source: "b"; set_text(PART:"top", value);
action: SIGNAL_EMIT "elm,action,down,stop" ""; set_state(PART:"top", "shrink", 0.0);
set_text(PART:"top", value);
set_text(PART:"bottom_b", value);
replace_str(cur, 0, value);
set_state(PART:"bottom_sheet", "default", 0.0);
set_state(PART:"top_sheet", "shrink", 0.0);
set_int(lock, 1);
set_state(PART:"shadow", "full", 0.0);
anim(0.2, "animator_bottom_up", 1);
} }
} }
} }
parts {
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -4 -4;
rel1.to: "base";
rel2.offset: 3 3;
rel2.to: "base";
image {
normal: "flip_base_shad.png";
border: 8 8 8 8;
}
}
}
part { name: "base";
scale: 1;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
min: 24 48;
image.normal: "flip_base.png";
}
}
part { name: "b";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.0 0.5;
rel2.to: "base";
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "t";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
rel2.relative: 1.0 0.5;
color: 0 0 0 0;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "bottom_sheet_static";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "b";
rel2.to: "b";
image.normal: "flip_b.png";
}
}
part { name: "bottom_b";
mouse_events: 0;
clip_to: "bottom_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
}
part { name: "shadow";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "b";
rel2.to: "b";
rel2.relative: 1.0 0.0;
image.normal: "flip_shad.png";
}
description { state: "half" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 0.5;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
rel2.relative: 1.0 1.0;
}
}
part { name: "bottom_sheet";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "b";
rel2.to: "b";
image.normal: "flip_b.png";
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
visible: 0;
rel2.relative: 1.0 0.0;
}
}
part { name: "bottom";
mouse_events: 0;
clip_to: "bottom_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
visible: 0;
rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
}
}
part { name: "top_sheet_static";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "t";
rel2.to: "t";
image.normal: "flip_t.png";
}
}
part { name: "top_b";
mouse_events: 0;
clip_to: "top_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
source: "top";
}
}
}
part { name: "top_sheet";
mouse_events: 0;
description { state: "default" 0.0;
visible: 1;
rel1.to: "t";
rel2.to: "t";
image.normal: "flip_t.png";
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
visible: 0;
rel1.relative: 0.0 1.0;
}
}
part { name: "top";
mouse_events: 0;
clip_to: "top_clipper";
type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
color: 0 0 0 255;
color2: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 30;
min: 1 1;
align: 0.5 0.5;
}
}
description { state: "shrink" 0.0;
inherit: "default" 0.0;
visible: 0;
rel1.relative: 0.0 0.5;
}
}
part { name: "arrow_top";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 0.0;
rel1.to: "t";
rel2.to: "t";
image.normal: "arrow_up.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "arrow_bottom";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 15 15;
max: 15 15;
align: 0.5 1.0;
rel1.to: "b";
rel2.to: "b";
image.normal: "arrow_down.png";
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part {
type: RECT;
mouse_events: 0;
name: "top_clipper";
description {
state: "default" 0.0;
rel1.to: "t";
rel2.to: "t";
visible: 1;
}
}
part {
type: RECT;
mouse_events: 0;
name: "bottom_clipper";
description {
state: "default" 0.0;
rel1.to: "b";
rel2.to: "b";
visible: 1;
}
}
}
programs {
program { name: "load";
signal: "load";
source: "";
script {
append_str(cur, "");
append_str(prev, "");
append_str(next, "");
set_int(lock, 0);
}
}
program { name: "hide_arrows";
signal: "elm,state,button,hidden";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "t";
target: "b";
}
program { name: "show_arrows";
signal: "elm,state,button,visible";
source: "elm";
action: STATE_SET "default" 0.0;
target: "arrow_top";
target: "arrow_bottom";
target: "t";
target: "b";
}
program { name: "up";
signal: "mouse,down,1";
source: "t";
action: SIGNAL_EMIT "elm,action,up,start" "";
}
program { name: "up,stop";
signal: "mouse,up,1";
source: "t";
action: SIGNAL_EMIT "elm,action,up,stop" "";
}
program { name: "down";
signal: "mouse,down,1";
source: "b";
action: SIGNAL_EMIT "elm,action,down,start" "";
}
program { name: "down,stop";
signal: "mouse,up,1";
source: "b";
action: SIGNAL_EMIT "elm,action,down,stop" "";
}
}
}

View File

@ -1,303 +1,303 @@
group { name: "elm/frame/base/default"; group { name: "elm/frame/base/default";
images { images {
image: "frame_1.png" COMP; image: "frame_1.png" COMP;
image: "frame_2.png" COMP; image: "frame_2.png" COMP;
image: "dia_grad.png" COMP; image: "dia_grad.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
rel1.to: "over";
rel2.to: "over";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
}
part { name: "base";
mouse_events: 0;
description { state: "default" 0.0;
rel2.to: "elm.swallow.content";
rel2.offset: 9 9;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
rel1 {
relative: 0.0 0.0;
offset: 6 6;
}
rel2 {
relative: 1.0 0.0;
offset: -7 6;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 0.0 0.0;
}
}
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.to: "elm.swallow.content";
rel2.offset: 5 5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
rel1 {
to_y: "elm.text";
relative: 0.0 1.0;
offset: 8 2;
}
rel2.offset: -9 -9;
}
}
}
} }
parts {
group { name: "elm/frame/base/pad_small"; part { name: "base0";
parts { mouse_events: 0;
part { name: "b0"; description { state: "default" 0.0;
mouse_events: 0; image.normal: "dia_grad.png";
type: RECT; rel1.to: "over";
scale: 1; rel2.to: "over";
description { state: "default" 0.0; fill {
visible: 0; smooth: 0;
min: 4 4; size {
max: 4 4; relative: 0.0 1.0;
align: 0.0 0.0; offset: 64 0;
} }
} }
part { name: "b1"; }
mouse_events: 0; }
type: RECT; part { name: "base";
scale: 1; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; rel2.to: "elm.swallow.content";
min: 4 4; rel2.offset: 9 9;
max: 4 4; image {
align: 1.0 1.0; normal: "frame_2.png";
} border: 5 5 32 26;
} middle: 0;
part { name: "elm.swallow.content"; }
type: SWALLOW; fill.smooth : 0;
description { state: "default" 0.0; }
rel1 { }
to: "b0"; part { name: "elm.text";
relative: 1.0 1.0; type: TEXT;
offset: 0 0; mouse_events: 0;
} scale: 1;
rel2 { description { state: "default" 0.0;
to: "b1"; align: 0.0 0.0;
relative: 0.0 0.0; fixed: 0 1;
offset: -1 -1; rel1 {
} relative: 0.0 0.0;
} offset: 6 6;
} }
} rel2 {
relative: 1.0 0.0;
offset: -7 6;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 0.0 0.0;
}
}
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.to: "elm.swallow.content";
rel2.offset: 5 5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.0;
rel1 {
to_y: "elm.text";
relative: 0.0 1.0;
offset: 8 2;
}
rel2.offset: -9 -9;
}
}
} }
}
group { name: "elm/frame/base/pad_medium"; group { name: "elm/frame/base/pad_small";
parts { parts {
part { name: "b0"; part { name: "b0";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 8 8; min: 4 4;
max: 8 8; max: 4 4;
align: 0.0 0.0; align: 0.0 0.0;
} }
} }
part { name: "b1"; part { name: "b1";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 8 8; min: 4 4;
max: 8 8; max: 4 4;
align: 1.0 1.0; align: 1.0 1.0;
} }
} }
part { name: "elm.swallow.content"; part { name: "elm.swallow.content";
type: SWALLOW; type: SWALLOW;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1 { rel1 {
to: "b0"; to: "b0";
relative: 1.0 1.0; relative: 1.0 1.0;
offset: 0 0; offset: 0 0;
} }
rel2 { rel2 {
to: "b1"; to: "b1";
relative: 0.0 0.0; relative: 0.0 0.0;
offset: -1 -1; offset: -1 -1;
} }
} }
} }
}
} }
}
group { name: "elm/frame/base/pad_large"; group { name: "elm/frame/base/pad_medium";
parts { parts {
part { name: "b0"; part { name: "b0";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 16 16; min: 8 8;
max: 16 16; max: 8 8;
align: 0.0 0.0; align: 0.0 0.0;
} }
} }
part { name: "b1"; part { name: "b1";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 16 16; min: 8 8;
max: 16 16; max: 8 8;
align: 1.0 1.0; align: 1.0 1.0;
} }
} }
part { name: "elm.swallow.content"; part { name: "elm.swallow.content";
type: SWALLOW; type: SWALLOW;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1 { rel1 {
to: "b0"; to: "b0";
relative: 1.0 1.0; relative: 1.0 1.0;
offset: 0 0; offset: 0 0;
} }
rel2 { rel2 {
to: "b1"; to: "b1";
relative: 0.0 0.0; relative: 0.0 0.0;
offset: -1 -1; offset: -1 -1;
} }
} }
} }
}
} }
}
group { name: "elm/frame/base/pad_huge"; group { name: "elm/frame/base/pad_large";
parts { parts {
part { name: "b0"; part { name: "b0";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 32 32; min: 16 16;
max: 32 32; max: 16 16;
align: 0.0 0.0; align: 0.0 0.0;
} }
} }
part { name: "b1"; part { name: "b1";
mouse_events: 0; mouse_events: 0;
type: RECT; type: RECT;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
min: 32 32; min: 16 16;
max: 32 32; max: 16 16;
align: 1.0 1.0; align: 1.0 1.0;
} }
} }
part { name: "elm.swallow.content"; part { name: "elm.swallow.content";
type: SWALLOW; type: SWALLOW;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1 { rel1 {
to: "b0"; to: "b0";
relative: 1.0 1.0; relative: 1.0 1.0;
offset: 0 0; offset: 0 0;
} }
rel2 { rel2 {
to: "b1"; to: "b1";
relative: 0.0 0.0; relative: 0.0 0.0;
offset: -1 -1; offset: -1 -1;
} }
} }
} }
}
} }
}
group { name: "elm/frame/base/outdent_top"; group { name: "elm/frame/base/pad_huge";
images { parts {
image: "outdent-top.png" COMP; part { name: "b0";
} mouse_events: 0;
parts { type: RECT;
part { name: "base0"; scale: 1;
mouse_events: 0; description { state: "default" 0.0;
description { state: "default" 0.0; visible: 0;
image.normal: "outdent-top.png"; min: 32 32;
image.border: 0 0 0 13; max: 32 32;
fill.smooth: 0; align: 0.0 0.0;
} }
} }
part { name: "elm.swallow.content"; part { name: "b1";
type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0; type: RECT;
rel1.offset: 2 2; scale: 1;
rel2.offset: -3 -13; description { state: "default" 0.0;
} visible: 0;
} min: 32 32;
} max: 32 32;
align: 1.0 1.0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to: "b0";
relative: 1.0 1.0;
offset: 0 0;
}
rel2 {
to: "b1";
relative: 0.0 0.0;
offset: -1 -1;
}
}
}
} }
}
group { name: "elm/frame/base/outdent_bottom"; group { name: "elm/frame/base/outdent_top";
images { images {
image: "outdent-bottom.png" COMP; image: "outdent-top.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "outdent-bottom.png";
image.border: 0 0 13 0;
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 2 12;
rel2.offset: -3 -3;
}
}
}
} }
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "outdent-top.png";
image.border: 0 0 0 13;
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -13;
}
}
}
}
group { name: "elm/frame/base/outdent_bottom";
images {
image: "outdent-bottom.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "outdent-bottom.png";
image.border: 0 0 13 0;
fill.smooth: 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 2 12;
rel2.offset: -3 -3;
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -11,49 +11,49 @@
description { aspect: 1.0 1.0; aspect_preference: BOTH; \ description { aspect: 1.0 1.0; aspect_preference: BOTH; \
image.normal: File; } } } } image.normal: File; } } } }
group { name: "elm/icon/arrow_down/default"; group { name: "elm/icon/arrow_down/default";
alias: "elm/icon/toolbar/arrow_down/default"; alias: "elm/icon/toolbar/arrow_down/default";
alias: "elm/icon/toolbar/more_menu/default"; min: 32 32; alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
images.image: "icon_arrow_down.png" COMP; parts { part { name: "base"; images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH; description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "icon_arrow_down.png"; } } } } image.normal: "icon_arrow_down.png"; } } } }
GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0); GROUP_ALIAS_ICON("home", "toolbar/home", "icon_home.png", 32, 0);
GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0); GROUP_ALIAS_ICON("close", "toolbar/close", "icon_close.png", 32, 0);
GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0); GROUP_ALIAS_ICON("apps", "toolbar/apps", "icon_apps.png", 32, 0);
GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0); GROUP_ALIAS_ICON("arrow_up", "toolbar/arrow_up", "icon_arrow_up.png", 32, 0);
GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0); GROUP_ALIAS_ICON("arrow_left", "toolbar/arrow_left", "icon_arrow_left.png", 32, 0);
GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0); GROUP_ALIAS_ICON("arrow_right", "toolbar/arrow_right", "icon_arrow_right.png", 32, 0);
GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0); GROUP_ALIAS_ICON("chat", "toolbar/chat", "icon_chat.png", 32, 0);
GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0); GROUP_ALIAS_ICON("clock", "toolbar/clock", "icon_clock.png", 32, 0);
GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0); GROUP_ALIAS_ICON("delete", "toolbar/delete", "icon_delete.png", 32, 0);
GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0); GROUP_ALIAS_ICON("edit", "toolbar/edit", "icon_edit.png", 32, 0);
GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0); GROUP_ALIAS_ICON("refresh", "toolbar/refresh", "icon_refresh.png", 32, 0);
GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0); GROUP_ALIAS_ICON("folder", "toolbar/folder", "icon_folder.png", 32, 0);
GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0); GROUP_ALIAS_ICON("file", "toolbar/file", "icon_file.png", 32, 0);
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
GROUP_ICON("menu/home", "icon_home.png", 24, 24); GROUP_ICON("menu/home", "icon_home.png", 24, 24);
GROUP_ICON("menu/close", "icon_close.png", 24, 24); GROUP_ICON("menu/close", "icon_close.png", 24, 24);
GROUP_ICON("menu/apps", "icon_apps.png", 24, 24); GROUP_ICON("menu/apps", "icon_apps.png", 24, 24);
GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24); GROUP_ICON("menu/arrow_up", "icon_arrow_up.png", 24, 24);
GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24); GROUP_ICON("menu/arrow_down", "icon_arrow_down.png", 24, 24);
GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24); GROUP_ICON("menu/arrow_left", "icon_arrow_left.png", 24, 24);
GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24); GROUP_ICON("menu/arrow_right", "icon_arrow_right.png", 24, 24);
GROUP_ICON("menu/chat", "icon_chat.png", 24, 24); GROUP_ICON("menu/chat", "icon_chat.png", 24, 24);
GROUP_ICON("menu/clock", "icon_clock.png", 24, 24); GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
GROUP_ICON("menu/delete", "icon_delete.png", 24, 24); GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
GROUP_ICON("menu/edit", "icon_edit.png", 24, 24); GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24); GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
GROUP_ICON("menu/folder", "icon_folder.png", 24, 24); GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
GROUP_ICON("menu/file", "icon_file.png", 24, 24); GROUP_ICON("menu/file", "icon_file.png", 24, 24);
GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0); GROUP_ICON("media_player/forward", "mp_forward.png", 16, 0);
GROUP_ICON("media_player/info", "mp_info.png", 16, 0); GROUP_ICON("media_player/info", "mp_info.png", 16, 0);
GROUP_ICON("media_player/next", "mp_next.png", 16, 0); GROUP_ICON("media_player/next", "mp_next.png", 16, 0);
GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0); GROUP_ICON("media_player/pause", "mp_pause.png", 16, 0);
GROUP_ICON("media_player/play", "mp_play.png", 16, 0); GROUP_ICON("media_player/play", "mp_play.png", 16, 0);
GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0); GROUP_ICON("media_player/prev", "mp_prev.png", 16, 0);
GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0); GROUP_ICON("media_player/rewind", "mp_rewind.png", 16, 0);
GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0); GROUP_ICON("media_player/stop", "mp_stop.png", 16, 0);
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,399 +1,398 @@
group { name: "elm/index/base/vertical/default"; group { name: "elm/index/base/vertical/default";
images { images {
image: "bt_base1.png" COMP; image: "bt_base1.png" COMP;
image: "bt_base2.png" COMP; image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP; image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP; image: "bt_shine.png" COMP;
}
parts {
part { name: "clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
}
description { state: "active" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "clip2";
type: RECT;
mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
}
description { state: "active" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.index.0";
type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
relative: 1.0 0.5;
offset: -1 5;
}
rel2 {
relative: 1.0 0.5;
offset: -1 -6;
}
}
}
part { name: "button_image";
mouse_events: 1;
clip_to: "clip";
description { state: "default" 0.0;
rel1 {
to: "elm.text.body";
offset: -5 -5;
}
rel2 {
to: "elm.text";
offset: 4 4;
}
image {
normal: "bt_base2.png";
border: 7 7 7 7;
}
image.middle: SOLID;
}
}
part { name: "elm.text.body";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
scale: 1;
clip_to: "clip";
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
to: "elm.text";
relative: 0.0 0.0;
offset: 5 0;
}
rel2 {
to: "elm.text";
relative: 0.0 1.0;
offset: 5 -1;
}
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans,Edje-Vera";
size: 20;
min: 1 1;
align: 1.0 0.5;
}
}
}
part { name: "elm.text";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
scale: 1;
clip_to: "clip";
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 0;
}
rel2 {
to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 -1;
}
color: 255 0 0 255;
color3: 0 0 0 64;
text {
font: "Sans,Edje-Vera";
size: 20;
min: 1 1;
align: 1.0 0.5;
}
}
}
part { name: "over1";
mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1 {
to: "button_image";
}
rel2 {
to: "button_image";
relative: 1.0 0.5;
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
}
}
}
part { name: "over2";
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
clip_to: "clip";
description { state: "default" 0.0;
rel1 {
to: "button_image";
}
rel2 {
to: "button_image";
}
image {
normal: "bt_shine.png";
border: 7 7 7 7;
}
}
}
part { name: "elm.dragable.pointer";
type: RECT;
mouse_events: 0;
dragable {
x: 1 1 0;
y: 1 1 0;
}
clip_to: "clip";
description { state: "default" 0.0;
fixed: 1 1;
min: 8 8;
max: 8 8;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.event.0";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -1 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
}
programs {
program { name: "active";
signal: "elm,state,active";
source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
program { name: "inactive";
signal: "elm,state,inactive";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "clip";
}
}
} }
parts {
group { name: "elm/index/item/vertical/default"; part { name: "clip";
data.item: "stacking" "above"; type: RECT;
data.item: "selectraise" "on"; mouse_events: 0;
images { description { state: "default" 0.0;
image: "ilist_1.png" COMP; visible: 0;
image: "ilist_item_shadow.png" COMP; color: 255 255 255 0;
} }
parts { description { state: "active" 0.0;
part { visible: 1;
name: "base_sh"; color: 255 255 255 255;
mouse_events: 0; }
description { }
state: "default" 0.0; part { name: "clip2";
align: 0.0 0.0; type: RECT;
min: 0 10; mouse_events: 0;
fixed: 1 1; clip_to: "clip";
rel1 { description { state: "default" 0.0;
to: "base"; visible: 0;
relative: 0.0 1.0; color: 255 255 255 0;
offset: 0 0; }
} description { state: "active" 0.0;
rel2 { visible: 1;
to: "base"; color: 255 255 255 255;
relative: 1.0 1.0; }
offset: -1 0; }
} part { name: "elm.swallow.index.0";
image { type: SWALLOW;
normal: "ilist_item_shadow.png"; clip_to: "clip";
} description { state: "default" 0.0;
fill.smooth: 0; align: 1.0 0.5;
} fixed: 1 1;
} rel1 {
part { relative: 1.0 0.5;
name: "base"; offset: -1 5;
mouse_events: 0; }
description { rel2 {
state: "default" 0.0; relative: 1.0 0.5;
image { offset: -1 -6;
normal: "ilist_1.png"; }
border: 2 2 2 2; }
} }
fill.smooth: 0; part { name: "button_image";
} mouse_events: 1;
description { state: "active" 0.0; clip_to: "clip";
inherit: "default" 0.0; description { state: "default" 0.0;
rel1 { rel1 {
offset: -16 0; to: "elm.text.body";
} offset: -5 -5;
} }
} rel2 {
part { name: "elm.text"; to: "elm.text";
type: TEXT; offset: 4 4;
mouse_events: 0; }
scale: 1; image {
description { normal: "bt_base2.png";
state: "default" 0.0; border: 7 7 7 7;
// min: 16 16; }
rel1 { image.middle: SOLID;
to: "base"; }
relative: 0.0 0.0; }
offset: 4 4; part { name: "elm.text.body";
} type: TEXT;
rel2 { effect: SOFT_SHADOW;
to: "base"; mouse_events: 0;
relative: 0.5 1.0; scale: 1;
offset: -1 -1; clip_to: "clip";
} description { state: "default" 0.0;
color: 0 0 0 128; align: 1.0 0.5;
text { fixed: 1 1;
font: "Sans"; rel1 {
size: 10; to: "elm.text";
min: 1 1; relative: 0.0 0.0;
// min: 0 1; offset: 5 0;
align: 0.5 0.5; }
} rel2 {
} to: "elm.text";
description { state: "active" 0.0; relative: 0.0 1.0;
inherit: "default" 0.0; offset: 5 -1;
color: 0 0 0 255; }
} color: 224 224 224 255;
} color3: 0 0 0 64;
} text {
programs { font: "Sans,Edje-Vera";
program { name: "active"; size: 20;
signal: "elm,state,active"; min: 1 1;
source: "elm"; align: 1.0 0.5;
action: STATE_SET "active" 0.0; }
transition: DECELERATE 0.5; }
target: "elm.text"; }
target: "base"; part { name: "elm.text";
} type: TEXT;
program { name: "inactive"; effect: SOFT_SHADOW;
signal: "elm,state,inactive"; mouse_events: 0;
source: "elm"; scale: 1;
action: STATE_SET "default" 0.0; clip_to: "clip";
transition: DECELERATE 0.5; description { state: "default" 0.0;
target: "elm.text"; align: 1.0 0.5;
target: "base"; fixed: 1 1;
} rel1 {
} to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 0;
}
rel2 {
to_x: "elm.swallow.event.0";
to_y: "elm.dragable.pointer";
relative: 0.0 0.5;
offset: -16 -1;
}
color: 255 0 0 255;
color3: 0 0 0 64;
text {
font: "Sans,Edje-Vera";
size: 20;
min: 1 1;
align: 1.0 0.5;
}
}
}
part { name: "over1";
mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
rel1 {
to: "button_image";
}
rel2 {
to: "button_image";
relative: 1.0 0.5;
}
image {
normal: "bt_hilight.png";
border: 7 7 7 0;
}
}
}
part { name: "over2";
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
clip_to: "clip";
description { state: "default" 0.0;
rel1 {
to: "button_image";
}
rel2 {
to: "button_image";
}
image {
normal: "bt_shine.png";
border: 7 7 7 7;
}
}
}
part { name: "elm.dragable.pointer";
type: RECT;
mouse_events: 0;
dragable {
x: 1 1 0;
y: 1 1 0;
}
clip_to: "clip";
description { state: "default" 0.0;
fixed: 1 1;
min: 8 8;
max: 8 8;
visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 0.0 0.0;
offset: 0 0;
}
}
}
part { name: "elm.swallow.event.0";
type: SWALLOW;
description { state: "default" 0.0;
align: 1.0 0.5;
fixed: 1 1;
rel1 {
relative: 1.0 0.0;
offset: -1 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
} }
programs {
group { name: "elm/index/item_odd/vertical/default"; program { name: "active";
data.item: "stacking" "below"; signal: "elm,state,active";
images { source: "elm";
image: "ilist_2.png" COMP; action: STATE_SET "active" 0.0;
} transition: DECELERATE 0.5;
parts { target: "clip";
part { }
name: "base"; program { name: "inactive";
mouse_events: 0; signal: "elm,state,inactive";
description { source: "elm";
state: "default" 0.0; action: STATE_SET "default" 0.0;
image { transition: DECELERATE 0.5;
normal: "ilist_2.png"; target: "clip";
border: 2 2 2 2; }
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1 {
offset: -16 0;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
// min: 16 16;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: 0 0 0 128;
text {
font: "Sans";
size: 10;
min: 1 1;
// min: 0 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active";
source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
program { name: "inactive";
signal: "elm,state,inactive";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
}
} }
}
group { name: "elm/index/item/vertical/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
images {
image: "ilist_1.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
parts {
part {
name: "base_sh";
mouse_events: 0;
description {
state: "default" 0.0;
align: 0.0 0.0;
min: 0 10;
fixed: 1 1;
rel1 {
to: "base";
relative: 0.0 1.0;
offset: 0 0;
}
rel2 {
to: "base";
relative: 1.0 1.0;
offset: -1 0;
}
image {
normal: "ilist_item_shadow.png";
}
fill.smooth: 0;
}
}
part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
image {
normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1 {
offset: -16 0;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
// min: 16 16;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: 0 0 0 128;
text {
font: "Sans";
size: 10;
min: 1 1;
// min: 0 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active";
source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
program { name: "inactive";
signal: "elm,state,inactive";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
}
}
group { name: "elm/index/item_odd/vertical/default";
data.item: "stacking" "below";
images {
image: "ilist_2.png" COMP;
}
parts {
part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
image {
normal: "ilist_2.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
rel1 {
offset: -16 0;
}
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
// min: 16 16;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 4 4;
}
rel2 {
to: "base";
relative: 0.5 1.0;
offset: -1 -1;
}
color: 0 0 0 128;
text {
font: "Sans";
size: 10;
min: 1 1;
// min: 0 1;
align: 0.5 0.5;
}
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
}
}
programs {
program { name: "active";
signal: "elm,state,active";
source: "elm";
action: STATE_SET "active" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
program { name: "inactive";
signal: "elm,state,inactive";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "elm.text";
target: "base";
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,471 +1,471 @@
#define TEXT_SLIDE_DURATION 10 #define TEXT_SLIDE_DURATION 10
group { name: "elm/label/base/default"; group { name: "elm/label/base/default";
data.item: "default_font_size" "10"; data.item: "default_font_size" "10";
data.item: "min_font_size" "6"; data.item: "min_font_size" "6";
data.item: "max_font_size" "60"; data.item: "max_font_size" "60";
styles { styles {
style { name: "textblock_style"; style { name: "textblock_style";
base: "font=Sans font_size=10 color=#000 text_class=label"; base: "font=Sans font_size=10 color=#000 text_class=label";
tag: "br" "\n"; tag: "br" "\n";
tag: "ps" "ps"; tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold"; tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold"; tag: "b" "+ font_weight=Bold";
tag: "tab" "\t"; tag: "tab" "\t";
} }
} }
parts { parts {
part { name: "label.swallow.background"; part { name: "label.swallow.background";
type: SWALLOW; type: SWALLOW;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 1; visible: 1;
}
} }
part { name: "label.text.clip"; }
type: RECT; part { name: "label.text.clip";
description { state: "default" 0.0; type: RECT;
rel1 { relative: 0 0; to: "label.swallow.background"; } description { state: "default" 0.0;
rel2 { relative: 1 1; to: "label.swallow.background"; } rel1 { relative: 0 0; to: "label.swallow.background"; }
} rel2 { relative: 1 1; to: "label.swallow.background"; }
} }
part { name: "elm.text"; }
type: TEXTBLOCK; part { name: "elm.text";
mouse_events: 0; type: TEXTBLOCK;
scale: 1; mouse_events: 0;
clip_to: "label.text.clip"; scale: 1;
description { state: "default" 0.0; clip_to: "label.text.clip";
rel1.relative: 0.0 0.0; description { state: "default" 0.0;
rel2.relative: 1.0 1.0; rel1.relative: 0.0 0.0;
text { rel2.relative: 1.0 1.0;
style: "textblock_style"; text {
min: 0 1; style: "textblock_style";
} min: 0 1;
} }
} }
} }
} }
}
group { name: "elm/label/base/marker"; group { name: "elm/label/base/marker";
data.item: "default_font_size" "10"; data.item: "default_font_size" "10";
data.item: "min_font_size" "6"; data.item: "min_font_size" "6";
data.item: "max_font_size" "60"; data.item: "max_font_size" "60";
styles { styles {
style { name: "textblock_style2"; style { name: "textblock_style2";
base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label"; base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
tag: "br" "\n"; tag: "br" "\n";
tag: "ps" "ps"; tag: "ps" "ps";
tag: "hilight" "+ color=#ffff"; tag: "hilight" "+ color=#ffff";
tag: "b" "+ color=#ffff"; tag: "b" "+ color=#ffff";
tag: "tab" "\t"; tag: "tab" "\t";
}
}
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
rel1 { relative: 0 0; to: "elm.text"; }
rel2 { relative: 1 1; to: "elm.text"; }
} }
} }
parts { part { name: "elm.text";
part { name: "label.swallow.background"; type: TEXTBLOCK;
type: SWALLOW; mouse_events: 0;
description { state: "default" 0.0; scale: 1;
visible: 1; description { state: "default" 0.0;
rel1 { relative: 0 0; to: "elm.text"; } text {
rel2 { relative: 1 1; to: "elm.text"; } style: "textblock_style2";
} min: 1 1;
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
text {
style: "textblock_style2";
min: 1 1;
}
} }
} }
} }
} }
}
group { name: "elm/label/base/slide_long"; group { name: "elm/label/base/slide_long";
data.item: "default_font_size" "10"; data.item: "default_font_size" "10";
data.item: "min_font_size" "6"; data.item: "min_font_size" "6";
data.item: "max_font_size" "60"; data.item: "max_font_size" "60";
script { script {
public g_duration, g_stopslide, g_timer_id, g_anim_id; public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) { public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) { if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin() {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_state(PART:"elm.text", "slide_begin", 0.0);
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
}
}
part { name: "label.text.clip";
type: RECT;
description { state: "default" 0.0;
visible: 1;
color: 255 255 255 255;
rel1 { relative: 0 0; to: "label.swallow.background"; }
rel2 { relative: 1 1; to: "label.swallow.background"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 1.0 0.0;
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
}
}
}
programs {
program { name: "start_slide";
source: "elm";
signal: "elm,state,slide,start";
script
{
start_slide();
}
}
program { name: "stop_slide";
source: "elm";
signal: "elm,state,slide,stop";
script
{
stop_slide();
}
}
}
}
group { name: "elm/label/base/slide_short";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration; new Float:duration;
stopflag = get_int(g_stopslide); duration = getfarg(2);
if (stopflag == 1) return; set_float(g_duration, duration);
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
} }
public slide_to_begin() { }
new stopflag; public slide_to_end_anim(val, Float:pos) {
new id; new stopflag;
stopflag = get_int(g_stopslide); new id;
if (stopflag == 1) return; stopflag = get_int(g_stopslide);
set_state(PART:"elm.text", "slide_begin", 0.0); if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin() {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_state(PART:"elm.text", "slide_begin", 0.0);
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
}
}
part { name: "label.text.clip";
type: RECT;
description { state: "default" 0.0;
visible: 1;
color: 255 255 255 255;
rel1 { relative: 0 0; to: "label.swallow.background"; }
rel2 { relative: 1 1; to: "label.swallow.background"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 1.0 0.0;
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
}
}
}
programs {
program { name: "start_slide";
source: "elm";
signal: "elm,state,slide,start";
script
{
start_slide();
}
}
program { name: "stop_slide";
source: "elm";
signal: "elm,state,slide,stop";
script
{
stop_slide();
}
}
}
}
group { name: "elm/label/base/slide_short";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin() {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_state(PART:"elm.text", "slide_begin", 0.0);
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
}
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
}
}
part { name: "label.text.clip";
type: RECT;
description { state: "default" 0.0;
visible: 1;
color: 255 255 255 255;
rel1 { relative: 0 0; to: "label.swallow.background"; }
rel2 { relative: 1 1; to: "label.swallow.background"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 1.0 0.0;
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
}
}
}
programs {
program { name: "start_slide";
source: "elm";
signal: "elm,state,slide,start";
script
{
start_slide();
}
}
program { name: "stop_slide";
source: "elm";
signal: "elm,state,slide,stop";
script
{
stop_slide();
}
}
}
}
group { name: "elm/label/base/slide_bounce";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_end", 1); id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id); set_int(g_timer_id, id);
} }
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
}
} }
public slide_to_begin() {
parts { new stopflag;
part { name: "label.swallow.background"; new id;
type: SWALLOW; new Float:duration;
description { state: "default" 0.0; stopflag = get_int(g_stopslide);
visible: 1; if (stopflag == 1) return;
} duration = get_float(g_duration);
} id = anim(duration, "slide_to_begin_anim", 1);
part { name: "label.text.clip"; set_int(g_anim_id, id);
type: RECT;
description { state: "default" 0.0;
visible: 1;
color: 255 255 255 255;
rel1 { relative: 0 0; to: "label.swallow.background"; }
rel2 { relative: 1 1; to: "label.swallow.background"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 1.0 0.0;
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
}
}
} }
programs { public start_slide() {
program { name: "start_slide"; set_int(g_stopslide, 0);
source: "elm"; set_state(PART:"elm.text", "slide_begin", 0.0);
signal: "elm,state,slide,start"; slide_to_end();
script }
{ public stop_slide() {
start_slide(); new id;
} set_int(g_stopslide, 1);
} id = get_int(g_anim_id);
program { name: "stop_slide"; cancel_anim(id);
source: "elm"; id = get_int(g_timer_id);
signal: "elm,state,slide,stop"; cancel_timer(id);
script set_state(PART:"elm.text", "default", 0.0);
{
stop_slide();
}
}
} }
} }
group { name: "elm/label/base/slide_bounce"; parts {
data.item: "default_font_size" "10"; part { name: "label.swallow.background";
data.item: "min_font_size" "6"; type: SWALLOW;
data.item: "max_font_size" "60"; description { state: "default" 0.0;
visible: 1;
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
duration = getfarg(2);
set_float(g_duration, duration);
}
}
public slide_to_end_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_begin", 1);
set_int(g_timer_id, id);
}
}
public slide_to_end() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_end_anim", 1);
set_int(g_anim_id, id);
}
public slide_to_begin_anim(val, Float:pos) {
new stopflag;
new id;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
if (pos >= 1.0) {
id = timer(0.5, "slide_to_end", 1);
set_int(g_timer_id, id);
}
}
public slide_to_begin() {
new stopflag;
new id;
new Float:duration;
stopflag = get_int(g_stopslide);
if (stopflag == 1) return;
duration = get_float(g_duration);
id = anim(duration, "slide_to_begin_anim", 1);
set_int(g_anim_id, id);
}
public start_slide() {
set_int(g_stopslide, 0);
set_state(PART:"elm.text", "slide_begin", 0.0);
slide_to_end();
}
public stop_slide() {
new id;
set_int(g_stopslide, 1);
id = get_int(g_anim_id);
cancel_anim(id);
id = get_int(g_timer_id);
cancel_timer(id);
set_state(PART:"elm.text", "default", 0.0);
} }
} }
part { name: "label.text.clip";
parts { type: RECT;
part { name: "label.swallow.background"; description { state: "default" 0.0;
type: SWALLOW; visible: 1;
description { state: "default" 0.0; color: 255 255 255 255;
visible: 1; rel1 { relative: 0 0; to: "label.swallow.background"; }
} rel2 { relative: 1 1; to: "label.swallow.background"; }
}
part { name: "label.text.clip";
type: RECT;
description { state: "default" 0.0;
visible: 1;
color: 255 255 255 255;
rel1 { relative: 0 0; to: "label.swallow.background"; }
rel2 { relative: 1 1; to: "label.swallow.background"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
clip_to: "label.text.clip";
description { state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
}
description { state: "slide_end" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 1.0 1.0;
align: 1.0 0.0;
}
description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
}
} }
} }
programs { part { name: "elm.text";
program { name: "start_slide"; type: TEXTBLOCK;
source: "elm"; mouse_events: 0;
signal: "elm,state,slide,start"; scale: 1;
script clip_to: "label.text.clip";
{ description { state: "default" 0.0;
start_slide(); rel1.relative: 0.0 0.0;
} rel2.relative: 1.0 1.0;
align: 0.0 0.0;
text {
style: "textblock_style";
min: 1 1;
}
} }
program { name: "stop_slide"; description { state: "slide_end" 0.0;
source: "elm"; inherit: "default" 0.0;
signal: "elm,state,slide,stop"; rel1.relative: 1.0 0.0;
script rel2.relative: 1.0 1.0;
{ align: 1.0 0.0;
stop_slide(); }
} description { state: "slide_begin" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 1.0;
align: 0.0 0.0;
} }
} }
} }
programs {
program { name: "start_slide";
source: "elm";
signal: "elm,state,slide,start";
script
{
start_slide();
}
}
program { name: "stop_slide";
source: "elm";
signal: "elm,state,slide,stop";
script
{
stop_slide();
}
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,380 +1,380 @@
group { name:"elm/naviframe/base/default"; group { name:"elm/naviframe/base/default";
images { images {
image: "frame_1.png" COMP; image: "frame_1.png" COMP;
image: "frame_2.png" COMP; image: "frame_2.png" COMP;
image: "dia_grad.png" COMP; image: "dia_grad.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
} }
parts { part { name: "base1";
part { name: "base0"; type: IMAGE;
mouse_events: 0; description { state: "default" 0.0;
description { state: "default" 0.0; image {
image.normal: "dia_grad.png"; normal: "frame_2.png";
fill { border: 5 5 32 26;
smooth: 0; middle: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
} }
fill.smooth : 0;
} }
part { name: "base1"; }
type: IMAGE; part { name: "over";
description { state: "default" 0.0; mouse_events: 0;
image { description { state: "default" 0.0;
normal: "frame_2.png"; rel1.offset: 4 4;
border: 5 5 32 26; rel2.offset: 5 5;
middle: 0; image {
} normal: "frame_1.png";
fill.smooth : 0; border: 2 2 28 22;
} middle: 0;
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: 5 5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
}
fill.smooth : 0;
} }
fill.smooth : 0;
} }
} }
} }
group { name:"elm/naviframe/item/basic/default"; }
parts { group { name:"elm/naviframe/item/basic/default";
part { name: "title_clip"; parts {
type: RECT; part { name: "title_clip";
mouse_events: 0; type: RECT;
description { state: "default" 0.0; mouse_events: 0;
min: 1 50; description { state: "default" 0.0;
align: 0.0 0.0; min: 1 50;
fixed: 0 1; align: 0.0 0.0;
rel1 { relative: 0.0 0.0; } fixed: 0 1;
rel2 { relative: 1.0 0.0; } rel1 { relative: 0.0 0.0; }
} rel2 { relative: 1.0 0.0; }
description { state: "hide" 0.0; }
inherit: "default" 0.0; description { state: "hide" 0.0;
inherit: "default" 0.0;
min: 0 0;
max: 0 0;
fixed: 1 1;
}
}
part { name: "content_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to_y: "title_clip";
rel1.relative: 0 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "content_clip";
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.relative: 1.0 1.0;
rel1.to_y: "title_clip";
rel2.relative: 2.0 1.0;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
}
description { state: "pushed" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 1.0;
rel2.relative: 0.0 1.0;
}
description { state: "popped" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 1.0;
rel2.relative: 2.0 1.0;
}
}
part { name: "elm.swallow.title";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
min: 1 50;
align: 0.0 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
}
}
programs {
program { name: "show";
signal: "elm,state,show";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "show_finished";
}
program { name: "pushed";
signal: "elm,state,pushed";
source: "elm";
action: STATE_SET "pushed" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "pushed_finished";
}
program { name: "popped";
signal: "elm,state,popped";
source: "elm";
action: STATE_SET "popped" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "popped_finished";
}
program { name: "visible";
signal: "elm,state,visible";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clip";
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
}
program { name: "show_finished";
action: SIGNAL_EMIT "elm,action,show,finished" "";
}
program { name: "pushed_finished";
action: SIGNAL_EMIT "elm,action,pushed,finished" "";
}
program { name: "popped_finished";
action: SIGNAL_EMIT "elm,action,popped,finished" "";
}
}
}
group { name:"elm/naviframe/item/instant/default";
parts {
part { name: "title_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
min: 1 50;
align: 0.0 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
description { state: "hide" 0.0;
inherit: "default" 0.0;
min: 0 0;
max: 0 0;
fixed: 1 1;
}
}
part { name: "content_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to_y: "title_clip";
rel1.relative: 0 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "content_clip";
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.relative: 0.0 1.0;
rel1.to_y: "title_clip";
rel2.relative: 1.0 1.0;
visible: 0;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.title";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
min: 1 50;
align: 0.5 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
}
}
programs {
program { name: "show";
signal: "elm,state,show";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
after: "show_finished";
}
program { name: "pushed";
signal: "elm,state,pushed";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
after: "pushed_finished";
}
program { name: "popped";
signal: "elm,state,popped";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
after: "popped_finished";
}
program { name: "visible";
signal: "elm,state,visible";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clip";
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
}
program { name: "show_finished";
action: SIGNAL_EMIT "elm,action,show,finished" "";
}
program { name: "pushed_finished";
action: SIGNAL_EMIT "elm,action,pushed,finished" "";
}
program { name: "popped_finished";
action: SIGNAL_EMIT "elm,action,popped,finished" "";
}
}
}
group { name:"elm/naviframe/title/default";
images {
image: "flip_base.png" COMP;
image: "flip_shad.png" COMP;
}
parts {
part { name: "base";
type: IMAGE;
description {
image.normal: "flip_base.png";
}
}
part { name: "elm.swallow.prev_btn";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 80 40;
max: 80 40;
align: 0 0;
fixed: 1 1;
rel1.offset: 5 5;
rel2.offset: -1 -6;
}
}
part { name: "elm.swallow.next_btn";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 80 40;
max: 80 40;
align: 1 0;
fixed: 1 1;
rel1.offset: 0 5;
rel2.offset: -6 -6;
}
}
part { name: "elm.swallow.icon";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 40 40;
max: 40 40;
align: 1 0.5;
rel1.to: "elm.text.title";
rel1.relative: 0 0;
rel2.to: "elm.text.title";
rel2.relative: 0 1;
}
}
part { name: "elm.text.title";
type: TEXT;
scale: 1;
repeat_events: 1;
description { state: "default" 0.0;
text { font: "Sans,Edje-Vera";
size: 10;
min: 0 0; min: 0 0;
max: 0 0; max: 1 0;
fixed: 1 1;
}
}
part { name: "content_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to_y: "title_clip";
rel1.relative: 0 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "content_clip";
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.relative: 1.0 1.0;
rel1.to_y: "title_clip";
rel2.relative: 2.0 1.0;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
}
description { state: "pushed" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 1.0;
rel2.relative: 0.0 1.0;
}
description { state: "popped" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 1.0;
rel2.relative: 2.0 1.0;
}
}
part { name: "elm.swallow.title";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
min: 1 50;
align: 0.0 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
}
}
programs {
program { name: "show";
signal: "elm,state,show";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "show_finished";
}
program { name: "pushed";
signal: "elm,state,pushed";
source: "elm";
action: STATE_SET "pushed" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "pushed_finished";
}
program { name: "popped";
signal: "elm,state,popped";
source: "elm";
action: STATE_SET "popped" 0.0;
target: "elm.swallow.content";
transition: DECELERATE 0.5;
after: "popped_finished";
}
program { name: "visible";
signal: "elm,state,visible";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clip";
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
}
program { name: "show_finished";
action: SIGNAL_EMIT "elm,action,show,finished" "";
}
program { name: "pushed_finished";
action: SIGNAL_EMIT "elm,action,pushed,finished" "";
}
program { name: "popped_finished";
action: SIGNAL_EMIT "elm,action,popped,finished" "";
}
}
}
group { name:"elm/naviframe/item/instant/default";
parts {
part { name: "title_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
min: 1 50;
align: 0.0 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
description { state: "hide" 0.0;
inherit: "default" 0.0;
min: 0 0;
max: 0 0;
fixed: 1 1;
}
}
part { name: "content_clip";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to_y: "title_clip";
rel1.relative: 0 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "content_clip";
description { state: "default" 0.0;
align: 0.0 0.0;
rel1.relative: 0.0 1.0;
rel1.to_y: "title_clip";
rel2.relative: 1.0 1.0;
visible: 0;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.title";
type: SWALLOW;
scale: 1;
repeat_events: 0;
clip_to: "title_clip";
description { state: "default" 0.0;
min: 1 50;
align: 0.5 0.0;
fixed: 0 1;
rel1 { relative: 0.0 0.0; }
rel2 { relative: 1.0 0.0; }
}
}
}
programs {
program { name: "show";
signal: "elm,state,show";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
after: "show_finished";
}
program { name: "pushed";
signal: "elm,state,pushed";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
after: "pushed_finished";
}
program { name: "popped";
signal: "elm,state,popped";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
after: "popped_finished";
}
program { name: "visible";
signal: "elm,state,visible";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.swallow.content";
}
program { name: "title_show";
signal: "elm,state,title,show";
source: "elm";
action: STATE_SET "default" 0.0;
target: "title_clip";
}
program { name: "title_hide";
signal: "elm,state,title,hide";
source: "elm";
action: STATE_SET "hide" 0.0;
target: "title_clip";
}
program { name: "show_finished";
action: SIGNAL_EMIT "elm,action,show,finished" "";
}
program { name: "pushed_finished";
action: SIGNAL_EMIT "elm,action,pushed,finished" "";
}
program { name: "popped_finished";
action: SIGNAL_EMIT "elm,action,popped,finished" "";
}
}
}
group { name:"elm/naviframe/title/default";
images {
image: "flip_base.png" COMP;
image: "flip_shad.png" COMP;
}
parts {
part { name: "base";
type: IMAGE;
description {
image.normal: "flip_base.png";
}
}
part { name: "elm.swallow.prev_btn";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 80 40;
max: 80 40;
align: 0 0;
fixed: 1 1;
rel1.offset: 5 5;
rel2.offset: -1 -6;
}
}
part { name: "elm.swallow.next_btn";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 80 40;
max: 80 40;
align: 1 0;
fixed: 1 1;
rel1.offset: 0 5;
rel2.offset: -6 -6;
}
}
part { name: "elm.swallow.icon";
type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 40 40;
max: 40 40;
align: 1 0.5;
rel1.to: "elm.text.title";
rel1.relative: 0 0;
rel2.to: "elm.text.title";
rel2.relative: 0 1;
}
}
part { name: "elm.text.title";
type: TEXT;
scale: 1;
repeat_events: 1;
description { state: "default" 0.0;
text { font: "Sans,Edje-Vera";
size: 10;
min: 0 0;
max: 1 0;
align: 0.5 0.5;
}
color: 0 0 0 255;
align: 0.5 0.5; align: 0.5 0.5;
} }
} color: 0 0 0 255;
part { name: "elm.text.subtitle"; align: 0.5 0.5;
type: TEXT;
scale: 1;
repeat_events: 1;
description { state: "default" 0.0;
text { font: "Sans,Edje-Vera";
size: 8;
min: 0 0;
max: 1 0;
align: 0.5 1;
}
rel1.to_y: "elm.text.title";
rel1.relative: 0 1;
color: 50 50 50 255;
align: 0.5 0;
}
}
part { name: "shade";
type: IMAGE;
mouse_events: 0;
description {
align: 0.5 1;
rel1.to_y: "elm.text.title";
rel1.relative: 0 1;
rel1.offset: 0 0;
rel2.offset: -1 5;
image.normal: "flip_shad.png";
}
} }
} }
programs { part { name: "elm.text.subtitle";
program { type: TEXT;
name: "title_clicked"; scale: 1;
signal: "mouse,clicked,1"; repeat_events: 1;
source: "base"; description { state: "default" 0.0;
action: SIGNAL_EMIT "elm,action,clicked" "elm"; text { font: "Sans,Edje-Vera";
size: 8;
min: 0 0;
max: 1 0;
align: 0.5 1;
}
rel1.to_y: "elm.text.title";
rel1.relative: 0 1;
color: 50 50 50 255;
align: 0.5 0;
}
}
part { name: "shade";
type: IMAGE;
mouse_events: 0;
description {
align: 0.5 1;
rel1.to_y: "elm.text.title";
rel1.relative: 0 1;
rel1.offset: 0 0;
rel2.offset: -1 5;
image.normal: "flip_shad.png";
} }
} }
} }
programs {
program {
name: "title_clicked";
signal: "mouse,clicked,1";
source: "base";
action: SIGNAL_EMIT "elm,action,clicked" "elm";
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,150 +1,150 @@
group { name: "elm/photo/base/default"; group { name: "elm/photo/base/default";
images { images {
image: "frame_1.png" COMP; image: "frame_1.png" COMP;
image: "frame_2.png" COMP; image: "frame_2.png" COMP;
image: "dia_grad.png" COMP; image: "dia_grad.png" COMP;
image: "head.png" COMP; image: "head.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
rel1.to: "over";
rel2.to: "over";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
} }
parts { part { name: "base";
part { name: "base0"; mouse_events: 0;
mouse_events: 0; description { state: "default" 0.0;
description { state: "default" 0.0; image {
image.normal: "dia_grad.png"; normal: "frame_2.png";
rel1.to: "over"; border: 5 5 32 26;
rel2.to: "over"; middle: 0;
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
} }
fill.smooth : 0;
} }
part { name: "base"; }
mouse_events: 0; part { name: "head";
description { state: "default" 0.0; mouse_events: 0;
image { description { state: "default" 0.0;
normal: "frame_2.png"; rel1.offset: 4 4;
border: 5 5 32 26; rel2.offset: -5 -5;
middle: 0; aspect: 1.0 1.0;
} aspect_preference: BOTH;
fill.smooth : 0; image.normal: "head.png";
}
}
part { name: "clip";
mouse_events: 0;
type: RECT;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
} }
fill.smooth: 0;
} }
part { name: "head"; }
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
aspect: 1.0 1.0;
aspect_preference: BOTH;
image.normal: "head.png";
}
}
part { name: "clip";
mouse_events: 0;
type: RECT;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
}
fill.smooth: 0;
}
}
}
} }
}
group { name: "elm/photo/base/shadow"; group { name: "elm/photo/base/shadow";
images { images {
image: "shadow.png" COMP; image: "shadow.png" COMP;
image: "black.png" COMP; image: "black.png" COMP;
}
script {
public message(Msg_Type:type, id, ...) {
if( (type==MSG_INT_SET) && (id==0) )
{
new w;
new h;
custom_state(PART:"size", "default", 0.0);
w = getarg(2);
h = getarg(3);
set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
set_state(PART:"size", "custom", 0.0);
}
}
}
parts {
part { name: "size";
type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
}
}
part {
name: "shadow";
type: IMAGE;
repeat_events: 1;
description {
state: "default" 0.0;
rel1.to: "size";
rel2.to: "size";
rel1.relative: -0.06 -0.06;
rel2.relative: 1.07 1.07;
image.normal: "shadow.png";
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -3 -3;
fixed: 1 1;
}
}
part {
name: "border";
type: IMAGE;
repeat_events: 1;
description {
state: "default" 0.0;
visible: 1;
color: 0 0 0 255;
rel1.to: "size";
rel2.to: "size";
image.normal: "black.png";
image.border: 1 1 1 1;
image.middle: 0;
}
}
}
} }
script {
public message(Msg_Type:type, id, ...) {
if( (type==MSG_INT_SET) && (id==0) )
{
new w;
new h;
custom_state(PART:"size", "default", 0.0);
w = getarg(2);
h = getarg(3);
set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
set_state(PART:"size", "custom", 0.0);
}
}
}
parts {
part { name: "size";
type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
}
}
part {
name: "shadow";
type: IMAGE;
repeat_events: 1;
description {
state: "default" 0.0;
rel1.to: "size";
rel2.to: "size";
rel1.relative: -0.06 -0.06;
rel2.relative: 1.07 1.07;
image.normal: "shadow.png";
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 3 3;
rel2.offset: -3 -3;
fixed: 1 1;
}
}
part {
name: "border";
type: IMAGE;
repeat_events: 1;
description {
state: "default" 0.0;
visible: 1;
color: 0 0 0 255;
rel1.to: "size";
rel2.to: "size";
image.normal: "black.png";
image.border: 1 1 1 1;
image.middle: 0;
}
}
}
}
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,493 +1,493 @@
group { name: "elm/photocam/base/default"; group { name: "elm/photocam/base/default";
script { script {
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
public timer0(val) { public timer0(val) {
new v; new v;
v = get_int(sbvis_v); v = get_int(sbvis_v);
if (v) { if (v) {
v = get_int(sbalways_v); v = get_int(sbalways_v);
if (!v) { if (!v) {
emit("do-hide-vbar", ""); emit("do-hide-vbar", "");
set_int(sbvis_v, 0); set_int(sbvis_v, 0);
} }
} }
v = get_int(sbvis_h); v = get_int(sbvis_h);
if (v) { if (v) {
v = get_int(sbalways_h); v = get_int(sbalways_h);
if (!v) { if (!v) {
emit("do-hide-hbar", ""); emit("do-hide-hbar", "");
set_int(sbvis_h, 0); set_int(sbvis_h, 0);
} }
} }
set_int(sbvis_timer, 0); set_int(sbvis_timer, 0);
return 0; return 0;
} }
} }
images { images {
image: "shelf_inset.png" COMP; image: "shelf_inset.png" COMP;
image: "bt_sm_base2.png" COMP; image: "bt_sm_base2.png" COMP;
image: "bt_sm_shine.png" COMP; image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP; image: "bt_sm_hilight.png" COMP;
image: "busy-1.png" COMP; image: "busy-1.png" COMP;
image: "busy-2.png" COMP; image: "busy-2.png" COMP;
image: "busy-3.png" COMP; image: "busy-3.png" COMP;
image: "busy-4.png" COMP; image: "busy-4.png" COMP;
image: "busy-5.png" COMP; image: "busy-5.png" COMP;
image: "busy-6.png" COMP; image: "busy-6.png" COMP;
image: "busy-7.png" COMP; image: "busy-7.png" COMP;
image: "busy-8.png" COMP; image: "busy-8.png" COMP;
image: "busy-9.png" COMP; image: "busy-9.png" COMP;
} }
parts { parts {
part { name: "bg"; part { name: "bg";
type: RECT; type: RECT;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.offset: 1 1; rel1.offset: 1 1;
rel2.offset: -2 -2; rel2.offset: -2 -2;
color: 255 255 255 0; color: 255 255 255 0;
} }
} }
part { name: "clipper"; part { name: "clipper";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.to: "bg"; rel1.to: "bg";
rel2.to: "bg"; rel2.to: "bg";
} }
} }
part { name: "elm.swallow.content"; part { name: "elm.swallow.content";
clip_to: "clipper"; clip_to: "clipper";
type: SWALLOW; type: SWALLOW;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.offset: 1 1; rel1.offset: 1 1;
rel2.offset: -2 -2; rel2.offset: -2 -2;
} }
} }
part { name: "busy_clip"; part { name: "busy_clip";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
visible: 0; visible: 0;
color: 255 255 255 0; color: 255 255 255 0;
} }
description { state: "active" 0.0; description { state: "active" 0.0;
visible: 1; visible: 1;
color: 255 255 255 255; color: 255 255 255 255;
} }
} }
part { name: "busy"; part { name: "busy";
clip_to: "busy_clip"; clip_to: "busy_clip";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
fixed: 1 1; fixed: 1 1;
min: 32 32; min: 32 32;
aspect: 1.0 1.0; aspect: 1.0 1.0;
align: 1.0 1.0; align: 1.0 1.0;
aspect_preference: BOTH; aspect_preference: BOTH;
rel1 { rel1 {
relative: 0.9 0.9; relative: 0.9 0.9;
offset: -9 -9; offset: -9 -9;
} }
rel2 { rel2 {
relative: 0.9 0.9; relative: 0.9 0.9;
offset: -9 -9; offset: -9 -9;
} }
image { image {
normal: "busy-9.png"; normal: "busy-9.png";
tween: "busy-1.png"; tween: "busy-1.png";
tween: "busy-2.png"; tween: "busy-2.png";
tween: "busy-3.png"; tween: "busy-3.png";
tween: "busy-4.png"; tween: "busy-4.png";
tween: "busy-5.png"; tween: "busy-5.png";
tween: "busy-6.png"; tween: "busy-6.png";
tween: "busy-7.png"; tween: "busy-7.png";
tween: "busy-8.png"; tween: "busy-8.png";
} }
} }
} }
part { name: "conf_over"; part { name: "conf_over";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.offset: 0 0; rel1.offset: 0 0;
rel2.offset: -1 -1; rel2.offset: -1 -1;
image { image {
normal: "shelf_inset.png"; normal: "shelf_inset.png";
border: 7 7 7 7; border: 7 7 7 7;
middle: 0; middle: 0;
} }
fill.smooth : 0; fill.smooth : 0;
} }
} }
part { name: "sb_vbar_clip_master"; part { name: "sb_vbar_clip_master";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
} }
description { state: "hidden" 0.0; description { state: "hidden" 0.0;
visible: 0; visible: 0;
color: 255 255 255 0; color: 255 255 255 0;
} }
} }
part { name: "sb_vbar_clip"; part { name: "sb_vbar_clip";
clip_to: "sb_vbar_clip_master"; clip_to: "sb_vbar_clip_master";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
} }
description { state: "hidden" 0.0; description { state: "hidden" 0.0;
visible: 0; visible: 0;
color: 255 255 255 0; color: 255 255 255 0;
} }
} }
part { name: "sb_vbar"; part { name: "sb_vbar";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
fixed: 1 1; fixed: 1 1;
visible: 0; visible: 0;
min: 10 17; min: 10 17;
align: 1.0 0.0; align: 1.0 0.0;
rel1 { rel1 {
relative: 1.0 0.0; relative: 1.0 0.0;
offset: -2 0; offset: -2 0;
} }
rel2 { rel2 {
relative: 1.0 0.0; relative: 1.0 0.0;
offset: -2 -1; offset: -2 -1;
to_y: "sb_hbar"; to_y: "sb_hbar";
} }
} }
} }
part { name: "elm.dragable.vbar"; part { name: "elm.dragable.vbar";
clip_to: "sb_vbar_clip"; clip_to: "sb_vbar_clip";
mouse_events: 0; mouse_events: 0;
dragable { dragable {
x: 0 0 0; x: 0 0 0;
y: 1 1 0; y: 1 1 0;
confine: "sb_vbar"; confine: "sb_vbar";
} }
description { state: "default" 0.0; description { state: "default" 0.0;
fixed: 1 1; fixed: 1 1;
min: 10 17; min: 10 17;
max: 10 99999; max: 10 99999;
rel1 { rel1 {
relative: 0.5 0.5; relative: 0.5 0.5;
offset: 0 0; offset: 0 0;
to: "sb_vbar"; to: "sb_vbar";
} }
rel2 { rel2 {
relative: 0.5 0.5; relative: 0.5 0.5;
offset: 0 0; offset: 0 0;
to: "sb_vbar"; to: "sb_vbar";
} }
image { image {
normal: "bt_sm_base2.png"; normal: "bt_sm_base2.png";
border: 6 6 6 6; border: 6 6 6 6;
middle: SOLID; middle: SOLID;
} }
} }
} }
part { name: "sb_vbar_over1"; part { name: "sb_vbar_over1";
clip_to: "sb_vbar_clip"; clip_to: "sb_vbar_clip";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar"; rel1.to: "elm.dragable.vbar";
rel2.relative: 1.0 0.5; rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.vbar"; rel2.to: "elm.dragable.vbar";
image { image {
normal: "bt_sm_hilight.png"; normal: "bt_sm_hilight.png";
border: 6 6 6 0; border: 6 6 6 0;
} }
} }
} }
part { name: "sb_vbar_over2"; part { name: "sb_vbar_over2";
clip_to: "sb_vbar_clip"; clip_to: "sb_vbar_clip";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar"; rel1.to: "elm.dragable.vbar";
rel2.to: "elm.dragable.vbar"; rel2.to: "elm.dragable.vbar";
image { image {
normal: "bt_sm_shine.png"; normal: "bt_sm_shine.png";
border: 6 6 6 0; border: 6 6 6 0;
} }
} }
} }
part { name: "sb_hbar_clip_master"; part { name: "sb_hbar_clip_master";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
} }
description { state: "hidden" 0.0; description { state: "hidden" 0.0;
visible: 0; visible: 0;
color: 255 255 255 0; color: 255 255 255 0;
} }
} }
part { name: "sb_hbar_clip"; part { name: "sb_hbar_clip";
clip_to: "sb_hbar_clip_master"; clip_to: "sb_hbar_clip_master";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
} }
description { state: "hidden" 0.0; description { state: "hidden" 0.0;
visible: 0; visible: 0;
color: 255 255 255 0; color: 255 255 255 0;
} }
} }
part { name: "sb_hbar"; part { name: "sb_hbar";
type: RECT; type: RECT;
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
fixed: 1 1; fixed: 1 1;
visible: 0; visible: 0;
min: 17 10; min: 17 10;
align: 0.0 1.0; align: 0.0 1.0;
rel1 { rel1 {
relative: 0.0 1.0; relative: 0.0 1.0;
offset: 0 -2; offset: 0 -2;
} }
rel2 { rel2 {
relative: 0.0 1.0; relative: 0.0 1.0;
offset: -1 -2; offset: -1 -2;
to_x: "sb_vbar"; to_x: "sb_vbar";
} }
} }
} }
part { name: "elm.dragable.hbar"; part { name: "elm.dragable.hbar";
clip_to: "sb_hbar_clip"; clip_to: "sb_hbar_clip";
mouse_events: 0; mouse_events: 0;
dragable { dragable {
x: 1 1 0; x: 1 1 0;
y: 0 0 0; y: 0 0 0;
confine: "sb_hbar"; confine: "sb_hbar";
} }
description { state: "default" 0.0; description { state: "default" 0.0;
fixed: 1 1; fixed: 1 1;
min: 17 10; min: 17 10;
max: 99999 10; max: 99999 10;
rel1 { rel1 {
relative: 0.5 0.5; relative: 0.5 0.5;
offset: 0 0; offset: 0 0;
to: "sb_hbar"; to: "sb_hbar";
} }
rel2 { rel2 {
relative: 0.5 0.5; relative: 0.5 0.5;
offset: 0 0; offset: 0 0;
to: "sb_hbar"; to: "sb_hbar";
} }
image { image {
normal: "bt_sm_base2.png"; normal: "bt_sm_base2.png";
border: 4 4 4 4; border: 4 4 4 4;
middle: SOLID; middle: SOLID;
} }
} }
} }
part { name: "sb_hbar_over1"; part { name: "sb_hbar_over1";
clip_to: "sb_hbar_clip"; clip_to: "sb_hbar_clip";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar"; rel1.to: "elm.dragable.hbar";
rel2.relative: 1.0 0.5; rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.hbar"; rel2.to: "elm.dragable.hbar";
image { image {
normal: "bt_sm_hilight.png"; normal: "bt_sm_hilight.png";
border: 4 4 4 0; border: 4 4 4 0;
} }
} }
} }
part { name: "sb_hbar_over2"; part { name: "sb_hbar_over2";
clip_to: "sb_hbar_clip"; clip_to: "sb_hbar_clip";
mouse_events: 0; mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar"; rel1.to: "elm.dragable.hbar";
rel2.to: "elm.dragable.hbar"; rel2.to: "elm.dragable.hbar";
image { image {
normal: "bt_sm_shine.png"; normal: "bt_sm_shine.png";
border: 4 4 4 0; border: 4 4 4 0;
} }
}
}
}
programs {
program { name: "load";
signal: "load";
source: "";
script {
set_state(PART:"sb_hbar_clip", "hidden", 0.0);
set_state(PART:"sb_vbar_clip", "hidden", 0.0);
set_int(sbvis_h, 0);
set_int(sbvis_v, 0);
set_int(sbalways_v, 0);
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
}
program { name: "vbar_show";
signal: "elm,action,show,vbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_hide";
signal: "elm,action,hide,vbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_show_always";
signal: "elm,action,show_always,vbar";
source: "elm";
script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
set_int(sbalways_v, 1);
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
}
}
program { name: "vbar_show_notalways";
signal: "elm,action,show_notalways,vbar";
source: "elm";
script {
new v;
v = get_int(sbalways_v);
if (v) {
set_int(sbalways_v, 0);
v = get_int(sbvis_v);
if (!v) {
emit("do-hide-vbar", "");
set_int(sbvis_v, 0);
}
}
}
}
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "sb_vbar_hide";
signal: "do-hide-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "hbar_show";
signal: "elm,action,show,hbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_hide";
signal: "elm,action,hide,hbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_show_always";
signal: "elm,action,show_always,hbar";
source: "elm";
script {
new v;
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
set_int(sbalways_h, 1);
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
}
}
program { name: "hbar_show_notalways";
signal: "elm,action,show_notalways,hbar";
source: "elm";
script {
new v;
v = get_int(sbalways_h);
if (v) {
set_int(sbalways_h, 0);
v = get_int(sbvis_h);
if (!v) {
emit("do-hide-hbar", "");
set_int(sbvis_h, 0);
}
}
}
}
program { name: "sb_hbar_show";
signal: "do-show-hbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "sb_hbar_hide";
signal: "do-hide-hbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "scroll";
signal: "elm,action,scroll";
source: "elm";
script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
v = get_int(sbvis_timer);
if (v > 0) cancel_timer(v);
v = timer(1.0, "timer0", 0);
set_int(sbvis_timer, v);
}
}
program { name: "go1";
signal: "elm,state,busy,start";
source: "elm";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 1.0;
target: "busy_clip";
}
program { name: "go2";
signal: "elm,state,busy,start";
source: "elm";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "busy";
after: "go2";
}
program { name: "stop1";
signal: "elm,state,busy,stop";
source: "elm";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "busy_clip";
after: "stop2";
}
program { name: "stop2";
action: ACTION_STOP;
target: "go2";
} }
} }
} }
programs {
program { name: "load";
signal: "load";
source: "";
script {
set_state(PART:"sb_hbar_clip", "hidden", 0.0);
set_state(PART:"sb_vbar_clip", "hidden", 0.0);
set_int(sbvis_h, 0);
set_int(sbvis_v, 0);
set_int(sbalways_v, 0);
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
}
/////////////////////////////////////////////////////////////////////////////// program { name: "vbar_show";
signal: "elm,action,show,vbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_hide";
signal: "elm,action,hide,vbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_show_always";
signal: "elm,action,show_always,vbar";
source: "elm";
script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
set_int(sbalways_v, 1);
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
}
}
program { name: "vbar_show_notalways";
signal: "elm,action,show_notalways,vbar";
source: "elm";
script {
new v;
v = get_int(sbalways_v);
if (v) {
set_int(sbalways_v, 0);
v = get_int(sbvis_v);
if (!v) {
emit("do-hide-vbar", "");
set_int(sbvis_v, 0);
}
}
}
}
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "sb_vbar_hide";
signal: "do-hide-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "hbar_show";
signal: "elm,action,show,hbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_hide";
signal: "elm,action,hide,hbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_show_always";
signal: "elm,action,show_always,hbar";
source: "elm";
script {
new v;
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
set_int(sbalways_h, 1);
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
}
}
program { name: "hbar_show_notalways";
signal: "elm,action,show_notalways,hbar";
source: "elm";
script {
new v;
v = get_int(sbalways_h);
if (v) {
set_int(sbalways_h, 0);
v = get_int(sbvis_h);
if (!v) {
emit("do-hide-hbar", "");
set_int(sbvis_h, 0);
}
}
}
}
program { name: "sb_hbar_show";
signal: "do-show-hbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "sb_hbar_hide";
signal: "do-hide-hbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "scroll";
signal: "elm,action,scroll";
source: "elm";
script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
v = get_int(sbvis_timer);
if (v > 0) cancel_timer(v);
v = timer(1.0, "timer0", 0);
set_int(sbvis_timer, v);
}
}
program { name: "go1";
signal: "elm,state,busy,start";
source: "elm";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 1.0;
target: "busy_clip";
}
program { name: "go2";
signal: "elm,state,busy,start";
source: "elm";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "busy";
after: "go2";
}
program { name: "stop1";
signal: "elm,state,busy,stop";
source: "elm";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "busy_clip";
after: "stop2";
}
program { name: "stop2";
action: ACTION_STOP;
target: "go2";
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,185 +1,185 @@
group { group {
name: "elm/player/base/default"; name: "elm/player/base/default";
min: 290 26; min: 290 26;
parts { parts {
part { part {
type: SWALLOW; type: SWALLOW;
name: "media_player/slider"; name: "media_player/slider";
description { description {
rel2 { rel2 {
relative: 1.0 0.0; relative: 1.0 0.0;
to_x: "media_player/forward"; to_x: "media_player/forward";
}
}
}
part {
type: SWALLOW;
name: "media_player/rewind";
description {
rel1 {
to_y: "media_player/slider";
offset: 42 0;
relative: 0.0 1.0;
}
rel2 {
relative: 0.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/prev";
description {
rel1 {
to: "media_player/rewind";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/rewind";
relative: 2.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/play";
description {
rel1 {
to: "media_player/prev";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/prev";
relative: 2.0 1.0;
}
}
description {
state: hidden 0.0;
inherit: default 0.0;
visible: 0;
}
}
part {
type: SWALLOW;
name: "media_player/pause";
description {
rel1.to: "media_player/play";
rel2.to: "media_player/play";
}
description {
state: hidden 0.0;
inherit: default 0.0;
visible: 0;
}
}
part {
type: SWALLOW;
name: "media_player/info";
description {
rel1 {
to: "media_player/play";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/play";
relative: 2.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/stop";
description {
rel1 {
to: "media_player/info";
relative: 3.0 0.0;
}
rel2 {
to: "media_player/info";
relative: 4.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/next";
description {
rel1 {
to: "media_player/stop";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/stop";
relative: 2.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/forward";
description {
rel1 {
to: "media_player/next";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/next";
relative: 2.0 1.0;
}
} }
} }
} }
programs { part {
program { type: SWALLOW;
signal: "show"; name: "media_player/rewind";
source: "";
after: "pause/0";
}
program {
signal: "elm,player,play";
source: "elm";
after: "play/0";
}
program {
signal: "elm,player,pause";
source: "elm";
after: "pause/0";
}
program {
name: "play/0";
action: STATE_SET "hidden" 0.0; description {
target: "media_player/play"; rel1 {
to_y: "media_player/slider";
after: "play/1"; offset: 42 0;
relative: 0.0 1.0;
}
rel2 {
relative: 0.0 1.0;
}
} }
program { }
name: "play/1"; part {
type: SWALLOW;
name: "media_player/prev";
action: STATE_SET "default" 0.0; description {
target: "media_player/pause"; rel1 {
to: "media_player/rewind";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/rewind";
relative: 2.0 1.0;
}
} }
program { }
name: "pause/0"; part {
type: SWALLOW;
name: "media_player/play";
action: STATE_SET "hidden" 0.0; description {
target: "media_player/pause"; rel1 {
to: "media_player/prev";
after: "pause/1"; relative: 1.0 0.0;
}
rel2 {
to: "media_player/prev";
relative: 2.0 1.0;
}
} }
program { description {
name: "pause/1"; state: hidden 0.0;
inherit: default 0.0;
visible: 0;
}
}
part {
type: SWALLOW;
name: "media_player/pause";
action: STATE_SET "default" 0.0; description {
target: "media_player/play"; rel1.to: "media_player/play";
rel2.to: "media_player/play";
}
description {
state: hidden 0.0;
inherit: default 0.0;
visible: 0;
}
}
part {
type: SWALLOW;
name: "media_player/info";
description {
rel1 {
to: "media_player/play";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/play";
relative: 2.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/stop";
description {
rel1 {
to: "media_player/info";
relative: 3.0 0.0;
}
rel2 {
to: "media_player/info";
relative: 4.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/next";
description {
rel1 {
to: "media_player/stop";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/stop";
relative: 2.0 1.0;
}
}
}
part {
type: SWALLOW;
name: "media_player/forward";
description {
rel1 {
to: "media_player/next";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/next";
relative: 2.0 1.0;
}
} }
} }
} }
programs {
program {
signal: "show";
source: "";
after: "pause/0";
}
program {
signal: "elm,player,play";
source: "elm";
after: "play/0";
}
program {
signal: "elm,player,pause";
source: "elm";
after: "pause/0";
}
program {
name: "play/0";
action: STATE_SET "hidden" 0.0;
target: "media_player/play";
after: "play/1";
}
program {
name: "play/1";
action: STATE_SET "default" 0.0;
target: "media_player/pause";
}
program {
name: "pause/0";
action: STATE_SET "hidden" 0.0;
target: "media_player/pause";
after: "pause/1";
}
program {
name: "pause/1";
action: STATE_SET "default" 0.0;
target: "media_player/play";
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,215 +1,215 @@
group { name: "elm/radio/base/default"; group { name: "elm/radio/base/default";
images { images {
image: "radio_base.png" COMP; image: "radio_base.png" COMP;
image: "radio.png" COMP; image: "radio.png" COMP;
image: "radio2.png" COMP; image: "radio2.png" COMP;
} }
parts { parts {
part { name: "bg"; part { name: "bg";
mouse_events: 0; mouse_events: 0;
scale: 1; scale: 1;
description { state: "default" 0.0; description { state: "default" 0.0;
rel1.offset: 1 1; rel1.offset: 1 1;
rel2.relative: 0.0 1.0; rel2.relative: 0.0 1.0;
rel2.offset: 1 -2; rel2.offset: 1 -2;
align: 0.0 0.5; align: 0.0 0.5;
min: 16 16; min: 16 16;
max: 16 16; max: 16 16;
aspect: 1.0 1.0; aspect: 1.0 1.0;
aspect_preference: VERTICAL; aspect_preference: VERTICAL;
image.normal: "radio_base.png"; image.normal: "radio_base.png";
}
}
part { name: "radio";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
visible: 0;
image.normal: "radio.png";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
visible: 0;
align: 0.0 0.5;
color: 0 0 0 0;
rel1.to_x: "bg";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "bg";
rel2.relative: 1.0 1.0;
rel2.offset: 2 -2;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
aspect: 1.0 1.0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
aspect: 1.0 1.0;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
visible: 0;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.relative: 1.0 1.0;
rel2.offset: -2 -2;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 0;
align: -1.0 0.5;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
color3: 0 0 0 0;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 128;
color3: 0 0 0 0;
visible: 1;
text.min: 1 1;
}
}
part { name: "events";
type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
} }
} }
programs { part { name: "radio";
program { name: "click"; mouse_events: 0;
signal: "mouse,up,1"; scale: 1;
source: "events"; description { state: "default" 0.0;
action: SIGNAL_EMIT "elm,action,radio,toggle" ""; rel1.to: "bg";
rel2.to: "bg";
visible: 0;
image.normal: "radio.png";
} }
program { name: "radio_on"; description { state: "visible" 0.0;
signal: "elm,state,radio,on"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "visible" 0.0;
target: "radio";
} }
program { name: "radio_off"; }
signal: "elm,state,radio,off"; part { name: "elm.swallow.content";
source: "elm"; type: SWALLOW;
action: STATE_SET "default" 0.0; description { state: "default" 0.0;
target: "radio"; fixed: 1 0;
visible: 0;
align: 0.0 0.5;
color: 0 0 0 0;
rel1.to_x: "bg";
rel1.relative: 1.0 0.0;
rel1.offset: 1 1;
rel2.to_x: "bg";
rel2.relative: 1.0 1.0;
rel2.offset: 2 -2;
} }
program { name: "text_show"; description { state: "visible" 0.0;
signal: "elm,state,text,visible"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "visible" 0.0; color: 255 255 255 255;
target: "elm.text"; aspect: 1.0 1.0;
} }
program { name: "text_hide"; description { state: "disabled" 0.0;
signal: "elm,state,text,hidden"; inherit: "default" 0.0;
source: "elm"; color: 128 128 128 128;
action: STATE_SET "default" 0.0;
target: "elm.text";
} }
program { name: "icon_show"; description { state: "disabled_visible" 0.0;
signal: "elm,state,icon,visible"; inherit: "default" 0.0;
source: "elm"; color: 128 128 128 128;
action: STATE_SET "visible" 0.0; visible: 1;
target: "elm.swallow.content"; aspect: 1.0 1.0;
} }
program { name: "icon_hide"; }
signal: "elm,state,icon,hidden"; part { name: "elm.text";
source: "elm"; type: TEXT;
action: STATE_SET "default" 0.0; mouse_events: 0;
target: "elm.swallow.content"; scale: 1;
} description { state: "default" 0.0;
program { name: "disable"; visible: 0;
signal: "elm,state,disabled"; rel1.to_x: "elm.swallow.content";
source: "elm"; rel1.relative: 1.0 0.0;
action: STATE_SET "disabled" 0.0; rel1.offset: 1 1;
target: "disabler"; rel2.relative: 1.0 1.0;
after: "disable_text"; rel2.offset: -2 -2;
} color: 0 0 0 255;
program { name: "disable_text"; text {
script { font: "Sans,Edje-Vera";
new st[31]; size: 10;
new Float:vl; min: 0 0;
get_state(PART:"elm.text", st, 30, vl); align: -1.0 0.5;
if (!strcmp(st, "visible"))
set_state(PART:"elm.text", "disabled_visible", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
else
set_state(PART:"elm.swallow.content", "disabled", 0.0);
} }
} }
program { name: "enable"; description { state: "visible" 0.0;
signal: "elm,state,enabled"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "default" 0.0; text.min: 1 1;
target: "disabler";
after: "enable_text";
} }
program { name: "enable_text"; description { state: "disabled" 0.0;
script { inherit: "default" 0.0;
new st[31]; color: 0 0 0 128;
new Float:vl; color3: 0 0 0 0;
get_state(PART:"elm.text", st, 30, vl); }
if (!strcmp(st, "disabled_visible")) description { state: "disabled_visible" 0.0;
set_state(PART:"elm.text", "visible", 0.0); inherit: "default" 0.0;
else color: 0 0 0 128;
set_state(PART:"elm.text", "default", 0.0); color3: 0 0 0 0;
visible: 1;
get_state(PART:"elm.swallow.content", st, 30, vl); text.min: 1 1;
if (!strcmp(st, "visible")) }
set_state(PART:"elm.swallow.content", "visible", 0.0); }
else part { name: "events";
set_state(PART:"elm.swallow.content", "default", 0.0); type: RECT;
} ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
} }
} }
} }
programs {
program { name: "click";
signal: "mouse,up,1";
source: "events";
action: SIGNAL_EMIT "elm,action,radio,toggle" "";
}
program { name: "radio_on";
signal: "elm,state,radio,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "radio";
}
program { name: "radio_off";
signal: "elm,state,radio,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "radio";
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
after: "disable_text";
}
program { name: "disable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.text", "disabled_visible", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
else
set_state(PART:"elm.swallow.content", "disabled", 0.0);
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
after: "enable_text";
}
program { name: "enable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled_visible"))
set_state(PART:"elm.text", "visible", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "visible", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
}
}
}
}

View File

@ -1,503 +1,503 @@
group { name: "elm/scroller/base/default"; group { name: "elm/scroller/base/default";
alias: "elm/list/base/default"; alias: "elm/list/base/default";
alias: "elm/genlist/base/default"; alias: "elm/genlist/base/default";
alias: "elm/carousel/base/default"; alias: "elm/carousel/base/default";
alias: "elm/gengrid/base/default"; alias: "elm/gengrid/base/default";
alias: "elm/scroller/base/map_bubble"; alias: "elm/scroller/base/map_bubble";
alias: "elm/genscroller/base/default"; alias: "elm/genscroller/base/default";
data { data {
item: "focus_highlight" "on"; item: "focus_highlight" "on";
}
script {
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
public timer0(val) {
new v;
v = get_int(sbvis_v);
if (v) {
v = get_int(sbalways_v);
if (!v) {
emit("do-hide-vbar", "");
set_int(sbvis_v, 0);
}
}
v = get_int(sbvis_h);
if (v) {
v = get_int(sbalways_h);
if (!v) {
emit("do-hide-hbar", "");
set_int(sbvis_h, 0);
}
}
set_int(sbvis_timer, 0);
return 0;
}
}
images {
image: "shelf_inset.png" COMP;
image: "bt_sm_base2.png" COMP;
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "sl_bt2_2.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color: 255 255 255 0;
}
}
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
color: 200 155 0 255;
}
}
part { name: "focus_highlight";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -1 -1;
rel2.offset: 0 0;
image {
normal: "sl_bt2_2.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
color: 200 155 0 0;
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
color: 200 155 0 255;
}
}
part { name: "sb_vbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_vbar_clip";
clip_to: "sb_vbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_vbar";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
min: 10 17;
align: 1.0 0.0;
rel1 {
relative: 1.0 0.0;
offset: 0 2;
to_y: "elm.swallow.content";
to_x: "elm.swallow.content";
}
rel2 {
relative: 1.0 0.0;
offset: -1 -1;
to_y: "sb_hbar";
to_x: "elm.swallow.content";
}
}
}
part { name: "elm.dragable.vbar";
clip_to: "sb_vbar_clip";
mouse_events: 0;
dragable {
x: 0 0 0;
y: 1 1 0;
confine: "sb_vbar";
}
description { state: "default" 0.0;
fixed: 1 1;
min: 10 17;
max: 10 99999;
rel1 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_vbar";
}
rel2 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_vbar";
}
image {
normal: "bt_sm_base2.png";
border: 6 6 6 6;
middle: SOLID;
}
}
}
part { name: "sb_vbar_over1";
clip_to: "sb_vbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar";
rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.vbar";
image {
normal: "bt_sm_hilight.png";
border: 6 6 6 0;
}
}
}
part { name: "sb_vbar_over2";
clip_to: "sb_vbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar";
rel2.to: "elm.dragable.vbar";
image {
normal: "bt_sm_shine.png";
border: 6 6 6 0;
}
}
} }
script { part { name: "sb_hbar_clip_master";
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; type: RECT;
public timer0(val) { mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_hbar_clip";
clip_to: "sb_hbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_hbar";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
min: 17 10;
align: 0.0 1.0;
rel1 {
relative: 0.0 1.0;
offset: 2 0;
to_x: "elm.swallow.content";
to_y: "elm.swallow.content";
}
rel2 {
relative: 0.0 1.0;
offset: -1 -1;
to_x: "sb_vbar";
to_y: "elm.swallow.content";
}
}
}
part { name: "elm.dragable.hbar";
clip_to: "sb_hbar_clip";
mouse_events: 0;
dragable {
x: 1 1 0;
y: 0 0 0;
confine: "sb_hbar";
}
description { state: "default" 0.0;
fixed: 1 1;
min: 17 10;
max: 99999 10;
rel1 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_hbar";
}
rel2 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_hbar";
}
image {
normal: "bt_sm_base2.png";
border: 4 4 4 4;
middle: SOLID;
}
}
}
part { name: "sb_hbar_over1";
clip_to: "sb_hbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar";
rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.hbar";
image {
normal: "bt_sm_hilight.png";
border: 4 4 4 0;
}
}
}
part { name: "sb_hbar_over2";
clip_to: "sb_hbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar";
rel2.to: "elm.dragable.hbar";
image {
normal: "bt_sm_shine.png";
border: 4 4 4 0;
}
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
rel1.to: "clipper";
rel2.to: "clipper";
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 128 128 128 128;
}
}
}
programs {
program { name: "load";
signal: "load";
source: "";
script {
set_state(PART:"sb_hbar_clip", "hidden", 0.0);
set_state(PART:"sb_vbar_clip", "hidden", 0.0);
set_int(sbvis_h, 0);
set_int(sbvis_v, 0);
set_int(sbalways_v, 0);
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
}
program { name: "vbar_show";
signal: "elm,action,show,vbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_hide";
signal: "elm,action,hide,vbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar_clip_master";
}
program { name: "vbar_show_always";
signal: "elm,action,show_always,vbar";
source: "elm";
script {
new v; new v;
v = get_int(sbvis_v); v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
set_int(sbalways_v, 1);
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
}
}
program { name: "vbar_show_notalways";
signal: "elm,action,show_notalways,vbar";
source: "elm";
script {
new v;
v = get_int(sbalways_v);
if (v) { if (v) {
v = get_int(sbalways_v); set_int(sbalways_v, 0);
v = get_int(sbvis_v);
if (!v) { if (!v) {
emit("do-hide-vbar", ""); emit("do-hide-vbar", "");
set_int(sbvis_v, 0); set_int(sbvis_v, 0);
} }
} }
}
}
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "sb_vbar_hide";
signal: "do-hide-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "hbar_show";
signal: "elm,action,show,hbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_hide";
signal: "elm,action,hide,hbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_show_always";
signal: "elm,action,show_always,hbar";
source: "elm";
script {
new v;
v = get_int(sbvis_h); v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
set_int(sbalways_h, 1);
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
}
}
program { name: "hbar_show_notalways";
signal: "elm,action,show_notalways,hbar";
source: "elm";
script {
new v;
v = get_int(sbalways_h);
if (v) { if (v) {
v = get_int(sbalways_h); set_int(sbalways_h, 0);
v = get_int(sbvis_h);
if (!v) { if (!v) {
emit("do-hide-hbar", ""); emit("do-hide-hbar", "");
set_int(sbvis_h, 0); set_int(sbvis_h, 0);
} }
} }
set_int(sbvis_timer, 0);
return 0;
} }
} }
images { program { name: "sb_hbar_show";
image: "shelf_inset.png" COMP; signal: "do-show-hbar";
image: "bt_sm_base2.png" COMP; source: "";
image: "bt_sm_shine.png" COMP; action: STATE_SET "default" 0.0;
image: "bt_sm_hilight.png" COMP; transition: LINEAR 0.5;
image: "sl_bt2_2.png" COMP; target: "sb_hbar_clip";
}
program { name: "sb_hbar_hide";
signal: "do-hide-hbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
} }
parts {
part { name: "bg";
type: RECT;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color: 255 255 255 0;
}
}
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
color: 200 155 0 255;
}
}
part { name: "focus_highlight";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -1 -1;
rel2.offset: 0 0;
image {
normal: "sl_bt2_2.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
color: 200 155 0 0;
}
description { state: "enabled" 0.0;
inherit: "default" 0.0;
color: 200 155 0 255;
}
}
part { name: "sb_vbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_vbar_clip";
clip_to: "sb_vbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_vbar";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
min: 10 17;
align: 1.0 0.0;
rel1 {
relative: 1.0 0.0;
offset: 0 2;
to_y: "elm.swallow.content";
to_x: "elm.swallow.content";
}
rel2 {
relative: 1.0 0.0;
offset: -1 -1;
to_y: "sb_hbar";
to_x: "elm.swallow.content";
}
}
}
part { name: "elm.dragable.vbar";
clip_to: "sb_vbar_clip";
mouse_events: 0;
dragable {
x: 0 0 0;
y: 1 1 0;
confine: "sb_vbar";
}
description { state: "default" 0.0;
fixed: 1 1;
min: 10 17;
max: 10 99999;
rel1 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_vbar";
}
rel2 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_vbar";
}
image {
normal: "bt_sm_base2.png";
border: 6 6 6 6;
middle: SOLID;
}
}
}
part { name: "sb_vbar_over1";
clip_to: "sb_vbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar";
rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.vbar";
image {
normal: "bt_sm_hilight.png";
border: 6 6 6 0;
}
}
}
part { name: "sb_vbar_over2";
clip_to: "sb_vbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.vbar";
rel2.to: "elm.dragable.vbar";
image {
normal: "bt_sm_shine.png";
border: 6 6 6 0;
}
}
}
part { name: "sb_hbar_clip_master"; program { name: "scroll";
type: RECT; signal: "elm,action,scroll";
mouse_events: 0; source: "elm";
description { state: "default" 0.0; script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
} }
description { state: "hidden" 0.0; v = get_int(sbvis_h);
visible: 0; v |= get_int(sbalways_h);
color: 255 255 255 0; if (!v) {
} emit("do-show-hbar", "");
} set_int(sbvis_h, 1);
part { name: "sb_hbar_clip";
clip_to: "sb_hbar_clip_master";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
}
description { state: "hidden" 0.0;
visible: 0;
color: 255 255 255 0;
}
}
part { name: "sb_hbar";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
min: 17 10;
align: 0.0 1.0;
rel1 {
relative: 0.0 1.0;
offset: 2 0;
to_x: "elm.swallow.content";
to_y: "elm.swallow.content";
}
rel2 {
relative: 0.0 1.0;
offset: -1 -1;
to_x: "sb_vbar";
to_y: "elm.swallow.content";
}
}
}
part { name: "elm.dragable.hbar";
clip_to: "sb_hbar_clip";
mouse_events: 0;
dragable {
x: 1 1 0;
y: 0 0 0;
confine: "sb_hbar";
}
description { state: "default" 0.0;
fixed: 1 1;
min: 17 10;
max: 99999 10;
rel1 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_hbar";
}
rel2 {
relative: 0.5 0.5;
offset: 0 0;
to: "sb_hbar";
}
image {
normal: "bt_sm_base2.png";
border: 4 4 4 4;
middle: SOLID;
}
}
}
part { name: "sb_hbar_over1";
clip_to: "sb_hbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar";
rel2.relative: 1.0 0.5;
rel2.to: "elm.dragable.hbar";
image {
normal: "bt_sm_hilight.png";
border: 4 4 4 0;
}
}
}
part { name: "sb_hbar_over2";
clip_to: "sb_hbar_clip";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.dragable.hbar";
rel2.to: "elm.dragable.hbar";
image {
normal: "bt_sm_shine.png";
border: 4 4 4 0;
}
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
rel1.to: "clipper";
rel2.to: "clipper";
color: 0 0 0 0;
visible: 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 128 128 128 128;
} }
v = get_int(sbvis_timer);
if (v > 0) cancel_timer(v);
v = timer(1.0, "timer0", 0);
set_int(sbvis_timer, v);
} }
} }
programs {
program { name: "load";
signal: "load";
source: "";
script {
set_state(PART:"sb_hbar_clip", "hidden", 0.0);
set_state(PART:"sb_vbar_clip", "hidden", 0.0);
set_int(sbvis_h, 0);
set_int(sbvis_v, 0);
set_int(sbalways_v, 0);
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
}
program { name: "vbar_show"; program { name: "highlight_show";
signal: "elm,action,show,vbar"; signal: "elm,action,focus_highlight,show";
source: "elm"; source: "elm";
action: STATE_SET "default" 0.0; action: STATE_SET "enabled" 0.0;
target: "sb_vbar_clip_master"; transition: ACCELERATE 0.3;
} target: "focus_highlight";
program { name: "vbar_hide"; target: "conf_over";
signal: "elm,action,hide,vbar"; }
source: "elm"; program { name: "highlight_hide";
action: STATE_SET "hidden" 0.0; signal: "elm,action,focus_highlight,hide";
target: "sb_vbar_clip_master"; source: "elm";
} action: STATE_SET "default" 0.0;
program { name: "vbar_show_always"; transition: DECELERATE 0.3;
signal: "elm,action,show_always,vbar"; target: "focus_highlight";
source: "elm"; target: "conf_over";
script { }
new v; program { name: "disable";
v = get_int(sbvis_v); signal: "elm,state,disabled";
v |= get_int(sbalways_v); source: "elm";
if (!v) { action: STATE_SET "disabled" 0.0;
set_int(sbalways_v, 1); target: "disabler";
emit("do-show-vbar", ""); }
set_int(sbvis_v, 1); program { name: "enable";
} signal: "elm,state,enabled";
} source: "elm";
} action: STATE_SET "default" 0.0;
program { name: "vbar_show_notalways"; target: "disabler";
signal: "elm,action,show_notalways,vbar";
source: "elm";
script {
new v;
v = get_int(sbalways_v);
if (v) {
set_int(sbalways_v, 0);
v = get_int(sbvis_v);
if (!v) {
emit("do-hide-vbar", "");
set_int(sbvis_v, 0);
}
}
}
}
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "sb_vbar_hide";
signal: "do-hide-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_vbar_clip";
}
program { name: "hbar_show";
signal: "elm,action,show,hbar";
source: "elm";
action: STATE_SET "default" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_hide";
signal: "elm,action,hide,hbar";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_hbar_clip_master";
}
program { name: "hbar_show_always";
signal: "elm,action,show_always,hbar";
source: "elm";
script {
new v;
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
set_int(sbalways_h, 1);
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
}
}
program { name: "hbar_show_notalways";
signal: "elm,action,show_notalways,hbar";
source: "elm";
script {
new v;
v = get_int(sbalways_h);
if (v) {
set_int(sbalways_h, 0);
v = get_int(sbvis_h);
if (!v) {
emit("do-hide-hbar", "");
set_int(sbvis_h, 0);
}
}
}
}
program { name: "sb_hbar_show";
signal: "do-show-hbar";
source: "";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "sb_hbar_hide";
signal: "do-hide-hbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 0.5;
target: "sb_hbar_clip";
}
program { name: "scroll";
signal: "elm,action,scroll";
source: "elm";
script {
new v;
v = get_int(sbvis_v);
v |= get_int(sbalways_v);
if (!v) {
emit("do-show-vbar", "");
set_int(sbvis_v, 1);
}
v = get_int(sbvis_h);
v |= get_int(sbalways_h);
if (!v) {
emit("do-show-hbar", "");
set_int(sbvis_h, 1);
}
v = get_int(sbvis_timer);
if (v > 0) cancel_timer(v);
v = timer(1.0, "timer0", 0);
set_int(sbvis_timer, v);
}
}
program { name: "highlight_show";
signal: "elm,action,focus_highlight,show";
source: "elm";
action: STATE_SET "enabled" 0.0;
transition: ACCELERATE 0.3;
target: "focus_highlight";
target: "conf_over";
}
program { name: "highlight_hide";
signal: "elm,action,focus_highlight,hide";
source: "elm";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.3;
target: "focus_highlight";
target: "conf_over";
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
}
} }
} }
}
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

File diff suppressed because it is too large Load Diff

View File

@ -1,43 +1,43 @@
group { name: "elm/separator/horizontal/default"; group { name: "elm/separator/horizontal/default";
images { images {
image: "separator_h.png" COMP; image: "separator_h.png" COMP;
}
parts {
part { name: "separator"; // separator group
description { state: "default" 0.0;
min: 2 2;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image {
normal: "separator_h.png";
}
fill {
smooth: 0;
}
}
}
}
} }
parts {
/////////////////////////////////////////////////////////////////////////////// part { name: "separator"; // separator group
group { name: "elm/separator/vertical/default"; description { state: "default" 0.0;
images { min: 2 2;
image: "separator_v.png" COMP; rel1.offset: 4 4;
} rel2.offset: -5 -5;
parts { image {
part { name: "separator"; // separator group normal: "separator_h.png";
description { state: "default" 0.0; }
min: 2 2; fill {
rel1.offset: 4 4; smooth: 0;
rel2.offset: -5 -5; }
image { }
normal: "separator_v.png"; }
}
fill {
smooth: 0;
}
}
}
}
} }
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/separator/vertical/default";
images {
image: "separator_v.png" COMP;
}
parts {
part { name: "separator"; // separator group
description { state: "default" 0.0;
min: 2 2;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image {
normal: "separator_v.png";
}
fill {
smooth: 0;
}
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,396 +1,396 @@
group { name: "elm/slideshow/base/default"; group { name: "elm/slideshow/base/default";
data { data {
item: transitions "fade black_fade horizontal vertical square"; item: transitions "fade black_fade horizontal vertical square";
item: layouts "fullscreen not_fullscreen"; item: layouts "fullscreen not_fullscreen";
} }
parts { parts {
part { name: "whole"; part { name: "whole";
type: RECT; type: RECT;
description { description {
state: "default" 0.0; state: "default" 0.0;
visible: 1; visible: 1;
color: 20 20 20 255; color: 20 20 20 255;
}
}
part { name: "image_1_whole";
type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
description {
state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
description {
state: "horizontal_next_init" 0.0;
inherit: "default" 0.0;
}
description {
state: "horizontal_next" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
description {
state: "horizontal_prev_init" 0.0;
inherit: "default" 0.0;
}
description {
state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
description {
state: "vertical_next_init" 0.0;
inherit: "default" 0.0;
}
description {
state: "vertical_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
description {
state: "vertical_prev_init" 0.0;
inherit: "default" 0.0;
}
description {
state: "vertical_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
description {
state: "square_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part { name: "image_2_whole";
type: RECT;
description {
state: "default" 0.0;
visible: 1;
color: 255 255 255 0;
}
description {
state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 0 0 0 0;
}
description {
state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "horizontal_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
color: 255 255 255 255;
}
description {
state: "horizontal_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "horizontal_prev_init" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
color: 255 255 255 255;
}
description {
state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "vertical_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
color: 255 255 255 255;
}
description {
state: "vertical_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "vertical_prev_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
color: 255 255 255 255;
}
description {
state: "vertical_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "square_prev_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
color: 255 255 255 255;
}
description {
state: "square_prev_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.1";
type: SWALLOW;
clip_to: "image_1_whole";
description {
state: "default" 0.0;
rel1.to: "image_1_whole";
rel2.to: "image_1_whole";
color: 255 255 255 255;
}
description {
state: "not_fullscreen" 0.0;
rel1.relative: 0.1 0.1;
rel1.to: "image_1_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_1_whole";
color: 255 255 255 255;
}
}
part { name: "elm.swallow.2";
type: SWALLOW;
clip_to: "image_2_whole";
description {
state: "default" 0.0;
color: 255 255 255 255;
rel1.to: "image_2_whole";
rel2.to: "image_2_whole";
}
description {
state: "not_fullscreen" 0.0;
color: 255 255 255 255;
rel1.relative: 0.1 0.1;
rel1.to: "image_2_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_2_whole";
}
}
part { name: "events_catcher";
type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
visible: 1;
color: 0 0 0 0;
}
} }
} }
programs { part { name: "image_1_whole";
//Substyle type: RECT;
program { name: "layout_fullscreen"; description {
signal: "layout,fullscreen"; state: "default" 0.0;
source: "slideshow"; color: 255 255 255 255;
action: STATE_SET "default" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
}
program { name: "layout_not_fullscreen";
signal: "layout,not_fullscreen";
source: "slideshow";
action: STATE_SET "not_fullscreen" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
} }
// description {
program { name: "fade_next"; state: "fade_prev_next" 0.0;
signal: "fade,next"; inherit: "default" 0.0;
source: "slideshow"; color: 255 255 255 0;
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_next_2";
} }
program { name: "fade_next_2"; description {
action: STATE_SET "fade_prev_next" 0.0; state: "black_fade_prev_next_init" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole"; color: 255 255 255 255;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "fade_previous"; description {
signal: "fade,previous"; state: "black_fade_prev_next" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "default" 0.0; color: 0 0 0 255;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_previous_2";
} }
program { name: "fade_previous_2"; description {
action: STATE_SET "fade_prev_next" 0.0; state: "horizontal_next_init" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "black_fade_next"; description {
signal: "black_fade,next"; state: "horizontal_next" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "black_fade_prev_next_init" 0.0; rel1.relative: -1.0 0.0;
target: "image_1_whole"; rel2.relative: 0.0 1.0;
target: "image_2_whole";
after: "black_fade_next_2";
} }
program { name: "black_fade_next_2"; description {
action: STATE_SET "black_fade_prev_next" 0.0; state: "horizontal_prev_init" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
transition: SINUSOIDAL 0.75;
after: "black_fade_next_3";
} }
program { name: "black_fade_next_3"; description {
action: STATE_SET "black_fade_prev_next" 0.0; state: "horizontal_prev" 0.0;
target: "image_2_whole"; inherit: "default" 0.0;
transition: SINUSOIDAL 0.75; rel1.relative: 1.0 0.0;
after: "end"; rel2.relative: 2.0 1.0;
} }
program { name: "black_fade_previous"; description {
signal: "black_fade,previous"; state: "vertical_next_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "black_fade_prev_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "black_fade_previous_2";
} }
program { name: "black_fade_previous_2"; description {
action: STATE_SET "black_fade_prev_next" 0.0; state: "vertical_next" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
transition: SINUSOIDAL 0.75; rel1.relative: 0.0 -1.0;
after: "black_fade_previous_3"; rel2.relative: 1.0 0.0;
} }
program { name: "black_fade_previous_3"; description {
action: STATE_SET "black_fade_prev_next" 0.0; state: "vertical_prev_init" 0.0;
target: "image_2_whole"; inherit: "default" 0.0;
transition: SINUSOIDAL 0.75;
after: "end";
} }
program { name: "horizontal_next"; description {
signal: "horizontal,next"; state: "vertical_prev" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "horizontal_next_init" 0.0; rel1.relative: 0.0 1.0;
target: "image_1_whole"; rel2.relative: 1.0 2.0;
target: "image_2_whole";
after: "horizontal_next_2";
} }
program { name: "horizontal_next_2"; description {
action: STATE_SET "horizontal_next" 0.0; state: "square_prev_next" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole"; color: 255 255 255 0;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "horizontal_previous"; }
signal: "horizontal,previous"; part { name: "image_2_whole";
source: "slideshow"; type: RECT;
action: STATE_SET "horizontal_prev_init" 0.0; description {
target: "image_1_whole"; state: "default" 0.0;
target: "image_2_whole"; visible: 1;
after: "horizontal_previous_2"; color: 255 255 255 0;
} }
program { name: "horizontal_previous_2"; description {
action: STATE_SET "horizontal_prev" 0.0; state: "fade_prev_next" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole"; color: 255 255 255 255;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "vertical_next"; description {
signal: "vertical,next"; state: "black_fade_prev_next_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "vertical_next_init" 0.0; color: 0 0 0 0;
target: "image_1_whole";
target: "image_2_whole";
after: "vertical_next_2";
} }
program { name: "vertical_next_2"; description {
action: STATE_SET "vertical_next" 0.0; state: "black_fade_prev_next" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole"; color: 255 255 255 255;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "vertical_previous"; description {
signal: "vertical,previous"; state: "horizontal_next_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "vertical_prev_init" 0.0; rel1.relative: 1.0 0.0;
target: "image_1_whole"; rel2.relative: 2.0 1.0;
target: "image_2_whole"; color: 255 255 255 255;
after: "vertical_previous_2";
} }
program { name: "vertical_previous_2"; description {
action: STATE_SET "vertical_prev" 0.0; state: "horizontal_next" 0.0;
target: "image_1_whole"; inherit: "default" 0.0;
target: "image_2_whole"; color: 255 255 255 255;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "square_next"; description {
signal: "square,next"; state: "horizontal_prev_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "square_prev_next_init" 0.0; rel1.relative: -1.0 0.0;
target: "image_2_whole"; rel2.relative: 0.0 1.0;
after: "square_next_2"; color: 255 255 255 255;
} }
program { name: "square_next_2"; description {
action: STATE_SET "square_prev_next" 0.0; state: "horizontal_prev" 0.0;
target: "image_2_whole"; inherit: "default" 0.0;
target: "image_1_whole"; color: 255 255 255 255;
transition: SINUSOIDAL 1.5;
after: "end";
} }
program { name: "square_previous"; description {
signal: "square,previous"; state: "vertical_next_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "square_prev_next_init" 0.0; rel1.relative: 0.0 1.0;
target: "image_2_whole"; rel2.relative: 1.0 2.0;
after: "square_next_2"; color: 255 255 255 255;
} }
program { name: "end"; description {
action: SIGNAL_EMIT "end" "slideshow"; state: "vertical_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
} }
program { name: "end_signal"; description {
signal: "anim,end"; state: "vertical_prev_init" 0.0;
source: "slideshow"; inherit: "default" 0.0;
action: STATE_SET "default" 0.0; rel1.relative: 0.0 -1.0;
target: "image_1_whole"; rel2.relative: 1.0 0.0;
target: "image_2_whole"; color: 255 255 255 255;
}
description {
state: "vertical_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
description {
state: "square_prev_next_init" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
color: 255 255 255 255;
}
description {
state: "square_prev_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.1";
type: SWALLOW;
clip_to: "image_1_whole";
description {
state: "default" 0.0;
rel1.to: "image_1_whole";
rel2.to: "image_1_whole";
color: 255 255 255 255;
}
description {
state: "not_fullscreen" 0.0;
rel1.relative: 0.1 0.1;
rel1.to: "image_1_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_1_whole";
color: 255 255 255 255;
}
}
part { name: "elm.swallow.2";
type: SWALLOW;
clip_to: "image_2_whole";
description {
state: "default" 0.0;
color: 255 255 255 255;
rel1.to: "image_2_whole";
rel2.to: "image_2_whole";
}
description {
state: "not_fullscreen" 0.0;
color: 255 255 255 255;
rel1.relative: 0.1 0.1;
rel1.to: "image_2_whole";
rel2.relative: 0.9 0.9;
rel2.to: "image_2_whole";
}
}
part { name: "events_catcher";
type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
visible: 1;
color: 0 0 0 0;
} }
} }
} }
programs {
//Substyle
program { name: "layout_fullscreen";
signal: "layout,fullscreen";
source: "slideshow";
action: STATE_SET "default" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
}
program { name: "layout_not_fullscreen";
signal: "layout,not_fullscreen";
source: "slideshow";
action: STATE_SET "not_fullscreen" 0.0;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
}
//
program { name: "fade_next";
signal: "fade,next";
source: "slideshow";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_next_2";
}
program { name: "fade_next_2";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "fade_previous";
signal: "fade,previous";
source: "slideshow";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "fade_previous_2";
}
program { name: "fade_previous_2";
action: STATE_SET "fade_prev_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "black_fade_next";
signal: "black_fade,next";
source: "slideshow";
action: STATE_SET "black_fade_prev_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "black_fade_next_2";
}
program { name: "black_fade_next_2";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_1_whole";
transition: SINUSOIDAL 0.75;
after: "black_fade_next_3";
}
program { name: "black_fade_next_3";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_2_whole";
transition: SINUSOIDAL 0.75;
after: "end";
}
program { name: "black_fade_previous";
signal: "black_fade,previous";
source: "slideshow";
action: STATE_SET "black_fade_prev_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "black_fade_previous_2";
}
program { name: "black_fade_previous_2";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_1_whole";
transition: SINUSOIDAL 0.75;
after: "black_fade_previous_3";
}
program { name: "black_fade_previous_3";
action: STATE_SET "black_fade_prev_next" 0.0;
target: "image_2_whole";
transition: SINUSOIDAL 0.75;
after: "end";
}
program { name: "horizontal_next";
signal: "horizontal,next";
source: "slideshow";
action: STATE_SET "horizontal_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "horizontal_next_2";
}
program { name: "horizontal_next_2";
action: STATE_SET "horizontal_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "horizontal_previous";
signal: "horizontal,previous";
source: "slideshow";
action: STATE_SET "horizontal_prev_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "horizontal_previous_2";
}
program { name: "horizontal_previous_2";
action: STATE_SET "horizontal_prev" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "vertical_next";
signal: "vertical,next";
source: "slideshow";
action: STATE_SET "vertical_next_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "vertical_next_2";
}
program { name: "vertical_next_2";
action: STATE_SET "vertical_next" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "vertical_previous";
signal: "vertical,previous";
source: "slideshow";
action: STATE_SET "vertical_prev_init" 0.0;
target: "image_1_whole";
target: "image_2_whole";
after: "vertical_previous_2";
}
program { name: "vertical_previous_2";
action: STATE_SET "vertical_prev" 0.0;
target: "image_1_whole";
target: "image_2_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "square_next";
signal: "square,next";
source: "slideshow";
action: STATE_SET "square_prev_next_init" 0.0;
target: "image_2_whole";
after: "square_next_2";
}
program { name: "square_next_2";
action: STATE_SET "square_prev_next" 0.0;
target: "image_2_whole";
target: "image_1_whole";
transition: SINUSOIDAL 1.5;
after: "end";
}
program { name: "square_previous";
signal: "square,previous";
source: "slideshow";
action: STATE_SET "square_prev_next_init" 0.0;
target: "image_2_whole";
after: "square_next_2";
}
program { name: "end";
action: SIGNAL_EMIT "end" "slideshow";
}
program { name: "end_signal";
signal: "anim,end";
source: "slideshow";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
}
}
}
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

File diff suppressed because it is too large Load Diff

View File

@ -1,185 +1,185 @@
group { name: "elm/thumb/base/default"; group { name: "elm/thumb/base/default";
images { images {
image: "frame_1.png" COMP; image: "frame_1.png" COMP;
image: "frame_2.png" COMP; image: "frame_2.png" COMP;
image: "dia_grad.png" COMP; image: "dia_grad.png" COMP;
image: "busy-1.png" COMP; image: "busy-1.png" COMP;
image: "busy-2.png" COMP; image: "busy-2.png" COMP;
image: "busy-3.png" COMP; image: "busy-3.png" COMP;
image: "busy-4.png" COMP; image: "busy-4.png" COMP;
image: "busy-5.png" COMP; image: "busy-5.png" COMP;
image: "busy-6.png" COMP; image: "busy-6.png" COMP;
image: "busy-7.png" COMP; image: "busy-7.png" COMP;
image: "busy-8.png" COMP; image: "busy-8.png" COMP;
image: "busy-9.png" COMP; image: "busy-9.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
rel1.to: "over";
rel2.to: "over";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
} }
parts { part { name: "base";
part { name: "base0"; mouse_events: 0;
mouse_events: 0; description { state: "default" 0.0;
description { state: "default" 0.0; image {
image.normal: "dia_grad.png"; normal: "frame_2.png";
rel1.to: "over"; border: 5 5 32 26;
rel2.to: "over"; middle: 0;
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
} }
fill.smooth : 0;
} }
part { name: "base"; }
mouse_events: 0; part { name: "clip";
description { state: "default" 0.0; mouse_events: 0;
image { type: RECT;
normal: "frame_2.png"; description { state: "default" 0.0;
border: 5 5 32 26; rel1.offset: 4 4;
middle: 0; rel2.offset: -5 -5;
} color: 255 255 255 255;
fill.smooth : 0;
}
} }
part { name: "clip"; }
mouse_events: 0; part { name: "elm.swallow.content";
type: RECT; type: SWALLOW;
description { state: "default" 0.0; clip_to: "clip";
rel1.offset: 4 4; description { state: "default" 0.0;
rel2.offset: -5 -5; rel1.offset: 4 4;
color: 255 255 255 255; rel2.offset: -5 -5;
}
} }
part { name: "elm.swallow.content"; }
type: SWALLOW; part { name: "progress";
clip_to: "clip"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
part { name: "progress";
mouse_events: 0;
clip_to: "clip"; clip_to: "clip";
description { state: "default" 0.0; description { state: "default" 0.0;
min: 32 32; min: 32 32;
max: 32 32; max: 32 32;
visible: 0; visible: 0;
aspect: 1.0 1.0; aspect: 1.0 1.0;
aspect_preference: BOTH; aspect_preference: BOTH;
} }
description { state: "pulse" 0.0; description { state: "pulse" 0.0;
inherit: "default" 0.0; inherit: "default" 0.0;
visible: 1; visible: 1;
image { image {
normal: "busy-9.png"; normal: "busy-9.png";
tween: "busy-1.png"; tween: "busy-1.png";
tween: "busy-2.png"; tween: "busy-2.png";
tween: "busy-3.png"; tween: "busy-3.png";
tween: "busy-4.png"; tween: "busy-4.png";
tween: "busy-5.png"; tween: "busy-5.png";
tween: "busy-6.png"; tween: "busy-6.png";
tween: "busy-7.png"; tween: "busy-7.png";
tween: "busy-8.png"; tween: "busy-8.png";
border: 7 7 7 7; border: 7 7 7 7;
}
} }
} }
part { name: "over"; }
mouse_events: 0; part { name: "over";
description { state: "default" 0.0; mouse_events: 0;
rel1.offset: 4 4; description { state: "default" 0.0;
rel2.offset: -5 -5; rel1.offset: 4 4;
image { rel2.offset: -5 -5;
normal: "frame_1.png"; image {
border: 2 2 28 22; normal: "frame_1.png";
middle: 0; border: 2 2 28 22;
} middle: 0;
fill.smooth: 0;
} }
fill.smooth: 0;
} }
programs { }
program { name: "start_pulse"; programs {
signal: "elm,state,pulse,start"; program { name: "start_pulse";
source: "elm"; signal: "elm,state,pulse,start";
action: STATE_SET "pulse" 0.0; source: "elm";
target: "progress"; action: STATE_SET "pulse" 0.0;
transition: LINEAR 0.5; target: "progress";
after: "start_pulse"; transition: LINEAR 0.5;
} after: "start_pulse";
program { name: "stop_pulse"; }
signal: "elm,state,pulse,stop"; program { name: "stop_pulse";
source: "elm"; signal: "elm,state,pulse,stop";
action: STATE_SET "default" 0.0; source: "elm";
target: "progress"; action: STATE_SET "default" 0.0;
} target: "progress";
} }
} }
} }
}
group { name: "elm/thumb/base/noframe"; group { name: "elm/thumb/base/noframe";
images { images {
image: "busy-1.png" COMP; image: "busy-1.png" COMP;
image: "busy-2.png" COMP; image: "busy-2.png" COMP;
image: "busy-3.png" COMP; image: "busy-3.png" COMP;
image: "busy-4.png" COMP; image: "busy-4.png" COMP;
image: "busy-5.png" COMP; image: "busy-5.png" COMP;
image: "busy-6.png" COMP; image: "busy-6.png" COMP;
image: "busy-7.png" COMP; image: "busy-7.png" COMP;
image: "busy-8.png" COMP; image: "busy-8.png" COMP;
image: "busy-9.png" COMP; image: "busy-9.png" COMP;
}
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
} }
parts { part { name: "progress";
part { name: "elm.swallow.content"; mouse_events: 0;
type: SWALLOW; description { state: "default" 0.0;
description { state: "default" 0.0; min: 32 32;
rel1.offset: 4 4; max: 32 32;
rel2.offset: -5 -5; visible: 0;
aspect: 1.0 1.0;
aspect_preference: BOTH;
}
description { state: "pulse" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "busy-9.png";
tween: "busy-1.png";
tween: "busy-2.png";
tween: "busy-3.png";
tween: "busy-4.png";
tween: "busy-5.png";
tween: "busy-6.png";
tween: "busy-7.png";
tween: "busy-8.png";
border: 7 7 7 7;
} }
} }
part { name: "progress"; }
mouse_events: 0; programs {
description { state: "default" 0.0; program { name: "start_pulse";
min: 32 32; signal: "elm,state,pulse,start";
max: 32 32; source: "elm";
visible: 0; action: STATE_SET "pulse" 0.0;
aspect: 1.0 1.0; target: "progress";
aspect_preference: BOTH; transition: LINEAR 0.5;
} after: "start_pulse";
description { state: "pulse" 0.0;
inherit: "default" 0.0;
visible: 1;
image {
normal: "busy-9.png";
tween: "busy-1.png";
tween: "busy-2.png";
tween: "busy-3.png";
tween: "busy-4.png";
tween: "busy-5.png";
tween: "busy-6.png";
tween: "busy-7.png";
tween: "busy-8.png";
border: 7 7 7 7;
}
}
} }
programs { program { name: "stop_pulse";
program { name: "start_pulse"; signal: "elm,state,pulse,stop";
signal: "elm,state,pulse,start"; source: "elm";
source: "elm"; action: STATE_SET "default" 0.0;
action: STATE_SET "pulse" 0.0; target: "progress";
target: "progress";
transition: LINEAR 0.5;
after: "start_pulse";
}
program { name: "stop_pulse";
signal: "elm,state,pulse,stop";
source: "elm";
action: STATE_SET "default" 0.0;
target: "progress";
}
} }
} }
} }
}

View File

@ -1,444 +1,444 @@
group { name: "elm/toggle/base/default"; group { name: "elm/toggle/base/default";
images { images {
image: "shelf_inset.png" COMP; image: "shelf_inset.png" COMP;
image: "bt_basew.png" COMP; image: "bt_basew.png" COMP;
image: "bt_bases.png" COMP; image: "bt_bases.png" COMP;
image: "bt_hilightw.png" COMP; image: "bt_hilightw.png" COMP;
image: "tog_base_on.png" COMP; image: "tog_base_on.png" COMP;
image: "tog_base_off.png" COMP; image: "tog_base_off.png" COMP;
image: "tog_dis_base_on.png" COMP; image: "tog_dis_base_on.png" COMP;
image: "tog_dis_base_off.png" COMP; image: "tog_dis_base_off.png" COMP;
}
script {
public is_rtl;
}
parts {
part { name: "bg";
type: RECT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.offset: -4 3;
rel2.offset: -4 -4;
align: 1.0 0.5;
min: 96 16;
max: 96 16;
aspect: 4.0 4.0;
aspect_preference: VERTICAL;
color: 255 255 255 255;
}
} }
script { part { name: "clipper";
public is_rtl; type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 255 255 255 255;
}
} }
parts { part { name: "button";
part { name: "bg"; type: RECT;
type: RECT; scale: 1;
mouse_events: 0; clip_to: "clipper";
scale: 1; mouse_events: 1;
description { state: "default" 0.0; dragable {
rel1.relative: 1.0 0.0; x: 1 1 0;
rel1.offset: -4 3; y: 0 0 0;
rel2.offset: -4 -4; confine: "bg";
align: 1.0 0.5; }
min: 96 16; description { state: "default" 0.0;
max: 96 16; fixed: 1 1;
aspect: 4.0 4.0; rel1.to: "bg";
aspect_preference: VERTICAL; rel2.to: "bg";
color: 255 255 255 255; min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
color: 0 0 0 0;
}
}
part { name: "button_events";
type: RECT;
dragable {
events: "button";
}
description { state: "default" 0.0;
rel1.to_x: "bg";
rel1.offset: 0 0;
rel1.relative: 0.0 0.0;
rel2.to_x: "bg";
rel2.offset: -1 -1;
rel2.relative: 1.0 1.0;
color: 0 0 0 0;
}
}
part { name: "onrect";
type: IMAGE;
scale: 1;
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button";
rel1.relative: -5.0 0.0;
rel2.to: "button";
rel2.relative: 0.5 1.0;
image.normal: "tog_base_on.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "tog_dis_base_on.png";
}
}
part { name: "offrect";
type: IMAGE;
scale: 1;
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button";
rel1.relative: 0.5 0.0;
rel2.to: "button";
rel2.relative: 6.0 1.0;
image.normal: "tog_base_off.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "tog_dis_base_off.png";
}
}
part { name: "elm.offtext";
type: TEXT;
mouse_events: 0;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "button";
rel1.relative: 1.0 0.0;
rel2.to_x: "offrect";
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 1;
align: 0.5 0.5;
text: "OFF";
} }
} }
part { name: "clipper"; description { state: "disabled" 0.0;
type: RECT; inherit: "default" 0.0;
mouse_events: 0; color: 128 128 128 128;
description { state: "default" 0.0; }
rel1.to: "bg"; }
rel2.to: "bg"; part { name: "elm.ontext";
color: 255 255 255 255; type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "onrect";
rel1.offset: 1 1;
rel2.to_x: "button";
rel2.offset: 0 0;
rel2.relative: 0.0 1.0;
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 1;
align: 0.5 0.5;
text: "ON";
} }
} }
part { name: "button"; description { state: "disabled" 0.0;
type: RECT; inherit: "default" 0.0;
scale: 1; color: 128 128 128 128;
clip_to: "clipper"; color3: 0 0 0 24;
mouse_events: 1; }
dragable { }
x: 1 1 0; part { name: "conf_over";
y: 0 0 0; mouse_events: 0;
confine: "bg"; description { state: "default" 0.0;
rel1.offset: -1 -1;
rel1.to: "bg";
rel2.offset: 0 0;
rel2.to: "bg";
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
} }
description { state: "default" 0.0; fill.smooth : 0;
fixed: 1 1; }
rel1.to: "bg"; }
rel2.to: "bg"; part { name: "button0";
min: 16 16; mouse_events: 0;
max: 16 16; clip_to: "clipper";
aspect: 1.0 1.0; description { state: "default" 0.0;
aspect_preference: VERTICAL; rel1.to: "button2";
color: 0 0 0 0; rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
}
image.middle: SOLID;
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "button";
rel1.offset: -2 -2;
rel2.to: "button";
rel2.offset: 1 1;
image {
normal: "bt_basew.png";
border: 7 7 7 7;
}
image.middle: SOLID;
}
}
part { name: "button3";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
} }
} }
part { name: "button_events"; }
type: RECT; part { name: "elm.swallow.content";
dragable { type: SWALLOW;
events: "button"; description { state: "default" 0.0;
} fixed: 1 0;
description { state: "default" 0.0; visible: 0;
rel1.to_x: "bg"; align: 0.0 0.5;
rel1.offset: 0 0; rel1.offset: 4 4;
rel1.relative: 0.0 0.0; rel2.relative: 0.0 1.0;
rel2.to_x: "bg"; rel2.offset: 3 -5;
rel2.offset: -1 -1;
rel2.relative: 1.0 1.0;
color: 0 0 0 0;
}
} }
part { name: "onrect"; description { state: "visible" 0.0;
type: IMAGE; inherit: "default" 0.0;
scale: 1; visible: 1;
clip_to: "clipper"; aspect: 1.0 1.0;
mouse_events: 0; rel2.offset: 4 -5;
description { state: "default" 0.0;
rel1.to: "button";
rel1.relative: -5.0 0.0;
rel2.to: "button";
rel2.relative: 0.5 1.0;
image.normal: "tog_base_on.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "tog_dis_base_on.png";
}
} }
part { name: "offrect"; description { state: "disabled" 0.0;
type: IMAGE; inherit: "default" 0.0;
scale: 1; color: 128 128 128 128;
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button";
rel1.relative: 0.5 0.0;
rel2.to: "button";
rel2.relative: 6.0 1.0;
image.normal: "tog_base_off.png";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
image.normal: "tog_dis_base_off.png";
}
} }
part { name: "elm.offtext"; description { state: "disabled_visible" 0.0;
type: TEXT; inherit: "default" 0.0;
mouse_events: 0; color: 128 128 128 128;
scale: 1; visible: 1;
clip_to: "clipper"; aspect: 1.0 1.0;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "button";
rel1.relative: 1.0 0.0;
rel2.to_x: "offrect";
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 1;
align: 0.5 0.5;
text: "OFF";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
} }
part { name: "elm.ontext"; }
type: TEXT; part { name: "elm.text";
effect: SOFT_SHADOW; type: TEXT;
mouse_events: 0; mouse_events: 0;
scale: 1; scale: 1;
clip_to: "clipper"; description { state: "default" 0.0;
description { state: "default" 0.0; visible: 0;
fixed: 1 1; rel1.to_x: "elm.swallow.content";
rel1.to_x: "onrect"; rel1.relative: 1.0 0.0;
rel1.offset: 1 1; rel1.offset: 0 4;
rel2.to_x: "button"; rel2.to_x: "bg";
rel2.offset: 0 0; rel2.relative: 0.0 1.0;
rel2.relative: 0.0 1.0; rel2.offset: -5 -5;
color: 224 224 224 255; color: 0 0 0 255;
color3: 0 0 0 64; text {
text { font: "Sans,Edje-Vera";
font: "Sans,Edje-Vera"; size: 10;
size: 10; min: 0 0;
min: 0 1;
align: 0.5 0.5;
text: "ON";
}
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
color3: 0 0 0 24;
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -1 -1;
rel1.to: "bg";
rel2.offset: 0 0;
rel2.to: "bg";
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "button0";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "button2";
rel1.offset: -4 -4;
rel2.to: "button2";
rel2.offset: 3 3;
image {
normal: "bt_bases.png";
border: 11 11 11 11;
}
image.middle: SOLID;
color: 255 255 255 128;
}
}
part { name: "button2";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "button";
rel1.offset: -2 -2;
rel2.to: "button";
rel2.offset: 1 1;
image {
normal: "bt_basew.png";
border: 7 7 7 7;
}
image.middle: SOLID;
}
}
part { name: "button3";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "button2";
rel2.to: "button2";
rel2.relative: 1.0 0.5;
image {
normal: "bt_hilightw.png";
border: 4 4 4 0;
}
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
visible: 0;
align: 0.0 0.5; align: 0.0 0.5;
rel1.offset: 4 4;
rel2.relative: 0.0 1.0;
rel2.offset: 3 -5;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
aspect: 1.0 1.0;
rel2.offset: 4 -5;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
aspect: 1.0 1.0;
} }
} }
part { name: "elm.text"; description { state: "visible" 0.0;
type: TEXT; inherit: "default" 0.0;
mouse_events: 0; visible: 1;
scale: 1; text.min: 1 1;
description { state: "default" 0.0;
visible: 0;
rel1.to_x: "elm.swallow.content";
rel1.relative: 1.0 0.0;
rel1.offset: 0 4;
rel2.to_x: "bg";
rel2.relative: 0.0 1.0;
rel2.offset: -5 -5;
color: 0 0 0 255;
text {
font: "Sans,Edje-Vera";
size: 10;
min: 0 0;
align: 0.0 0.5;
}
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
text.min: 1 1;
}
} }
part { name: "disabler"; description { state: "disabled" 0.0;
type: RECT; inherit: "default" 0.0;
description { state: "default" 0.0; color: 128 128 128 128;
color: 0 0 0 0; }
visible: 0; description { state: "disabled_visible" 0.0;
} inherit: "default" 0.0;
description { state: "disabled" 0.0; color: 128 128 128 128;
inherit: "default" 0.0; visible: 1;
visible: 1; text.min: 1 1;
}
} }
} }
programs { part { name: "disabler";
program { name: "drag_end"; type: RECT;
signal: "mouse,up,1"; description { state: "default" 0.0;
source: "button"; color: 0 0 0 0;
script { visible: 0;
new Float:dx, Float:dy;
get_drag(PART:"button", dx, dy);
if (dx > 0.5)
{
set_drag(PART:"button", 1.0, 0.0);
}
else
{
set_drag(PART:"button", 0.0, 0.0);
}
if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
(get_int(is_rtl) == 0) && (dx > 0.5)) {
emit("elm,action,toggle,on", "");
}
else {
emit("elm,action,toggle,off", "");
}
}
} }
program { name: "toggle_on"; description { state: "disabled" 0.0;
signal: "elm,state,toggle,on"; inherit: "default" 0.0;
source: "elm"; visible: 1;
script {
new Float:drag;
if (get_int(is_rtl) == 0) {
drag = 100.0;
}
else {
drag = 0.0;
}
set_drag(PART:"button", drag, 0.0);
}
}
program { name: "toggle_off";
signal: "elm,state,toggle,off";
source: "elm";
script {
new Float:drag;
if (get_int(is_rtl) == 0) {
drag = 0.0;
}
else {
drag = 100.0;
}
set_drag(PART:"button", drag, 0.0);
}
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.offtext";
target: "elm.ontext";
target: "onrect";
target: "offrect";
target: "disabler";
after: "disable_text";
}
program { name: "disable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.text", "disabled_visible", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
else
set_state(PART:"elm.swallow.content", "disabled", 0.0);
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
target: "onrect";
target: "offrect";
after: "enable_text";
}
program { name: "enable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled_visible"))
set_state(PART:"elm.text", "visible", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "visible", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
}
}
program { name: "to_rtl";
signal: "edje,state,rtl";
source: "edje";
script {
set_int(is_rtl, 1);
}
}
program { name: "to_ltr";
signal: "edje,state,ltr";
source: "edje";
script {
set_int(is_rtl, 0);
}
} }
} }
} }
programs {
program { name: "drag_end";
signal: "mouse,up,1";
source: "button";
script {
new Float:dx, Float:dy;
get_drag(PART:"button", dx, dy);
if (dx > 0.5)
{
set_drag(PART:"button", 1.0, 0.0);
}
else
{
set_drag(PART:"button", 0.0, 0.0);
}
if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
(get_int(is_rtl) == 0) && (dx > 0.5)) {
emit("elm,action,toggle,on", "");
}
else {
emit("elm,action,toggle,off", "");
}
}
}
program { name: "toggle_on";
signal: "elm,state,toggle,on";
source: "elm";
script {
new Float:drag;
if (get_int(is_rtl) == 0) {
drag = 100.0;
}
else {
drag = 0.0;
}
set_drag(PART:"button", drag, 0.0);
}
}
program { name: "toggle_off";
signal: "elm,state,toggle,off";
source: "elm";
script {
new Float:drag;
if (get_int(is_rtl) == 0) {
drag = 0.0;
}
else {
drag = 100.0;
}
set_drag(PART:"button", drag, 0.0);
}
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "elm.offtext";
target: "elm.ontext";
target: "onrect";
target: "offrect";
target: "disabler";
after: "disable_text";
}
program { name: "disable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.text", "disabled_visible", 0.0);
else
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
else
set_state(PART:"elm.swallow.content", "disabled", 0.0);
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
target: "onrect";
target: "offrect";
after: "enable_text";
}
program { name: "enable_text";
script {
new st[31];
new Float:vl;
get_state(PART:"elm.text", st, 30, vl);
if (!strcmp(st, "disabled_visible"))
set_state(PART:"elm.text", "visible", 0.0);
else
set_state(PART:"elm.text", "default", 0.0);
get_state(PART:"elm.swallow.content", st, 30, vl);
if (!strcmp(st, "visible"))
set_state(PART:"elm.swallow.content", "visible", 0.0);
else
set_state(PART:"elm.swallow.content", "default", 0.0);
}
}
program { name: "to_rtl";
signal: "edje,state,rtl";
source: "edje";
script {
set_int(is_rtl, 1);
}
}
program { name: "to_ltr";
signal: "edje,state,ltr";
source: "edje";
script {
set_int(is_rtl, 0);
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,497 +1,497 @@
group { name: "elm/label/base/tooltip"; group { name: "elm/label/base/tooltip";
styles { styles {
style { name: "tooltip_style"; style { name: "tooltip_style";
base: "font=Sans font_size=8 color=#666 wrap=word"; base: "font=Sans font_size=8 color=#666 wrap=word";
tag: "br" "\n"; tag: "br" "\n";
tag: "hilight" "+ font_weight=Bold"; tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold"; tag: "b" "+ font_weight=Bold";
tag: "tab" "\t"; tag: "tab" "\t";
}
}
parts {
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
text {
style: "tooltip_style";
min: 1 1;
}
} }
} }
parts { }
part { name: "elm.text"; }
type: TEXTBLOCK;
mouse_events: 0; group { name: "elm/tooltip/base/default";
scale: 1; min: 30 30;
description { state: "default" 0.0; data {
text { item: "pad_x" "20";
style: "tooltip_style"; item: "pad_y" "20";
min: 1 1; item: "pad_border_x" "10";
item: "pad_border_y" "10";
item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
}
images {
image: "tooltip-base.png" COMP;
image: "tooltip-corner-top-left-tip.png" COMP;
image: "tooltip-corner-top-right-tip.png" COMP;
image: "tooltip-corner-bottom-left-tip.png" COMP;
image: "tooltip-corner-bottom-right-tip.png" COMP;
image: "tooltip-edge-left-tip.png" COMP;
image: "tooltip-edge-right-tip.png" COMP;
image: "tooltip-edge-bottom-tip.png" COMP;
image: "tooltip-edge-top-tip.png" COMP;
}
script {
hide_corners() {
set_state(PART:"corner-top-left", "default", 0.0);
set_state(PART:"corner-top-right", "default", 0.0);
set_state(PART:"corner-bottom-left", "default", 0.0);
set_state(PART:"corner-bottom-right", "default", 0.0);
}
hide_edges() {
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-right", "default", 0.0);
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
}
show_corner_top_left() {
set_state(PART:"corner-top-left", "visible", 0.0);
set_state(PART:"corner-top-right", "default", 0.0);
set_state(PART:"corner-bottom-left", "default", 0.0);
set_state(PART:"corner-bottom-right", "default", 0.0);
hide_edges();
}
show_corner_top_right() {
set_state(PART:"corner-top-right", "visible", 0.0);
set_state(PART:"corner-top-left", "default", 0.0);
set_state(PART:"corner-bottom-left", "default", 0.0);
set_state(PART:"corner-bottom-right", "default", 0.0);
hide_edges();
}
show_corner_bottom_left() {
set_state(PART:"corner-bottom-left", "visible", 0.0);
set_state(PART:"corner-bottom-right", "default", 0.0);
set_state(PART:"corner-top-left", "default", 0.0);
set_state(PART:"corner-top-right", "default", 0.0);
hide_edges();
}
show_corner_bottom_right() {
set_state(PART:"corner-bottom-right", "visible", 0.0);
set_state(PART:"corner-bottom-left", "default", 0.0);
set_state(PART:"corner-top-left", "default", 0.0);
set_state(PART:"corner-top-right", "default", 0.0);
hide_edges();
}
show_edge_left(Float:val) {
set_state(PART:"clipper-edge-left", "visible", 0.0);
set_drag(PART:"edge-drag-left", 0.0, val);
set_state(PART:"clipper-edge-right", "default", 0.0);
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
hide_corners();
}
show_edge_right(Float:val) {
set_state(PART:"clipper-edge-right", "visible", 0.0);
set_drag(PART:"edge-drag-right", 0.0, val);
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
hide_corners();
}
show_edge_top(Float:val) {
set_state(PART:"clipper-edge-top", "visible", 0.0);
set_drag(PART:"edge-drag-top", val, 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-right", "default", 0.0);
hide_corners();
}
show_edge_bottom(Float:val) {
set_state(PART:"clipper-edge-bottom", "visible", 0.0);
set_drag(PART:"edge-drag-bottom", val, 0.0);
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-right", "default", 0.0);
hide_corners();
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 1)) {
new Float:x, Float:y;
x = getfarg(2);
y = getfarg(3);
if (x < 0.0)
{
if (y < 0.0) show_corner_top_left();
else if (y > 1.0) show_corner_bottom_left();
else show_edge_left(y);
}
else if (x > 1.0)
{
if (y < 0.0) show_corner_top_right();
else if (y > 1.0) show_corner_bottom_right();
else show_edge_right(y);
}
else
{
if (y < 0.0) show_edge_top(x);
else if (y > 1.0) show_edge_bottom(x);
else
{
hide_corners();
hide_edges();
} }
} }
} }
} }
} }
parts {
part { name: "clipper";
type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "pop";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
min: 30 30;
rel1 {
to: "elm.swallow.content";
offset: -15 -15;
}
rel2 {
to: "elm.swallow.content";
offset: 14 14;
}
image {
normal: "tooltip-base.png";
border: 14 14 14 14;
}
image.middle: SOLID;
}
}
group { name: "elm/tooltip/base/default"; #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \
min: 30 30; part { name: "corner-"name_; \
data { type: IMAGE; \
item: "pad_x" "20"; mouse_events: 0; \
item: "pad_y" "20"; clip_to: "clipper"; \
item: "pad_border_x" "10"; description { state: "default" 0.0; \
item: "pad_border_y" "10"; color: 255 255 255 0; \
item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */ visible: 0; \
} min: 14 14; \
images { max: 14 14; \
image: "tooltip-base.png" COMP; align: ax ay; \
image: "tooltip-corner-top-left-tip.png" COMP; fixed: 1 1; \
image: "tooltip-corner-top-right-tip.png" COMP; rel1 { \
image: "tooltip-corner-bottom-left-tip.png" COMP; relative: rx ry; \
image: "tooltip-corner-bottom-right-tip.png" COMP; offset: ox oy; \
image: "tooltip-edge-left-tip.png" COMP; to: "elm.swallow.content"; \
image: "tooltip-edge-right-tip.png" COMP; } \
image: "tooltip-edge-bottom-tip.png" COMP; rel2 { \
image: "tooltip-edge-top-tip.png" COMP; relative: rx ry; \
} offset: ox oy; \
script { to: "elm.swallow.content"; \
hide_corners() { } \
set_state(PART:"corner-top-left", "default", 0.0); image.normal: "tooltip-corner-"name_"-tip.png"; \
set_state(PART:"corner-top-right", "default", 0.0); } \
set_state(PART:"corner-bottom-left", "default", 0.0); description { state: "visible" 0.0; \
set_state(PART:"corner-bottom-right", "default", 0.0); inherit: "default" 0.0; \
} color: 255 255 255 255; \
hide_edges() { visible: 1; \
set_state(PART:"clipper-edge-left", "default", 0.0); } \
set_state(PART:"clipper-edge-right", "default", 0.0); }
set_state(PART:"clipper-edge-top", "default", 0.0); TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
set_state(PART:"clipper-edge-bottom", "default", 0.0); TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
} TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
#undef TT_CORNER
show_corner_top_left() { #define TT_EDGE_VERT(name_, rx, ax, ox) \
set_state(PART:"corner-top-left", "visible", 0.0); part { name: "clipper-edge-"name_; \
type: RECT; \
clip_to: "clipper"; \
description { state: "default" 0.0; \
color: 255 255 255 0; \
visible: 0; \
min: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1 { \
relative: rx 0.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 255; \
visible: 1; \
} \
} \
part { name: "edge-area-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1 { \
relative: rx 0.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
} \
} \
part { name: "edge-drag-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
dragable { \
x: 0 0 0; \
y: 1 1 0; \
confine: "edge-area-"name_; \
} \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
rel1.to: "edge-area-"name_; \
rel2.to: "edge-area-"name_; \
} \
} \
part { name: "edge-img-"name_; \
type: IMAGE; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
min: 14 14; \
max: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1.to: "edge-drag-"name_; \
rel2.to: "edge-drag-"name_; \
image.normal: "tooltip-edge-"name_"-tip.png"; \
} \
}
TT_EDGE_VERT("left", 0, 1, -2);
TT_EDGE_VERT("right", 1, 0, 1);
#undef TT_EDGE_VERT
set_state(PART:"corner-top-right", "default", 0.0); #define TT_EDGE_HORIZ(name_, ry, ay, oy) \
set_state(PART:"corner-bottom-left", "default", 0.0); part { name: "clipper-edge-"name_; \
set_state(PART:"corner-bottom-right", "default", 0.0); type: RECT; \
hide_edges(); clip_to: "clipper"; \
} description { state: "default" 0.0; \
show_corner_top_right() { color: 255 255 255 0; \
set_state(PART:"corner-top-right", "visible", 0.0); visible: 0; \
min: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1 { \
relative: 0.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: 1.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 255; \
visible: 1; \
} \
} \
part { name: "edge-area-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1 { \
relative: 0.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: 1.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
} \
} \
part { name: "edge-drag-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
dragable { \
x: 1 1 0; \
y: 0 0 0; \
confine: "edge-area-"name_; \
} \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
rel1.to: "edge-area-"name_; \
rel2.to: "edge-area-"name_; \
} \
} \
part { name: "edge-img-"name_; \
type: IMAGE; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
min: 14 14; \
max: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1.to: "edge-drag-"name_; \
rel2.to: "edge-drag-"name_; \
image.normal: "tooltip-edge-"name_"-tip.png"; \
} \
}
TT_EDGE_HORIZ("top", 0, 1, -2);
TT_EDGE_HORIZ("bottom", 1, 0, 1);
#undef TT_EDGE_HORIZ
set_state(PART:"corner-top-left", "default", 0.0); part { name: "clipper_content";
set_state(PART:"corner-bottom-left", "default", 0.0); type: RECT;
set_state(PART:"corner-bottom-right", "default", 0.0); description { state: "default" 0.0;
hide_edges(); color: 255 255 255 0;
} rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
clip_to: "clipper_content";
description { state: "default" 0.0; }
}
programs {
program {
name: "show0";
signal: "elm,action,show";
source: "elm";
action: ACTION_STOP;
target: "hide0";
target: "hide1";
target: "hide2";
target: "hide3";
after: "show1";
after: "show2";
}
program {
name: "show1";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.15;
target: "clipper";
}
program {
name: "show2";
in: 0.1 0.0;
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.15;
target: "clipper_content";
}
show_corner_bottom_left() { program {
set_state(PART:"corner-bottom-left", "visible", 0.0); name: "hide0";
signal: "elm,action,hide";
set_state(PART:"corner-bottom-right", "default", 0.0); source: "elm";
set_state(PART:"corner-top-left", "default", 0.0); action: ACTION_STOP;
set_state(PART:"corner-top-right", "default", 0.0); target: "show0";
hide_edges(); target: "show1";
} target: "show2";
show_corner_bottom_right() { after: "hide1";
set_state(PART:"corner-bottom-right", "visible", 0.0); after: "hide2";
after: "hide3";
set_state(PART:"corner-bottom-left", "default", 0.0); }
set_state(PART:"corner-top-left", "default", 0.0); program {
set_state(PART:"corner-top-right", "default", 0.0); name: "hide1";
hide_edges(); script {
} hide_corners();
hide_edges();
show_edge_left(Float:val) { }
set_state(PART:"clipper-edge-left", "visible", 0.0); }
set_drag(PART:"edge-drag-left", 0.0, val); program {
name: "hide2";
set_state(PART:"clipper-edge-right", "default", 0.0); action: STATE_SET "default" 0.0;
set_state(PART:"clipper-edge-top", "default", 0.0); transition: LINEAR 0.1;
set_state(PART:"clipper-edge-bottom", "default", 0.0); target: "clipper_content";
hide_corners(); }
} program {
show_edge_right(Float:val) { name: "hide3";
set_state(PART:"clipper-edge-right", "visible", 0.0); in: 0.1 0.0;
set_drag(PART:"edge-drag-right", 0.0, val); action: STATE_SET "default" 0.0;
transition: LINEAR 0.1;
set_state(PART:"clipper-edge-left", "default", 0.0); target: "clipper";
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
hide_corners();
}
show_edge_top(Float:val) {
set_state(PART:"clipper-edge-top", "visible", 0.0);
set_drag(PART:"edge-drag-top", val, 0.0);
set_state(PART:"clipper-edge-bottom", "default", 0.0);
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-right", "default", 0.0);
hide_corners();
}
show_edge_bottom(Float:val) {
set_state(PART:"clipper-edge-bottom", "visible", 0.0);
set_drag(PART:"edge-drag-bottom", val, 0.0);
set_state(PART:"clipper-edge-top", "default", 0.0);
set_state(PART:"clipper-edge-left", "default", 0.0);
set_state(PART:"clipper-edge-right", "default", 0.0);
hide_corners();
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 1)) {
new Float:x, Float:y;
x = getfarg(2);
y = getfarg(3);
if (x < 0.0)
{
if (y < 0.0) show_corner_top_left();
else if (y > 1.0) show_corner_bottom_left();
else show_edge_left(y);
}
else if (x > 1.0)
{
if (y < 0.0) show_corner_top_right();
else if (y > 1.0) show_corner_bottom_right();
else show_edge_right(y);
}
else
{
if (y < 0.0) show_edge_top(x);
else if (y > 1.0) show_edge_bottom(x);
else
{
hide_corners();
hide_edges();
}
}
}
}
}
parts {
part { name: "clipper";
type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "pop";
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
min: 30 30;
rel1 {
to: "elm.swallow.content";
offset: -15 -15;
}
rel2 {
to: "elm.swallow.content";
offset: 14 14;
}
image {
normal: "tooltip-base.png";
border: 14 14 14 14;
}
image.middle: SOLID;
}
}
#define TT_CORNER(name_, rx, ry, ax, ay, ox, oy) \
part { name: "corner-"name_; \
type: IMAGE; \
mouse_events: 0; \
clip_to: "clipper"; \
description { state: "default" 0.0; \
color: 255 255 255 0; \
visible: 0; \
min: 14 14; \
max: 14 14; \
align: ax ay; \
fixed: 1 1; \
rel1 { \
relative: rx ry; \
offset: ox oy; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: rx ry; \
offset: ox oy; \
to: "elm.swallow.content"; \
} \
image.normal: "tooltip-corner-"name_"-tip.png"; \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 255; \
visible: 1; \
} \
}
TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
#undef TT_CORNER
#define TT_EDGE_VERT(name_, rx, ax, ox) \
part { name: "clipper-edge-"name_; \
type: RECT; \
clip_to: "clipper"; \
description { state: "default" 0.0; \
color: 255 255 255 0; \
visible: 0; \
min: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1 { \
relative: rx 0.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 255; \
visible: 1; \
} \
} \
part { name: "edge-area-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1 { \
relative: rx 0.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: rx 1.0; \
offset: ox 0; \
to: "elm.swallow.content"; \
} \
} \
} \
part { name: "edge-drag-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
dragable { \
x: 0 0 0; \
y: 1 1 0; \
confine: "edge-area-"name_; \
} \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
rel1.to: "edge-area-"name_; \
rel2.to: "edge-area-"name_; \
} \
} \
part { name: "edge-img-"name_; \
type: IMAGE; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
min: 14 14; \
max: 14 14; \
align: ax 0.5; \
fixed: 1 1; \
rel1.to: "edge-drag-"name_; \
rel2.to: "edge-drag-"name_; \
image.normal: "tooltip-edge-"name_"-tip.png"; \
} \
}
TT_EDGE_VERT("left", 0, 1, -2);
TT_EDGE_VERT("right", 1, 0, 1);
#undef TT_EDGE_VERT
#define TT_EDGE_HORIZ(name_, ry, ay, oy) \
part { name: "clipper-edge-"name_; \
type: RECT; \
clip_to: "clipper"; \
description { state: "default" 0.0; \
color: 255 255 255 0; \
visible: 0; \
min: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1 { \
relative: 0.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: 1.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
} \
description { state: "visible" 0.0; \
inherit: "default" 0.0; \
color: 255 255 255 255; \
visible: 1; \
} \
} \
part { name: "edge-area-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1 { \
relative: 0.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
rel2 { \
relative: 1.0 ry; \
offset: 0 oy; \
to: "elm.swallow.content"; \
} \
} \
} \
part { name: "edge-drag-"name_; \
type: RECT; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
dragable { \
x: 1 1 0; \
y: 0 0 0; \
confine: "edge-area-"name_; \
} \
description { state: "default" 0.0; \
color: 0 0 0 0; \
min: 14 14; \
rel1.to: "edge-area-"name_; \
rel2.to: "edge-area-"name_; \
} \
} \
part { name: "edge-img-"name_; \
type: IMAGE; \
mouse_events: 0; \
clip_to: "clipper-edge-"name_; \
description { state: "default" 0.0; \
min: 14 14; \
max: 14 14; \
align: 0.5 ay; \
fixed: 1 1; \
rel1.to: "edge-drag-"name_; \
rel2.to: "edge-drag-"name_; \
image.normal: "tooltip-edge-"name_"-tip.png"; \
} \
}
TT_EDGE_HORIZ("top", 0, 1, -2);
TT_EDGE_HORIZ("bottom", 1, 0, 1);
#undef TT_EDGE_HORIZ
part { name: "clipper_content";
type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
clip_to: "clipper_content";
description { state: "default" 0.0; }
}
programs {
program {
name: "show0";
signal: "elm,action,show";
source: "elm";
action: ACTION_STOP;
target: "hide0";
target: "hide1";
target: "hide2";
target: "hide3";
after: "show1";
after: "show2";
}
program {
name: "show1";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.15;
target: "clipper";
}
program {
name: "show2";
in: 0.1 0.0;
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.15;
target: "clipper_content";
}
program {
name: "hide0";
signal: "elm,action,hide";
source: "elm";
action: ACTION_STOP;
target: "show0";
target: "show1";
target: "show2";
after: "hide1";
after: "hide2";
after: "hide3";
}
program {
name: "hide1";
script {
hide_corners();
hide_edges();
}
}
program {
name: "hide2";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.1;
target: "clipper_content";
}
program {
name: "hide3";
in: 0.1 0.0;
action: STATE_SET "default" 0.0;
transition: LINEAR 0.1;
target: "clipper";
}
}
}
}
group { name: "elm/tooltip/base/transparent";
data {
item: "pad_x" "10";
item: "pad_y" "10";
item: "transparent" "enabled";
}
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0; }
} }
} }
} }
}
group { name: "elm/tooltip/base/transparent";
data {
item: "pad_x" "10";
item: "pad_y" "10";
item: "transparent" "enabled";
}
parts {
part { name: "elm.swallow.content";
type: SWALLOW;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0; }
}
}
}
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -1,64 +1,64 @@
group { group {
name: "elm/video/base/default"; name: "elm/video/base/default";
parts { parts {
part { part {
name: "clipper"; name: "clipper";
type: RECT; type: RECT;
description { description {
color: 255 255 255 255; color: 255 255 255 255;
}
description {
state: "darker" 0.0;
color: 128 128 128 255;
}
} }
part { description {
name: "elm.swallow.video"; state: "darker" 0.0;
type: SWALLOW; color: 128 128 128 255;
clip_to: "clipper";
mouse_events: 1;
repeat_events: 1;
description {
aspect_preference: BOTH;
aspect: 1 1;
}
} }
} }
part {
name: "elm.swallow.video";
type: SWALLOW;
programs { clip_to: "clipper";
program { mouse_events: 1;
signal: "elm,video,load"; repeat_events: 1;
source: "elm";
action: STATE_SET "darker" 0.0; description {
target: "clipper"; aspect_preference: BOTH;
} aspect: 1 1;
program {
signal: "elm,video,play";
source: "elm";
action: STATE_SET "default" 0.0;
target: "clipper";
}
program {
signal: "elm,video,end";
source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
transition: LINEAR 0.5;
}
program {
signal: "elm,video,pause";
source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
} }
} }
} }
programs {
program {
signal: "elm,video,load";
source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
}
program {
signal: "elm,video,play";
source: "elm";
action: STATE_SET "default" 0.0;
target: "clipper";
}
program {
signal: "elm,video,end";
source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
transition: LINEAR 0.5;
}
program {
signal: "elm,video,pause";
source: "elm";
action: STATE_SET "darker" 0.0;
target: "clipper";
}
}
}
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////

View File

@ -1,246 +1,246 @@
group { name: "elm/win/inwin/default"; group { name: "elm/win/inwin/default";
images { images {
image: "shad_circ.png" COMP; image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP; image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP; image: "bt_dis_hilight.png" COMP;
}
parts {
part { name: "base";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 1.0;
color: 0 0 0 64;
}
} }
parts { part { name: "shad";
part { name: "base"; mouse_events: 0;
type: RECT; description { state: "default" 0.0;
mouse_events: 1; image.normal: "shad_circ.png";
description { state: "default" 0.0; rel1.to: "elm.swallow.content";
color: 0 0 0 0; rel1.offset: -64 -64;
} rel2.to: "elm.swallow.content";
description { state: "visible" 0.0; rel2.offset: 63 63;
inherit: "default" 1.0; fill.smooth: 0;
color: 0 0 0 64;
}
} }
part { name: "shad"; }
mouse_events: 0; part { name: "pop";
description { state: "default" 0.0; mouse_events: 1;
image.normal: "shad_circ.png"; description { state: "default" 0.0;
rel1.to: "elm.swallow.content"; rel1.to: "elm.swallow.content";
rel1.offset: -64 -64; rel1.offset: -5 -5;
rel2.to: "elm.swallow.content"; rel2.to: "elm.swallow.content";
rel2.offset: 63 63; rel2.offset: 4 4;
fill.smooth: 0; image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
} }
image.middle: SOLID;
} }
part { name: "pop"; }
mouse_events: 1; part { name: "popover";
description { state: "default" 0.0; mouse_events: 0;
rel1.to: "elm.swallow.content"; description { state: "default" 0.0;
rel1.offset: -5 -5; rel1.to: "pop";
rel2.to: "elm.swallow.content"; rel2.to: "pop";
rel2.offset: 4 4; rel2.relative: 1.0 0.5;
image { image {
normal: "bt_dis_base.png"; normal: "bt_dis_hilight.png";
border: 4 4 4 4; border: 4 4 4 0;
}
image.middle: SOLID;
}
}
part { name: "popover";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "pop";
rel2.to: "pop";
rel2.relative: 1.0 0.5;
image {
normal: "bt_dis_hilight.png";
border: 4 4 4 0;
}
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.relative: 0.1 0.1;
rel2.relative: 0.9 0.9;
} }
} }
} }
programs { part { name: "elm.swallow.content";
program { name: "show"; type: SWALLOW;
signal: "elm,action,show"; description { state: "default" 0.0;
source: "elm"; rel1.relative: 0.1 0.1;
action: STATE_SET "visible" 0.0; rel2.relative: 0.9 0.9;
// transition: DECELERATE 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
} }
} }
} }
programs {
program { name: "show";
signal: "elm,action,show";
source: "elm";
action: STATE_SET "visible" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
}
}
group { name: "elm/win/inwin/minimal"; group { name: "elm/win/inwin/minimal";
images { images {
image: "shad_circ.png" COMP; image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP; image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP; image: "bt_dis_hilight.png" COMP;
}
parts {
part { name: "base";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 1.0;
color: 0 0 0 64;
}
} }
parts { part { name: "shad";
part { name: "base"; mouse_events: 0;
type: RECT; description { state: "default" 0.0;
mouse_events: 1; image.normal: "shad_circ.png";
description { state: "default" 0.0; rel1.to: "elm.swallow.content";
color: 0 0 0 0; rel1.offset: -64 -64;
} rel2.to: "elm.swallow.content";
description { state: "visible" 0.0; rel2.offset: 63 63;
inherit: "default" 1.0; fill.smooth: 0;
color: 0 0 0 64;
}
} }
part { name: "shad"; }
mouse_events: 0; part { name: "pop";
description { state: "default" 0.0; mouse_events: 1;
image.normal: "shad_circ.png"; description { state: "default" 0.0;
rel1.to: "elm.swallow.content"; rel1.to: "elm.swallow.content";
rel1.offset: -64 -64; rel1.offset: -5 -5;
rel2.to: "elm.swallow.content"; rel2.to: "elm.swallow.content";
rel2.offset: 63 63; rel2.offset: 4 4;
fill.smooth: 0; image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
} }
image.middle: SOLID;
} }
part { name: "pop"; }
mouse_events: 1; part { name: "popover";
description { state: "default" 0.0; mouse_events: 0;
rel1.to: "elm.swallow.content"; description { state: "default" 0.0;
rel1.offset: -5 -5; rel1.to: "pop";
rel2.to: "elm.swallow.content"; rel2.to: "pop";
rel2.offset: 4 4; rel2.relative: 1.0 0.5;
image { image {
normal: "bt_dis_base.png"; normal: "bt_dis_hilight.png";
border: 4 4 4 4; border: 4 4 4 0;
}
image.middle: SOLID;
}
}
part { name: "popover";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "pop";
rel2.to: "pop";
rel2.relative: 1.0 0.5;
image {
normal: "bt_dis_hilight.png";
border: 4 4 4 0;
}
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
} }
} }
} }
programs { part { name: "elm.swallow.content";
program { name: "show"; type: SWALLOW;
signal: "elm,action,show"; description { state: "default" 0.0;
source: "elm"; fixed: 1 1;
action: STATE_SET "visible" 0.0; rel1.relative: 0.5 0.5;
// transition: DECELERATE 0.5; rel2.relative: 0.5 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
} }
} }
} }
programs {
program { name: "show";
signal: "elm,action,show";
source: "elm";
action: STATE_SET "visible" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
}
}
group { name: "elm/win/inwin/minimal_vertical"; group { name: "elm/win/inwin/minimal_vertical";
images { images {
image: "shad_circ.png" COMP; image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP; image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP; image: "bt_dis_hilight.png" COMP;
}
parts {
part { name: "base";
type: RECT;
mouse_events: 1;
description { state: "default" 0.0;
color: 0 0 0 0;
}
description { state: "visible" 0.0;
inherit: "default" 1.0;
color: 0 0 0 64;
}
} }
parts { part { name: "shad";
part { name: "base"; mouse_events: 0;
type: RECT; description { state: "default" 0.0;
mouse_events: 1; image.normal: "shad_circ.png";
description { state: "default" 0.0; rel1.to: "elm.swallow.content";
color: 0 0 0 0; rel1.offset: -64 -64;
} rel2.to: "elm.swallow.content";
description { state: "visible" 0.0; rel2.offset: 63 63;
inherit: "default" 1.0; fill.smooth: 0;
color: 0 0 0 64;
}
} }
part { name: "shad"; }
mouse_events: 0; part { name: "pop";
description { state: "default" 0.0; mouse_events: 1;
image.normal: "shad_circ.png"; description { state: "default" 0.0;
rel1.to: "elm.swallow.content"; rel1.to: "elm.swallow.content";
rel1.offset: -64 -64; rel1.offset: -5 -5;
rel2.to: "elm.swallow.content"; rel2.to: "elm.swallow.content";
rel2.offset: 63 63; rel2.offset: 4 4;
fill.smooth: 0; image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
} }
image.middle: SOLID;
} }
part { name: "pop"; }
mouse_events: 1; part { name: "popover";
description { state: "default" 0.0; mouse_events: 0;
rel1.to: "elm.swallow.content"; description { state: "default" 0.0;
rel1.offset: -5 -5; rel1.to: "pop";
rel2.to: "elm.swallow.content"; rel2.to: "pop";
rel2.offset: 4 4; rel2.relative: 1.0 0.5;
image { image {
normal: "bt_dis_base.png"; normal: "bt_dis_hilight.png";
border: 4 4 4 4; border: 4 4 4 0;
}
image.middle: SOLID;
}
}
part { name: "popover";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "pop";
rel2.to: "pop";
rel2.relative: 1.0 0.5;
image {
normal: "bt_dis_hilight.png";
border: 4 4 4 0;
}
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.1 0.5;
rel2.relative: 0.9 0.5;
} }
} }
} }
programs { part { name: "elm.swallow.content";
program { name: "show"; type: SWALLOW;
signal: "elm,action,show"; description { state: "default" 0.0;
source: "elm"; fixed: 1 1;
action: STATE_SET "visible" 0.0; rel1.relative: 0.1 0.5;
// transition: DECELERATE 0.5; rel2.relative: 0.9 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
} }
} }
} }
programs {
program { name: "show";
signal: "elm,action,show";
source: "elm";
action: STATE_SET "visible" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
program { name: "hide";
signal: "elm,action,hide";
source: "elm";
action: STATE_SET "default" 0.0;
// transition: DECELERATE 0.5;
target: "base";
}
}
}
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////