forked from enlightenment/enlightenment
Orientation support in the theme also.
SVN revision: 32524
This commit is contained in:
parent
96d567024e
commit
b61867b266
|
@ -45,6 +45,41 @@ group
|
||||||
to: "base";
|
to: "base";
|
||||||
}
|
}
|
||||||
image.normal: "e17_menu_bg.png";
|
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
|
part
|
||||||
|
@ -70,7 +105,69 @@ group
|
||||||
description
|
description
|
||||||
{
|
{
|
||||||
state: "default" 0.0;
|
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";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue