Cleanup theme... remove unneeded parts and images... formatting

SVN revision: 49977
This commit is contained in:
titan 2010-07-01 21:22:10 +00:00 committed by titan
parent 1218856b51
commit 99c0647026
23 changed files with 296 additions and 379 deletions

View File

@ -7,123 +7,7 @@ collections
{ {
images images
{ {
image: "background.png" COMP;
image: "thumb_shadow.png" COMP; image: "thumb_shadow.png" COMP;
image: "move_right.png" COMP;
image: "move_left.png" COMP;
}
group
{
name: "/ephoto/window/background";
parts
{
part
{
name: "background";
type: IMAGE;
mouse_events: 0;
description
{
state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel1.offset: 0 0;
rel2.relative: 1.0 1.0;
rel2.offset: -1 -1;
image.normal: "background.png";
fill
{
smooth: 0;
}
}
}
part
{
name: "ephoto.move.left";
type: IMAGE;
mouse_events: 1;
description
{
state: "default" 0.0;
visible: 0;
min: 27 42;
max: 27 42;
rel1.relative: 0.0 0.5;
rel1.offset: 30 0;
rel2.relative: 0.0 0.5;
rel2.offset: -1 -1;
image.normal: "move_left.png";
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part
{
name: "ephoto.move.right";
type: IMAGE;
mouse_events: 1;
description
{
state: "default" 0.0;
visible: 0;
min: 27 42;
max: 27 42;
rel1.relative: 1.0 0.5;
rel1.offset: 0 0;
rel2.relative: 1.0 0.5;
rel2.offset: -30 -1;
image.normal: "move_right.png";
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
}
programs
{
program
{
name: "show_left";
signal: "ephoto.show.left";
source: "ephoto";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.3;
target: "ephoto.move.left";
}
program
{
name: "hide_left";
signal: "ephoto.hide.left";
source: "ephoto";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.3;
target: "ephoto.move.left";
}
program
{
name: "show_right";
signal: "ephoto.show.right";
source: "ephoto";
action: STATE_SET "visible" 0.0;
transition: LINEAR 0.3;
target: "ephoto.move.right";
}
program
{
name: "hide_right";
signal: "ephoto.hide.right";
source: "ephoto";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.3;
target: "ephoto.move.right";
}
}
} }
group group
{ {
@ -225,265 +109,301 @@ collections
} }
} }
} }
group
group { name: "elm/gengrid/item/default/ephoto"; {
data.item: "labels" "elm.text"; name: "elm/gengrid/item/default/ephoto";
data.item: "icons" "elm.swallow.icon elm.swallow.end"; data.item: "labels" "elm.text";
images { data.item: "icons" "elm.swallow.icon elm.swallow.end";
image: "bt_sm_base1.png" COMP; images
image: "bt_sm_shine.png" COMP; {
image: "bt_sm_hilight.png" COMP; image: "bt_sm_base1.png" COMP;
} image: "bt_sm_shine.png" COMP;
parts { image: "bt_sm_hilight.png" COMP;
part { }
name: "event"; parts
type: RECT; {
repeat_events: 1; part
description { {
state: "default" 0.0; name: "event";
color: 0 0 0 0; type: RECT;
} repeat_events: 1;
} description
part { {
name: "base_sh"; state: "default" 0.0;
mouse_events: 0; color: 0 0 0 0;
type: RECT; }
description { }
state: "default" 0.0; part
align: 0.0 0.0; {
min: 0 10; name: "bg";
fixed: 1 1; clip_to: "disclip";
rel1 { mouse_events: 0;
to: "base"; description
relative: 0.0 1.0; {
offset: 0 0; state: "default" 0.0;
} visible: 0;
rel2 { color: 255 255 255 0;
to: "base"; rel1
relative: 1.0 1.0; {
offset: -1 0; relative: 0.0 0.0;
} offset: -5 -5;
color: 255 255 255 0; }
} rel2
} {
part { relative: 1.0 1.0;
name: "base"; offset: 4 4;
mouse_events: 0; }
type: RECT; image
description { {
state: "default" 0.0; normal: "bt_sm_base1.png";
color: 255 255 255 0; border: 6 6 6 6;
} }
} image.middle: SOLID;
part { name: "bg"; }
clip_to: "disclip"; description
mouse_events: 0; {
description { state: "default" 0.0; state: "selected" 0.0;
visible: 0; inherit: "default" 0.0;
color: 255 255 255 0; visible: 1;
rel1 { color: 255 255 255 255;
relative: 0.0 0.0; rel1
offset: -5 -5; {
} relative: 0.0 0.0;
rel2 { offset: -2 -2;
relative: 1.0 1.0; }
offset: 4 4; rel2
} {
image { relative: 1.0 1.0;
normal: "bt_sm_base1.png"; offset: 1 1;
border: 6 6 6 6; }
} }
image.middle: SOLID; }
} part
description { state: "selected" 0.0; {
inherit: "default" 0.0; name: "elm.swallow.pad";
visible: 1; type: SWALLOW;
color: 255 255 255 255; description
rel1 { {
relative: 0.0 0.0; state: "default" 0.0;
offset: -2 -2; fixed: 1 0;
} align: 0.0 0.5;
rel2 { rel1
relative: 1.0 1.0; {
offset: 1 1; relative: 0.0 1.0;
} offset: 0 -10;
} }
} rel2
part { name: "elm.swallow.pad"; {
type: SWALLOW; to_y: "elm.text";
description { state: "default" 0.0; relative: 0.0 0.0;
fixed: 1 0; offset: -1 -1;
align: 0.0 0.5; }
rel1 { }
relative: 0.0 1.0; }
offset: 0 -10; part
} {
rel2 { name: "elm.swallow.icon";
to_y: "elm.text"; clip_to: "disclip";
relative: 0.0 0.0; type: SWALLOW;
offset: -1 -1; description
} {
} state: "default" 0.0;
} fixed: 1 0;
part { name: "elm.swallow.icon"; align: 0.5 0.5;
clip_to: "disclip"; rel1
type: SWALLOW; {
description { state: "default" 0.0; relative: 0.0 0.0;
fixed: 1 0; offset: -1 4;
align: 0.5 0.5; }
rel1 { rel2
relative: 0.0 0.0; {
offset: -1 4; to_y: "elm.swallow.pad";
} relative: 1.0 0.0;
rel2 { offset: -1 -5;
to_y: "elm.swallow.pad"; }
relative: 1.0 0.0; }
offset: -1 -5; }
} part
} {
} name: "elm.swallow.end";
part { name: "elm.swallow.end"; clip_to: "disclip";
clip_to: "disclip"; type: SWALLOW;
type: SWALLOW; description
description { state: "default" 0.0; {
fixed: 1 0; state: "default" 0.0;
align: 1.0 0.0; fixed: 1 0;
aspect: 1.0 1.0; align: 1.0 0.0;
aspect_preference: HORIZONTAL; aspect: 1.0 1.0;
rel1 { aspect_preference: HORIZONTAL;
relative: 1.0 0.0; rel1
offset: -5 -5; {
} relative: 1.0 0.0;
rel2 { offset: -5 -5;
relative: 1.0 1.0; }
offset: 5 5; rel2
} {
} relative: 1.0 1.0;
} offset: 5 5;
part { name: "elm.text"; }
clip_to: "disclip"; }
type: TEXT; }
effect: SOFT_SHADOW; part
mouse_events: 0; {
scale: 1; name: "elm.text";
description { clip_to: "disclip";
state: "default" 0.0; type: TEXT;
rel1 { effect: SOFT_SHADOW;
relative: 0.0 1.0; mouse_events: 0;
offset: 0 0; scale: 1;
} description
rel2 { {
relative: 1.0 1.0; state: "default" 0.0;
offset: -5 -5; rel1
} {
color: 0 0 0 255; relative: 0.0 1.0;
color3: 0 0 0 0; offset: 0 0;
text { }
font: "Sans"; rel2
size: 10; {
min: 0 1; relative: 1.0 1.0;
align: 0.5 0.0; offset: -5 -5;
} }
} color: 0 0 0 255;
description { state: "selected" 0.0; color3: 0 0 0 0;
inherit: "default" 0.0; text
color: 224 224 224 255; {
color3: 0 0 0 64; font: "Sans";
} size: 10;
} min: 0 1;
part { name: "fg1"; align: 0.5 0.0;
clip_to: "disclip"; }
mouse_events: 0; }
description { state: "default" 0.0; description
visible: 0; {
color: 255 255 255 0; state: "selected" 0.0;
rel1.to: "bg"; inherit: "default" 0.0;
rel2.relative: 1.0 0.5; color: 224 224 224 255;
rel2.to: "bg"; color3: 0 0 0 64;
image { }
normal: "bt_sm_hilight.png"; }
border: 6 6 6 0; part
} {
} name: "fg1";
description { state: "selected" 0.0; clip_to: "disclip";
inherit: "default" 0.0; mouse_events: 0;
visible: 1; description
color: 255 255 255 255; {
} state: "default" 0.0;
} visible: 0;
part { name: "fg2"; color: 255 255 255 0;
clip_to: "disclip"; rel1.to: "bg";
mouse_events: 0; rel2.relative: 1.0 0.5;
description { state: "default" 0.0; rel2.to: "bg";
visible: 0; image
color: 255 255 255 0; {
rel1.to: "bg"; normal: "bt_sm_hilight.png";
rel2.to: "bg"; border: 6 6 6 0;
image { }
normal: "bt_sm_shine.png"; }
border: 6 6 6 0; description
} {
} state: "selected" 0.0;
description { state: "selected" 0.0; inherit: "default" 0.0;
inherit: "default" 0.0; visible: 1;
visible: 1; color: 255 255 255 255;
color: 255 255 255 255; }
} }
} part
part { name: "disclip"; {
type: RECT; name: "fg2";
description { state: "default" 0.0; clip_to: "disclip";
rel1.to: "bg"; mouse_events: 0;
rel2.to: "bg"; description
} {
description { state: "disabled" 0.0; state: "default" 0.0;
inherit: "default" 0.0; visible: 0;
color: 255 255 255 64; color: 255 255 255 0;
} rel1.to: "bg";
} rel2.to: "bg";
} image
programs { {
// signal: elm,state,%s,active normal: "bt_sm_shine.png";
// a "check" item named %s went active border: 6 6 6 0;
// signal: elm,state,%s,passive }
// a "check" item named %s went passive }
// default is passive description
program { {
name: "go_active"; state: "selected" 0.0;
signal: "elm,state,selected"; inherit: "default" 0.0;
source: "elm"; visible: 1;
action: STATE_SET "selected" 0.0; color: 255 255 255 255;
target: "bg"; }
target: "fg1"; }
target: "fg2"; part
target: "elm.text"; {
} name: "disclip";
program { type: RECT;
name: "go_passive"; description
signal: "elm,state,unselected"; {
source: "elm"; state: "default" 0.0;
action: STATE_SET "default" 0.0; rel1.to: "bg";
target: "bg"; rel2.to: "bg";
target: "fg1"; }
target: "fg2"; description
target: "elm.text"; {
transition: LINEAR 0.1; state: "disabled" 0.0;
} inherit: "default" 0.0;
program { color: 255 255 255 64;
name: "go_disabled"; }
signal: "elm,state,disabled"; }
source: "elm"; }
action: STATE_SET "disabled" 0.0; programs
target: "disclip"; {
} // signal: elm,state,%s,active
program { // a "check" item named %s went active
name: "go_enabled"; // signal: elm,state,%s,passive
signal: "elm,state,enabled"; // a "check" item named %s went passive
source: "elm"; // default is passive
action: STATE_SET "default" 0.0; program
target: "disclip"; {
} name: "go_active";
} signal: "elm,state,selected";
} source: "elm";
action: STATE_SET "selected" 0.0;
target: "bg";
target: "fg1";
target: "fg2";
target: "elm.text";
}
program
{
name: "go_passive";
signal: "elm,state,unselected";
source: "elm";
action: STATE_SET "default" 0.0;
target: "bg";
target: "fg1";
target: "fg2";
target: "elm.text";
transition: LINEAR 0.1;
}
program
{
name: "go_disabled";
signal: "elm,state,disabled";
source: "elm";
action: STATE_SET "disabled" 0.0;
target: "disclip";
}
program
{
name: "go_enabled";
signal: "elm,state,enabled";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disclip";
}
}
}
} }

View File

@ -1,10 +1,7 @@
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = \ EXTRA_DIST = \
background.png \
thumb_shadow.png \ thumb_shadow.png \
move_left.png \
move_right.png \
bt_sm_base1.png \ bt_sm_base1.png \
bt_sm_shine.png \ bt_sm_shine.png \
bt_sm_hilight.png bt_sm_hilight.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 325 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 477 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 893 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB