rage - make music only mode display a nice speaker from mixer module

nice aesthetic change
This commit is contained in:
Carsten Haitzler 2014-08-04 17:34:45 +09:00
parent 706e4948d7
commit 7cc3f1c5a0
6 changed files with 69 additions and 5 deletions

View File

@ -39,6 +39,11 @@ collections {
images.image: "bg_shine.png" COMP;
images.image: "bg_glint.png" COMP;
images.image: "speaker.png" COMP;
images.image: "inset_round_hilight.png" COMP;
images.image: "inset_round_shadow.png" COMP;
images.image: "inset_round_shading.png" COMP;
set { name: "pos_indicator";
image { image: "pos_indicator_big.png" COMP; size: 32 28 99999 99999; }
image { image: "pos_indicator.png" COMP; size: 0 0 31 27; }
@ -160,6 +165,25 @@ collections {
visible: 0;
}
}
part { name: "base_bevel";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "play" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "exclam"; mouse_events: 0;
scale: 1;
clip_to: "novid_clip";
@ -188,6 +212,7 @@ collections {
action: STATE_SET "default" 0.0;
target: "exclam";
target: "base";
target: "base_bevel";
after: "newvid2";
}
program { name: "newvid2";
@ -196,12 +221,14 @@ collections {
transition: SINUSOIDAL 1.0;
target: "exclam";
target: "base";
target: "base_bevel";
}
program {
signal: "action,frame"; source: "rage";
action: STATE_SET "play" 0.0;
target: "exclam";
target: "base";
target: "base_bevel";
}
part { name: "novid_clip"; type: RECT;
@ -220,15 +247,50 @@ collections {
color: 32 32 32 255;
}
}
part { name: "novid_base_bevel";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid_base";
rel2.to: "novid_base";
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "base-sh";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid";
rel1.offset: 0 -1;
rel2.to: "novid";
rel2.offset: -1 -2;
image.normal: "inset_round_shadow.png";
}
}
part { name: "base-hi";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid";
rel1.offset: 0 1;
rel2.to: "novid";
rel2.offset: -1 0;
image.normal: "inset_round_hilight.png";
}
}
part { name: "novid"; mouse_events: 0;
scale: 1;
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.1 0.1;
rel1.offset: 4 4;
rel2.to: "base";
rel2.relative: 0.9 0.9;
rel2.offset: -5 -5;
fixed: 1 1;
image.normal: "icon_volume.png";
max: 24 24;
image.normal: "speaker.png";
max: 160 160;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}

View File

@ -45,6 +45,8 @@ icon_close2.png \
icon_fullscreen.png \
icon_fullscreen2.png \
icon_unfullscreen.png \
icon_unfullscreen2.png
icon_unfullscreen2.png \
inset_round_hilight.png \
inset_round_shading.png \
inset_round_shadow.png \
speaker.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB