Add swallow area for options pages
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
74290e392d
commit
cb66ba9b2c
|
@ -31,6 +31,48 @@ collections
|
|||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "options_details";
|
||||
type: SWALLOW;
|
||||
scale: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
min: 40 40;
|
||||
align: 0.0 0.5;
|
||||
visible: 0;
|
||||
rel1
|
||||
{
|
||||
relative: 1.0 0.1;
|
||||
offset: 8 0;
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 1.0 0.9;
|
||||
offset: 8 -1;
|
||||
}
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "visible" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
align: 1.0 0.5;
|
||||
rel1
|
||||
{
|
||||
relative: 0.1 0.02;
|
||||
offset: 8 8;
|
||||
}
|
||||
rel2
|
||||
{
|
||||
relative: 0.0 0.98;
|
||||
offset: -9 -9;
|
||||
to_x: "options";
|
||||
}
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "options";
|
||||
|
@ -83,6 +125,28 @@ collections
|
|||
transition: DECELERATE 0.5;
|
||||
target: "options";
|
||||
}
|
||||
program
|
||||
{
|
||||
signal: "options,details,show";
|
||||
source: "express";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.4;
|
||||
target: "options_details";
|
||||
}
|
||||
program
|
||||
{
|
||||
signal: "options,details,hide";
|
||||
source: "express";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.2;
|
||||
target: "options_details";
|
||||
after: "option_details_hide2";
|
||||
}
|
||||
program
|
||||
{
|
||||
name: "option_details_hide2";
|
||||
action: SIGNAL_EMIT "options,details,hide,done" "express";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue