Add start of theme objects for window, channel, and background
Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
c2b0963fa1
commit
68082e9431
|
@ -15,7 +15,7 @@ collections
|
|||
{
|
||||
part
|
||||
{
|
||||
name: "express.content";
|
||||
name: "base.content";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
|
@ -24,4 +24,180 @@ collections
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
group
|
||||
{
|
||||
name: "express/channel";
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "fade";
|
||||
type: RECT;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "translucent" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 128;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "channel.background";
|
||||
type: SWALLOW;
|
||||
clip_to: "fade";
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "channel.content";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
rel1.offset: 1 1;
|
||||
rel2.offset: -2 -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
signal: "translucent,on";
|
||||
source: "express";
|
||||
action: STATE_SET "translucent" 0.0;
|
||||
target: "fade";
|
||||
}
|
||||
program
|
||||
{
|
||||
signal: "translucent,off";
|
||||
source: "express";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "fade";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group
|
||||
{
|
||||
name: "express/background";
|
||||
images
|
||||
{
|
||||
image: "bg_bevel.png" COMP;
|
||||
image: "bg_shine.png" COMP;
|
||||
image: "bg_glint.png" COMP;
|
||||
image: "bg_glow_in.png" COMP;
|
||||
image: "bg_led_glow.png" COMP;
|
||||
image: "bg_led_base.png" COMP;
|
||||
image: "bg_led.png" COMP;
|
||||
image: "bg_led_strobe.png" COMP;
|
||||
image: "pm_shadow.png" COMP;
|
||||
image: "pm_overlay.png" COMP;
|
||||
image: "pm_fill.png" COMP;
|
||||
image: "cr_glow.png" COMP;
|
||||
}
|
||||
set
|
||||
{
|
||||
name: "bg_shadow";
|
||||
image
|
||||
{
|
||||
image: "bg_shadow.png" COMP;
|
||||
size: 0 0 200 150;
|
||||
}
|
||||
image
|
||||
{
|
||||
image: "bg_shadow2.png" COMP;
|
||||
size: 200 150 400 300;
|
||||
}
|
||||
image
|
||||
{
|
||||
image: "bg_shadow3.png" COMP;
|
||||
size: 400 300 99999 99999;
|
||||
}
|
||||
}
|
||||
sounds
|
||||
{
|
||||
sample
|
||||
{
|
||||
name: "bell" LOSSY 64;
|
||||
source: "bell.wav";
|
||||
}
|
||||
}
|
||||
parts
|
||||
{
|
||||
part
|
||||
{
|
||||
name: "shadow";
|
||||
type: IMAGE;
|
||||
mouse_events: 0;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
image.normal: "bg_shadow";
|
||||
fill.smooth: 0;
|
||||
visible: 0;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "translucent" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 1;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "base";
|
||||
type: RECT;
|
||||
mouse_events: 1;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
color: BG_COL;
|
||||
}
|
||||
description
|
||||
{
|
||||
state: "translucent" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part
|
||||
{
|
||||
name: "background.content";
|
||||
type: SWALLOW;
|
||||
description
|
||||
{
|
||||
state: "default" 0.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs
|
||||
{
|
||||
program
|
||||
{
|
||||
signal: "translucent,on";
|
||||
source: "express";
|
||||
action: STATE_SET "translucent" 0.0;
|
||||
target: "base";
|
||||
target: "shadow";
|
||||
}
|
||||
program
|
||||
{
|
||||
signal: "translucent,off";
|
||||
source: "express";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
target: "shadow";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue