evisum/data/themes/evisum.edc

182 lines
4.6 KiB
Plaintext
Raw Normal View History

2021-03-12 07:08:36 -08:00
#define EVISUM_ICON(icon_code, minw, minh, maxw, maxh, a) \
images { \
image: icon_code".png" COMP; \
} \
group { \
name: "evisum/icons/"icon_code; \
min: minw minh; \
max: maxw maxh; \
parts { \
part { \
name: "icon"; \
description { \
state: "default" 0.0; \
aspect: a a; \
aspect_preference: BOTH; \
image { \
normal: icon_code".png"; \
} \
fill { \
smooth: 1; \
} \
} \
} \
} \
}
collections {
2021-03-28 03:04:40 -07:00
sounds
{
sample
{
name: "joke" COMP;
source: "badjoke.wav";
}
2021-03-28 03:35:36 -07:00
sample
{
name: "cockerel" COMP;
source: "cockerel.wav";
}
2021-03-28 03:04:40 -07:00
}
2021-03-12 07:08:36 -08:00
group
{
2021-03-12 13:09:08 -08:00
name: "cpu";
2021-03-12 07:08:36 -08:00
parts
{
part
{
name: "evisum/menu-clip";
type: RECT;
description
{
state: "default" 0.0;
2021-03-12 13:09:08 -08:00
align: 0.0 0.0;
2021-03-12 07:08:36 -08:00
visible: 0;
color: 255 255 255 0;
}
description
{
state: "visible" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part
{
name: "evisum/menu";
type: SWALLOW;
description
{
clip_to: "evisum/menu-clip";
2021-03-12 13:09:08 -08:00
max: 32 32;
2021-03-12 07:08:36 -08:00
state: "default" 0.0;
visible: 1;
}
description
{
clip_to: "evisum/menu-clip";
state: "visible" 0.0;
visible: 1;
}
}
2021-03-12 13:09:08 -08:00
}
programs
{
program
{
signal: "menu,show";
source: "evisum/menu";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5;
target: "evisum/menu-clip";
}
program
{
signal: "menu,hide";
source: "evisum/menu";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5;
target: "evisum/menu-clip";
}
}
}
group
{
name: "proc";
parts
{
2021-03-12 08:59:27 -08:00
part
{
name: "evisum/indicator-clip";
type: RECT;
description
{
state: "default" 0.0;
visible: 0;
2021-03-12 13:09:08 -08:00
min: 256 256;
2021-03-12 08:59:27 -08:00
color: 255 255 255 0;
}
description
{
inherit: "default";
state: "visible" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part
{
name: "evisum/indicator";
type: SWALLOW;
description
{
clip_to: "evisum/indicator-clip";
2021-03-12 13:09:08 -08:00
aspect: 1.0 1.0; aspect_preference: BOTH;
2021-03-12 08:59:27 -08:00
state: "default" 0.0;
visible: 1;
}
description
{
2021-03-12 13:09:08 -08:00
inherit: "default";
2021-03-12 08:59:27 -08:00
clip_to: "evisum/indicator-clip";
state: "visible" 0.0;
visible: 1;
}
}
2021-03-12 07:08:36 -08:00
}
programs
{
2021-03-12 08:59:27 -08:00
program
{
signal: "indicator,show";
source: "evisum/indicator";
action: STATE_SET "visible" 0.0;
target: "evisum/indicator-clip";
after: "indicator_hide";
}
program
{
name: "indicator_hide";
signal: "indicator,hide";
source: "evisum/indicator";
action: STATE_SET "default" 0.0;
2021-03-12 13:27:04 -08:00
transition: SINUSOIDAL 0.8;
2021-03-12 08:59:27 -08:00
target: "evisum/indicator-clip";
}
2021-03-28 03:04:40 -07:00
program
{
signal: "fields,change";
source: "evisum/indicator";
action: PLAY_SAMPLE "joke" 1.0 INPUT;
}
2021-03-28 03:35:36 -07:00
program
{
signal: "process,kill";
source: "evisum/indicator";
action: PLAY_SAMPLE "cockerel" 1.0 INPUT;
}
2021-03-12 07:08:36 -08:00
}
}
}