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 {
image: "shelf_inset.png" COMP;
image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_hilightw.png" COMP;
images {
image: "shelf_inset.png" COMP;
image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_basew.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;
}
}
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";
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;
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: "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;
}
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;
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;
}
min: 1 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" "";
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;
}
}
program { name: "elm.drag_button,mouse,down";
signal: "mouse,down,1";
source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
}
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;
rel1.to: "icon.dragable.area";
rel2 {
relative: 0.0 1.0;
to: "icon.dragable.area";
}
}
program { name: "elm.drag_button,mouse,move";
signal: "mouse,move";
source: "elm.drag_button_base";
action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
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;
}
}
}
}
group { name: "elm/actionslider/base/bar";
images {
image: "shelf_inset.png" COMP;
image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_hilightw.png" COMP;
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" "";
}
}
}
parts {
part {
name: "base";
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;
group { name: "elm/actionslider/base/bar";
images {
image: "shelf_inset.png" COMP;
image: "ilist_1.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_hilightw.png" COMP;
}
parts {
part {
name: "base";
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;
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: "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;
}
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;
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;
}
min: 1 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" "";
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;
}
}
program { name: "elm.drag_button,mouse,down";
signal: "mouse,down,1";
source: "elm.drag_button";
action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
}
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;
}
program { name: "elm.drag_button,mouse,move";
signal: "mouse,move";
source: "elm.drag_button_base";
action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
}
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;
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";
images {
image: "dia_grad.png" COMP;
image: "dia_topshad.png" COMP;
image: "dia_botshad.png" COMP;
group { name: "elm/bg/base/default";
images {
image: "dia_grad.png" COMP;
image: "dia_topshad.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: "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;
}
part { name: "elm.swallow.rectangle";
type: SWALLOW;
description { state: "default" 0.0;
}
}
part { name: "elm.swallow.background";
type: SWALLOW;
description { state: "default" 0.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;
description { state: "default" 0.0;
}
}
part { name: "elm.swallow.background";
type: SWALLOW;
description { state: "default" 0.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: "shadow2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 0.0 1.0;
rel1.offset: 0 -9;
image.normal: "dia_botshad.png";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
part { name: "shadow2";
mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: 0.0 1.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;
}
}
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";
images {
image: "check_base.png" COMP;
image: "check.png" COMP;
image: "check2.png" COMP;
}
parts {
part { name: "bg";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 1.0;
rel2.offset: 1 -2;
align: 0.0 0.5;
min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
image {
normal: "check_base.png";
border: 5 5 5 5;
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;
group { name: "elm/check/base/default";
images {
image: "check_base.png" COMP;
image: "check.png" COMP;
image: "check2.png" COMP;
}
parts {
part { name: "bg";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 1.0;
rel2.offset: 1 -2;
align: 0.0 0.5;
min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
image {
normal: "check_base.png";
border: 5 5 5 5;
middle: 0;
}
fill.smooth : 0;
}
}
programs {
program { name: "click";
signal: "mouse,up,1";
source: "events";
action: SIGNAL_EMIT "elm,action,check,toggle" "";
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";
}
program { name: "check_on";
signal: "elm,state,check,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "check";
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
program { name: "check_off";
signal: "elm,state,check,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "check";
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 0;
color: 128 128 128 128;
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
}
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;
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
description { state: "visible" 0.0;
inherit: "default" 0.0;
fixed: 1 0;
visible: 1;
aspect: 1.0 1.0;
}
program { name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.swallow.content";
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disabler";
after: "disable_text";
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;
}
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);
}
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;
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
after: "enable_text";
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
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);
}
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 {
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 @@
////////////////////////////////////////////////////////////////////////////////
// colorselector
////////////////////////////////////////////////////////////////////////////////
group { name: "elm/colorselector/bg/default";
parts {
part { name: "elm.colorbar_0";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
min: 120 30;
rel1.relative: 0.0 0.00653594771;
rel2.relative: 1.0 0.254901961;
group { name: "elm/colorselector/bg/default";
parts {
part { name: "elm.colorbar_0";
type: SWALLOW;
mouse_events: 1;
description { state: "default" 0.0;
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;
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.bar";
type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.bar_bg";
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;
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.arrow";
type: RECT;
mouse_events: 1;
scale: 1;
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;
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;
mouse_events: 1;
description { state: "default" 0.0;
min: 120 30;
rel1.relative: 0.0 0.751633987;
rel2.relative: 1.0 1.0;
}
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";
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";
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;
}
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: "elm.bar";
type: SWALLOW;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "elm.bar_bg";
rel2.to: "elm.bar_bg";
}
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: "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: "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;
}
part { name: "elm.arrow";
type: RECT;
mouse_events: 1;
scale: 1;
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;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
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: "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;
}
}
part { name: "right_arrow";
mouse_events: 1;
description { state: "default" 0.0;
min: 16 16;
max: 16 16;
image.normal: "sp_bt_r.png";
}
}
}
group{ name: "elm/colorselector/image/colorbar_0";
images {
image: "color_picker_color.png" COMP;
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";
}
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";
}
}
}
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";
}
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";
parts {
part { name: "elm.swallow.shelf";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 0.5;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.swallow.shelf";
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.virtualkeypad";
}
}
part { name: "elm.swallow.virtualkeypad";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.panel";
}
}
part { name: "elm.swallow.panel";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel1.relative: 0.0 1.0;
}
}
}
}
group { name: "elm/conformant/base/default";
parts {
part { name: "elm.swallow.shelf";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.5 0.5;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.swallow.shelf";
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.virtualkeypad";
}
}
part { name: "elm.swallow.virtualkeypad";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 0.0 1.0;
rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.panel";
}
}
part { name: "elm.swallow.panel";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 0 1;
align: 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 @@
////////////////////////////////////////////////////////////////////////////////
// diskselector
////////////////////////////////////////////////////////////////////////////////
group { name: "elm/diskselector/base/default";
images {
image: "bar_shine.png" COMP;
}
group { name: "elm/diskselector/base/default";
images {
image: "bar_shine.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 255;
parts {
part { name: "bg";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
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";
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;
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;
}
}
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;
}
description { state: "show" 0.0;
inherit: "default" 0.0;
visible: 1;
}
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;
}
description { state: "default_small" 0.0;
inherit: "default" 0.0;
visible: 1;
text.size: 10;
}
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;
}
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;
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
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;
}
}
}
group { name: "elm/diskselector/item/default";
data {
item: "len_threshold" "14";
item: "display_item_num" "3";
item: "min_height" "-1";
item: "min_width" "-1";
programs {
program { name: "center_text";
signal: "elm,state,center";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
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;
}
}
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: "center_small_text";
signal: "elm,state,center_small";
source: "elm";
action: STATE_SET "default_small" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
programs {
program { name: "center_text";
signal: "elm,state,center";
source: "elm";
action: STATE_SET "show" 0.0;
target: "elm.text";
target: "elm.swallow.icon";
}
program { name: "center_small_text";
signal: "elm,state,center_small";
source: "elm";
action: STATE_SET "default_small" 0.0;
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";
}
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";
images.image: "arrow_right.png" COMP;
parts {
part { name: "icon";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "arrow_right.png";
max: 64 64;
aspect: 1.0 1.0;
group { name: "elm/entry/path/separator/default";
images.image: "arrow_right.png" COMP;
parts {
part { name: "icon";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "arrow_right.png";
max: 64 64;
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";
data {
item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
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;
}
}
}
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_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;
}
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_STR "50"
group { name: "elm/flipselector/base/default";
images {
image: "flip_base.png" COMP;
image: "flip_base_shad.png" COMP;
image: "flip_shad.png" COMP;
image: "arrow_up.png" COMP;
image: "arrow_down.png" COMP;
image: "flip_t.png" COMP;
image: "flip_b.png" COMP;
}
group { name: "elm/flipselector/base/default";
images {
image: "flip_base.png" COMP;
image: "flip_base_shad.png" COMP;
image: "flip_shad.png" COMP;
image: "arrow_up.png" COMP;
image: "arrow_down.png" COMP;
image: "flip_t.png" COMP;
image: "flip_b.png" COMP;
}
data {
item: "max_len" FLIP_PICKER_MAX_LEN_STR;
}
data {
item: "max_len" FLIP_PICKER_MAX_LEN_STR;
}
//FIXME: quick successive clicks on, say, up, lead to nastiness
script {
public cur, prev, next, lock;
//FIXME: quick successive clicks on, say, up, lead to nastiness
script {
public cur, prev, next, lock;
public animator_bottom_down(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
public animator_bottom_down(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
0.0);
set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
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",
0.0);
set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
0.0);
if (pos >= 1.0) {
set_state(PART:"shadow", "default", 0.0);
set_int(lock, 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, 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);
fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
replace_str(next, 0, "");
message(MSG_STRING, 1, tmp);
}
}
}
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;
}
}
}
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);
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";
}
}
if (pos >= 1.0)
anim(0.2, "animator_bottom_down", val);
}
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;
}
}
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);
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;
}
}
if (pos >= 1.0)
anim(0.2, "animator_top_up", val);
}
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";
}
}
public animator_top_up(val, Float:pos) {
new tmp[FLIP_PICKER_MAX_LEN];
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;
}
}
}
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);
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;
}
}
if (pos >= 1.0) {
set_state(PART:"shadow", "default", 0.0);
set_int(lock, 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;
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);
}
}
}
programs {
program { name: "load";
signal: "load";
source: "";
script {
append_str(cur, "");
append_str(prev, "");
append_str(next, "");
set_int(lock, 0);
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);
}
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";
}
/* flip up */
if ((type == MSG_STRING) && (id == 2)) {
new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
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";
}
snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
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" "";
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 {
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";
images {
image: "frame_1.png" COMP;
image: "frame_2.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;
}
}
}
group { name: "elm/frame/base/default";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
}
group { name: "elm/frame/base/pad_small";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 4 4;
max: 4 4;
align: 0.0 0.0;
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: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 4 4;
max: 4 4;
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;
}
}
}
}
}
}
}
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;
}
}
}
}
group { name: "elm/frame/base/pad_medium";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 8 8;
max: 8 8;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 8 8;
max: 8 8;
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/pad_small";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 4 4;
max: 4 4;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 4 4;
max: 4 4;
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/pad_large";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 16 16;
max: 16 16;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 16 16;
max: 16 16;
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/pad_medium";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 8 8;
max: 8 8;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 8 8;
max: 8 8;
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/pad_huge";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 32 32;
max: 32 32;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
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/pad_large";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 16 16;
max: 16 16;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 16 16;
max: 16 16;
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_top";
images {
image: "outdent-top.png" COMP;
}
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/pad_huge";
parts {
part { name: "b0";
mouse_events: 0;
type: RECT;
scale: 1;
description { state: "default" 0.0;
visible: 0;
min: 32 32;
max: 32 32;
align: 0.0 0.0;
}
}
part { name: "b1";
mouse_events: 0;
type: RECT;
scale: 1;
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";
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;
}
}
}
group { name: "elm/frame/base/outdent_top";
images {
image: "outdent-top.png" COMP;
}
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; \
image.normal: File; } } } }
group { name: "elm/icon/arrow_down/default";
alias: "elm/icon/toolbar/arrow_down/default";
alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
group { name: "elm/icon/arrow_down/default";
alias: "elm/icon/toolbar/arrow_down/default";
alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "icon_arrow_down.png"; } } } }
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("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_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("chat", "toolbar/chat", "icon_chat.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("edit", "toolbar/edit", "icon_edit.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("file", "toolbar/file", "icon_file.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("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_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("chat", "toolbar/chat", "icon_chat.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("edit", "toolbar/edit", "icon_edit.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("file", "toolbar/file", "icon_file.png", 32, 0);
///////////////////////////////////////////////////////////////////////////////
GROUP_ICON("menu/home", "icon_home.png", 24, 24);
GROUP_ICON("menu/close", "icon_close.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_down", "icon_arrow_down.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/chat", "icon_chat.png", 24, 24);
GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
GROUP_ICON("menu/folder", "icon_folder.png", 24, 24);
GROUP_ICON("menu/file", "icon_file.png", 24, 24);
GROUP_ICON("menu/home", "icon_home.png", 24, 24);
GROUP_ICON("menu/close", "icon_close.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_down", "icon_arrow_down.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/chat", "icon_chat.png", 24, 24);
GROUP_ICON("menu/clock", "icon_clock.png", 24, 24);
GROUP_ICON("menu/delete", "icon_delete.png", 24, 24);
GROUP_ICON("menu/edit", "icon_edit.png", 24, 24);
GROUP_ICON("menu/refresh", "icon_refresh.png", 24, 24);
GROUP_ICON("menu/folder", "icon_folder.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/info", "mp_info.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/play", "mp_play.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/stop", "mp_stop.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/next", "mp_next.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/prev", "mp_prev.png", 16, 0);
GROUP_ICON("media_player/rewind", "mp_rewind.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";
images {
image: "bt_base1.png" COMP;
image: "bt_base2.png" COMP;
image: "bt_hilight.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";
}
}
group { name: "elm/index/base/vertical/default";
images {
image: "bt_base1.png" COMP;
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
}
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";
}
}
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;
}
}
}
}
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";
}
}
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";
}
}
}
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
group { name: "elm/label/base/default";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
styles {
style { name: "textblock_style";
base: "font=Sans font_size=10 color=#000 text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
}
}
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
}
group { name: "elm/label/base/default";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
styles {
style { name: "textblock_style";
base: "font=Sans font_size=10 color=#000 text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
}
}
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;
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;
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;
text {
style: "textblock_style";
min: 0 1;
}
}
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;
text {
style: "textblock_style";
min: 0 1;
}
}
}
}
}
group { name: "elm/label/base/marker";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
styles {
style { name: "textblock_style2";
base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ color=#ffff";
tag: "b" "+ color=#ffff";
tag: "tab" "\t";
group { name: "elm/label/base/marker";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
styles {
style { name: "textblock_style2";
base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ color=#ffff";
tag: "b" "+ color=#ffff";
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: "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"; }
}
}
part { name: "elm.text";
type: TEXTBLOCK;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
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";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
group { name: "elm/label/base/slide_long";
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;
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: 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;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
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);
duration = getfarg(2);
set_float(g_duration, duration);
}
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);
}
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;
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);
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;
}
}
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);
}
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();
}
}
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);
}
}
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);
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);
parts {
part { name: "label.swallow.background";
type: SWALLOW;
description { state: "default" 0.0;
visible: 1;
}
}
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;
}
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"; }
}
}
programs {
program { name: "start_slide";
source: "elm";
signal: "elm,state,slide,start";
script
{
start_slide();
}
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;
}
}
program { name: "stop_slide";
source: "elm";
signal: "elm,state,slide,stop";
script
{
stop_slide();
}
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();
}
}
}
}

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";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
group { name:"elm/naviframe/base/default";
images {
image: "frame_1.png" COMP;
image: "frame_2.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: "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;
}
}
part { name: "base1";
type: IMAGE;
description { state: "default" 0.0;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
part { name: "base1";
type: IMAGE;
description { state: "default" 0.0;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 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;
}
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/naviframe/item/basic/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;
}
group { name:"elm/naviframe/item/basic/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: 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: 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;
max: 1 0;
align: 0.5 0.5;
}
color: 0 0 0 255;
max: 1 0;
align: 0.5 0.5;
}
}
part { name: "elm.text.subtitle";
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";
}
color: 0 0 0 255;
align: 0.5 0.5;
}
}
programs {
program {
name: "title_clicked";
signal: "mouse,clicked,1";
source: "base";
action: SIGNAL_EMIT "elm,action,clicked" "elm";
part { name: "elm.text.subtitle";
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 {
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";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
image: "head.png" COMP;
group { name: "elm/photo/base/default";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.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: "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;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
part { name: "base";
mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "frame_2.png";
border: 5 5 32 26;
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;
}
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";
images {
image: "shadow.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;
}
}
}
group { name: "elm/photo/base/shadow";
images {
image: "shadow.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;
}
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,493 +1,493 @@
group { name: "elm/photocam/base/default";
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: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.png" COMP;
image: "busy-9.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
color: 255 255 255 0;
}
}
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
part { name: "busy_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: "busy";
clip_to: "busy_clip";
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
min: 32 32;
aspect: 1.0 1.0;
align: 1.0 1.0;
aspect_preference: BOTH;
rel1 {
relative: 0.9 0.9;
offset: -9 -9;
}
rel2 {
relative: 0.9 0.9;
offset: -9 -9;
}
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";
}
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
}
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: -2 0;
}
rel2 {
relative: 1.0 0.0;
offset: -2 -1;
to_y: "sb_hbar";
}
}
}
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;
}
}
}
group { name: "elm/photocam/base/default";
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: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.png" COMP;
image: "busy-9.png" COMP;
}
parts {
part { name: "bg";
type: RECT;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
color: 255 255 255 0;
}
}
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "elm.swallow.content";
clip_to: "clipper";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
part { name: "busy_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: "busy";
clip_to: "busy_clip";
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
min: 32 32;
aspect: 1.0 1.0;
align: 1.0 1.0;
aspect_preference: BOTH;
rel1 {
relative: 0.9 0.9;
offset: -9 -9;
}
rel2 {
relative: 0.9 0.9;
offset: -9 -9;
}
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";
}
}
}
part { name: "conf_over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 0 0;
rel2.offset: -1 -1;
image {
normal: "shelf_inset.png";
border: 7 7 7 7;
middle: 0;
}
fill.smooth : 0;
}
}
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: -2 0;
}
rel2 {
relative: 1.0 0.0;
offset: -2 -1;
to_y: "sb_hbar";
}
}
}
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";
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_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: 0 -2;
}
rel2 {
relative: 0.0 1.0;
offset: -1 -2;
to_x: "sb_vbar";
}
}
}
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;
}
}
}
}
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";
part { name: "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_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: 0 -2;
}
rel2 {
relative: 0.0 1.0;
offset: -1 -2;
to_x: "sb_vbar";
}
}
}
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;
}
}
}
}
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 {
name: "elm/player/base/default";
min: 290 26;
group {
name: "elm/player/base/default";
min: 290 26;
parts {
part {
type: SWALLOW;
name: "media_player/slider";
parts {
part {
type: SWALLOW;
name: "media_player/slider";
description {
rel2 {
relative: 1.0 0.0;
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;
}
description {
rel2 {
relative: 1.0 0.0;
to_x: "media_player/forward";
}
}
}
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";
part {
type: SWALLOW;
name: "media_player/rewind";
action: STATE_SET "hidden" 0.0;
target: "media_player/play";
after: "play/1";
description {
rel1 {
to_y: "media_player/slider";
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;
target: "media_player/pause";
description {
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;
target: "media_player/pause";
after: "pause/1";
description {
rel1 {
to: "media_player/prev";
relative: 1.0 0.0;
}
rel2 {
to: "media_player/prev";
relative: 2.0 1.0;
}
}
program {
name: "pause/1";
description {
state: hidden 0.0;
inherit: default 0.0;
visible: 0;
}
}
part {
type: SWALLOW;
name: "media_player/pause";
action: STATE_SET "default" 0.0;
target: "media_player/play";
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 {
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";
images {
image: "radio_base.png" COMP;
image: "radio.png" COMP;
image: "radio2.png" COMP;
}
parts {
part { name: "bg";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 1.0;
rel2.offset: 1 -2;
align: 0.0 0.5;
min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
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;
}
group { name: "elm/radio/base/default";
images {
image: "radio_base.png" COMP;
image: "radio.png" COMP;
image: "radio2.png" COMP;
}
parts {
part { name: "bg";
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.relative: 0.0 1.0;
rel2.offset: 1 -2;
align: 0.0 0.5;
min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
image.normal: "radio_base.png";
}
}
programs {
program { name: "click";
signal: "mouse,up,1";
source: "events";
action: SIGNAL_EMIT "elm,action,radio,toggle" "";
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";
}
program { name: "radio_on";
signal: "elm,state,radio,on";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "radio";
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
program { name: "radio_off";
signal: "elm,state,radio,off";
source: "elm";
action: STATE_SET "default" 0.0;
target: "radio";
}
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;
}
program { name: "text_show";
signal: "elm,state,text,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.text";
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
aspect: 1.0 1.0;
}
program { name: "text_hide";
signal: "elm,state,text,hidden";
source: "elm";
action: STATE_SET "default" 0.0;
target: "elm.text";
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
program { name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
action: STATE_SET "visible" 0.0;
target: "elm.swallow.content";
description { state: "disabled_visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
visible: 1;
aspect: 1.0 1.0;
}
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);
}
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;
}
}
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disabler";
after: "enable_text";
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
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);
}
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 {
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/genlist/base/default";
alias: "elm/carousel/base/default";
alias: "elm/gengrid/base/default";
alias: "elm/scroller/base/map_bubble";
alias: "elm/genscroller/base/default";
alias: "elm/list/base/default";
alias: "elm/genlist/base/default";
alias: "elm/carousel/base/default";
alias: "elm/gengrid/base/default";
alias: "elm/scroller/base/map_bubble";
alias: "elm/genscroller/base/default";
data {
item: "focus_highlight" "on";
data {
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 {
public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
public timer0(val) {
part { name: "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_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;
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) {
v = get_int(sbalways_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) {
v = get_int(sbalways_h);
set_int(sbalways_h, 0);
v = get_int(sbvis_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;
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";
}
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";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
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);
}
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;
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);
}
}
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: "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";
}
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";
images {
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;
}
}
}
}
group { name: "elm/separator/horizontal/default";
images {
image: "separator_h.png" COMP;
}
///////////////////////////////////////////////////////////////////////////////
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;
}
}
}
}
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;
}
}
}
}
}
///////////////////////////////////////////////////////////////////////////////
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";
data {
item: transitions "fade black_fade horizontal vertical square";
item: layouts "fullscreen not_fullscreen";
}
parts {
part { name: "whole";
type: RECT;
description {
state: "default" 0.0;
visible: 1;
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;
}
group { name: "elm/slideshow/base/default";
data {
item: transitions "fade black_fade horizontal vertical square";
item: layouts "fullscreen not_fullscreen";
}
parts {
part { name: "whole";
type: RECT;
description {
state: "default" 0.0;
visible: 1;
color: 20 20 20 255;
}
}
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;
part { name: "image_1_whole";
type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
//
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";
description {
state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
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";
description {
state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
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";
description {
state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
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";
description {
state: "horizontal_next_init" 0.0;
inherit: "default" 0.0;
}
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";
description {
state: "horizontal_next" 0.0;
inherit: "default" 0.0;
rel1.relative: -1.0 0.0;
rel2.relative: 0.0 1.0;
}
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";
description {
state: "horizontal_prev_init" 0.0;
inherit: "default" 0.0;
}
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";
description {
state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 1.0 0.0;
rel2.relative: 2.0 1.0;
}
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";
description {
state: "vertical_next_init" 0.0;
inherit: "default" 0.0;
}
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";
description {
state: "vertical_next" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -1.0;
rel2.relative: 1.0 0.0;
}
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";
description {
state: "vertical_prev_init" 0.0;
inherit: "default" 0.0;
}
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";
description {
state: "vertical_prev" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 2.0;
}
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";
description {
state: "square_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
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";
}
part { name: "image_2_whole";
type: RECT;
description {
state: "default" 0.0;
visible: 1;
color: 255 255 255 0;
}
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";
description {
state: "fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
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";
description {
state: "black_fade_prev_next_init" 0.0;
inherit: "default" 0.0;
color: 0 0 0 0;
}
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";
description {
state: "black_fade_prev_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
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";
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;
}
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";
description {
state: "horizontal_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
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";
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;
}
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";
description {
state: "horizontal_prev" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
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";
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;
}
program { name: "end";
action: SIGNAL_EMIT "end" "slideshow";
description {
state: "vertical_next" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
program { name: "end_signal";
signal: "anim,end";
source: "slideshow";
action: STATE_SET "default" 0.0;
target: "image_1_whole";
target: "image_2_whole";
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 {
//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";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
image: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.png" COMP;
image: "busy-9.png" COMP;
group { name: "elm/thumb/base/default";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
image: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.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: "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;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
part { name: "base";
mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
}
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: "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: "elm.swallow.content";
type: SWALLOW;
clip_to: "clip";
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
}
}
part { name: "progress";
mouse_events: 0;
}
part { name: "progress";
mouse_events: 0;
clip_to: "clip";
description { state: "default" 0.0;
min: 32 32;
max: 32 32;
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;
}
clip_to: "clip";
description { state: "default" 0.0;
min: 32 32;
max: 32 32;
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: "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: "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;
}
programs {
program { name: "start_pulse";
signal: "elm,state,pulse,start";
source: "elm";
action: STATE_SET "pulse" 0.0;
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";
}
}
programs {
program { name: "start_pulse";
signal: "elm,state,pulse,start";
source: "elm";
action: STATE_SET "pulse" 0.0;
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";
}
}
}
}
group { name: "elm/thumb/base/noframe";
images {
image: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.png" COMP;
image: "busy-9.png" COMP;
group { name: "elm/thumb/base/noframe";
images {
image: "busy-1.png" COMP;
image: "busy-2.png" COMP;
image: "busy-3.png" COMP;
image: "busy-4.png" COMP;
image: "busy-5.png" COMP;
image: "busy-6.png" COMP;
image: "busy-7.png" COMP;
image: "busy-8.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: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
part { name: "progress";
mouse_events: 0;
description { state: "default" 0.0;
min: 32 32;
max: 32 32;
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;
description { state: "default" 0.0;
min: 32 32;
max: 32 32;
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;
}
}
}
programs {
program { name: "start_pulse";
signal: "elm,state,pulse,start";
source: "elm";
action: STATE_SET "pulse" 0.0;
target: "progress";
transition: LINEAR 0.5;
after: "start_pulse";
}
programs {
program { name: "start_pulse";
signal: "elm,state,pulse,start";
source: "elm";
action: STATE_SET "pulse" 0.0;
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";
}
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";
images {
image: "shelf_inset.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_hilightw.png" COMP;
image: "tog_base_on.png" COMP;
image: "tog_base_off.png" COMP;
image: "tog_dis_base_on.png" COMP;
image: "tog_dis_base_off.png" COMP;
group { name: "elm/toggle/base/default";
images {
image: "shelf_inset.png" COMP;
image: "bt_basew.png" COMP;
image: "bt_bases.png" COMP;
image: "bt_hilightw.png" COMP;
image: "tog_base_on.png" COMP;
image: "tog_base_off.png" COMP;
image: "tog_dis_base_on.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 {
public is_rtl;
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 255 255 255 255;
}
}
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;
part { name: "button";
type: RECT;
scale: 1;
clip_to: "clipper";
mouse_events: 1;
dragable {
x: 1 1 0;
y: 0 0 0;
confine: "bg";
}
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bg";
rel2.to: "bg";
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";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
color: 255 255 255 255;
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
}
part { name: "elm.ontext";
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";
type: RECT;
scale: 1;
clip_to: "clipper";
mouse_events: 1;
dragable {
x: 1 1 0;
y: 0 0 0;
confine: "bg";
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;
}
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "bg";
rel2.to: "bg";
min: 16 16;
max: 16 16;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
color: 0 0 0 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: "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: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
visible: 0;
align: 0.0 0.5;
rel1.offset: 4 4;
rel2.relative: 0.0 1.0;
rel2.offset: 3 -5;
}
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";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
aspect: 1.0 1.0;
rel2.offset: 4 -5;
}
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";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 128 128 128 128;
}
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";
}
}
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.ontext";
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";
}
}
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;
}
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: 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;
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";
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: 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;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
text.min: 1 1;
}
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;
}
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;
}
}
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", "");
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
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);
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
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";
styles {
style { name: "tooltip_style";
base: "font=Sans font_size=8 color=#666 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
tag: "tab" "\t";
group { name: "elm/label/base/tooltip";
styles {
style { name: "tooltip_style";
base: "font=Sans font_size=8 color=#666 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font_weight=Bold";
tag: "b" "+ font_weight=Bold";
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;
scale: 1;
description { state: "default" 0.0;
text {
style: "tooltip_style";
min: 1 1;
}
}
group { name: "elm/tooltip/base/default";
min: 30 30;
data {
item: "pad_x" "20";
item: "pad_y" "20";
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";
min: 30 30;
data {
item: "pad_x" "20";
item: "pad_y" "20";
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);
}
#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
show_corner_top_left() {
set_state(PART:"corner-top-left", "visible", 0.0);
#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
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);
#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
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();
}
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";
}
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;
}
}
#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; }
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; }
}
}
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -1,64 +1,64 @@
group {
name: "elm/video/base/default";
group {
name: "elm/video/base/default";
parts {
part {
name: "clipper";
type: RECT;
parts {
part {
name: "clipper";
type: RECT;
description {
color: 255 255 255 255;
}
description {
state: "darker" 0.0;
color: 128 128 128 255;
}
description {
color: 255 255 255 255;
}
part {
name: "elm.swallow.video";
type: SWALLOW;
clip_to: "clipper";
mouse_events: 1;
repeat_events: 1;
description {
aspect_preference: BOTH;
aspect: 1 1;
}
description {
state: "darker" 0.0;
color: 128 128 128 255;
}
}
part {
name: "elm.swallow.video";
type: SWALLOW;
programs {
program {
signal: "elm,video,load";
source: "elm";
clip_to: "clipper";
mouse_events: 1;
repeat_events: 1;
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";
description {
aspect_preference: BOTH;
aspect: 1 1;
}
}
}
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";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
group { name: "elm/win/inwin/default";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.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: "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;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
image.middle: SOLID;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
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;
}
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;
}
}
}
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";
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 {
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";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
group { name: "elm/win/inwin/minimal";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.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: "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;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
image.middle: SOLID;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
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;
}
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;
}
}
}
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";
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 {
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";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
group { name: "elm/win/inwin/minimal_vertical";
images {
image: "shad_circ.png" COMP;
image: "bt_dis_base.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: "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;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "shad";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "shad_circ.png";
rel1.to: "elm.swallow.content";
rel1.offset: -64 -64;
rel2.to: "elm.swallow.content";
rel2.offset: 63 63;
fill.smooth: 0;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
image.middle: SOLID;
}
part { name: "pop";
mouse_events: 1;
description { state: "default" 0.0;
rel1.to: "elm.swallow.content";
rel1.offset: -5 -5;
rel2.to: "elm.swallow.content";
rel2.offset: 4 4;
image {
normal: "bt_dis_base.png";
border: 4 4 4 4;
}
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;
}
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;
}
}
}
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";
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 {
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";
}
}
}
///////////////////////////////////////////////////////////////////////////////