and spice up bell gfx a bit. it *IS* meant to get your attention. it

IS a bell... fixes sizing too.



SVN revision: 72719
This commit is contained in:
Carsten Haitzler 2012-06-23 16:23:25 +00:00
parent 2a2048d40f
commit 4af32a0d16
5 changed files with 86 additions and 6 deletions

View File

@ -6,7 +6,9 @@ collections {
image: "bg_shine.png" COMP;
image: "bg_glint.png" COMP;
image: "bg_shadow.png" COMP;
image: "bg_led_base.png" COMP;
image: "bg_led.png" COMP;
image: "bg_led_strobe.png" COMP;
}
parts {
part { name: "shadow";
@ -109,15 +111,32 @@ collections {
aspect_preference: HORIZONTAL;
}
}
part { name: "bell";
part { name: "bell_base";
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
color: 255 255 255 0;
min: 32 32;
max: 32 32;
rel2.offset: -5 -5;
rel2.offset: -1 -1;
align: 1.0 1.0;
image.normal: "bg_led_base.png";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "bell";
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
color: 255 255 255 0;
rel1.to: "bell_base";
rel2.to: "bell_base";
image.normal: "bg_led.png";
}
description { state: "visible" 0.0;
@ -126,6 +145,34 @@ collections {
color: 255 255 255 255;
}
}
part { name: "bell_strobe";
mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
color: 255 255 255 0;
rel1.to: "bell";
rel2.to: "bell";
image.normal: "bg_led_strobe.png";
map {
on: 1;
smooth: 1;
rotation.center: "bell";
}
}
description { state: "spin" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
map.rotation.z: 36.0;
}
description { state: "spin_done" 0.0;
inherit: "default" 0.0;
visible: 0;
color: 255 255 255 0;
map.rotation.z: 684.0;
}
}
part { name: "terminology.options"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
@ -187,17 +234,48 @@ collections {
target: "shadow";
target: "fade";
}
program { name: "bell";
program { name: "bell0";
signal: "bell";
source: "terminology";
action: STATE_SET "visible" 0.0;
action: STATE_SET "default" 0.0;
target: "bell_base";
target: "bell";
target: "bell_strobe";
after: "bell";
}
program { name: "bell";
action: STATE_SET "visible" 0.0;
target: "bell_base";
after: "bell2";
}
program { name: "bell2";
action: STATE_SET "default" 0.0;
transition: BOUNCE 1.0 1.0 3.0;
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.1;
target: "bell";
after: "bell3";
}
program { name: "bell3";
action: STATE_SET "spin" 0.0;
transition: LINEAR 0.1;
target: "bell_strobe";
after: "bell4.0";
after: "bell4.1";
after: "bell4.2";
}
program { name: "bell4.0";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 1.2;
target: "bell";
}
program { name: "bell4.1";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 1.6;
target: "bell_base";
}
program { name: "bell4.2";
action: STATE_SET "spin_done" 0.0;
transition: LINEAR 0.9;
target: "bell_strobe";
}
// program { name: "focus_in";
// signal: "focus,in";

View File

@ -4,6 +4,8 @@ bg_bevel.png \
bg_shine.png \
bg_glint.png \
bg_led.png \
bg_led_base.png \
bg_led_strobe.png \
bg_shadow.png \
cr_fill.png \
cr_key.png \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 529 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB