Orientation support in the theme also.

SVN revision: 32524
This commit is contained in:
Christopher Michael 2007-11-09 20:59:05 +00:00
parent 96d567024e
commit b61867b266
1 changed files with 97 additions and 0 deletions

View File

@ -45,6 +45,41 @@ group
to: "base";
}
image.normal: "e17_menu_bg.png";
fill
{
origin.offset: 0 -6;
size.offset: 0 6;
}
}
description
{
state: "bottom" 0.0;
inherit: "default" 0.0;
fill
{
origin.offset: 0 0;
size.offset: 0 6;
}
}
description
{
state: "left" 0.0;
inherit: "default" 0.0;
fill
{
origin.offset: -6 -16;
size.offset: 6 16;
}
}
description
{
state: "right" 0.0;
inherit: "default" 0.0;
fill
{
origin.offset: 0 0;
size.offset: 6 0;
}
}
}
part
@ -70,7 +105,69 @@ group
description
{
state: "default" 0.0;
rel1.offset: 18 2;
rel2.offset: -19 -3;
}
description
{
state: "bottom" 0.0;
inherit: "default" 0.0;
rel1.offset: 18 2;
rel2.offset: -19 -3;
}
description
{
state: "left" 0.0;
inherit: "default" 0.0;
rel1.offset: 2 18;
rel2.offset: -3 -19;
}
description
{
state: "right" 0.0;
inherit: "default" 0.0;
rel1.offset: 2 18;
rel2.offset: -3 -19;
}
}
}
programs
{
program
{
name: "orient1";
signal: "e,state,orientation,top";
source: "e";
action: STATE_SET "default" 0.0;
target: "bg";
target: "e.swallow.content";
}
program
{
name: "orient2";
signal: "e,state,orientation,bottom";
source: "e";
action: STATE_SET "bottom" 0.0;
target: "bg";
target: "e.swallow.content";
}
program
{
name: "orient3";
signal: "e,state,orientation,left";
source: "e";
action: STATE_SET "left" 0.0;
target: "bg";
target: "e.swallow.content";
}
program
{
name: "orient4";
signal: "e,state,orientation,right";
source: "e";
action: STATE_SET "right" 0.0;
target: "bg";
target: "e.swallow.content";
}
}
}