add a glow image to buttons so u really know they were pressed.

SVN revision: 37651
This commit is contained in:
Carsten Haitzler 2008-11-15 05:14:28 +00:00
parent 224d32e1ae
commit 70361c5675
4 changed files with 168 additions and 0 deletions

View File

@ -16756,6 +16756,7 @@ group { name: "e/toolbar/default/base";
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
}
@ -16904,6 +16905,22 @@ group { name: "e/toolbar/default/base";
visible: 0;
}
}
part { name: "over3";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "disabler";
type: RECT;
description { state: "default" 0.0;
@ -16923,6 +16940,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick";
@ -16930,6 +16948,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick2";
@ -20801,6 +20820,7 @@ group { name: "e/toolbar/default/base";
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
}
@ -20967,6 +20987,24 @@ group { name: "e/toolbar/default/base";
visible: 0;
}
}
part { name: "over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "block";
mouse_events: 1;
description { state: "default" 0.0;
@ -20987,12 +21025,14 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "over3";
}
program { name: "button_unclick";
signal: "mouse,up,1";
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "over3";
}
program { name: "button_unclick2";
signal: "mouse,clicked,1";
@ -21037,6 +21077,7 @@ group { name: "e/toolbar/default/base";
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
}
// data.item: "borderless" "1";
// data.item: "shaped" "1";
@ -21387,6 +21428,24 @@ group { name: "e/toolbar/default/base";
}
}
}
part { name: "over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
}
programs {
program { name: "showa";
@ -21423,6 +21482,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick";
@ -21430,6 +21490,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick2";
@ -21451,6 +21512,7 @@ group { name: "e/toolbar/default/base";
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
}
styles {
style { name: "theme_about_style";
@ -21590,6 +21652,24 @@ group { name: "e/toolbar/default/base";
}
}
}
part { name: "over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "button_image";
rel2.to: "button_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
}
programs {
program {
@ -21598,6 +21678,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick";
@ -21605,6 +21686,7 @@ group { name: "e/toolbar/default/base";
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "over3";
}
program {
name: "button_unclick2";

View File

@ -379,6 +379,7 @@ collections {
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
image: "bt_dis_base.png" COMP;
image: "bt_dis_hilight.png" COMP;
image: "illume-apps.png" COMP;
@ -469,6 +470,24 @@ collections {
visible: 0;
}
}
part { name: "apps_over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "apps_image";
rel2.to: "apps_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "apps";
type: RECT;
description { state: "default" 0.0;
@ -556,6 +575,24 @@ collections {
visible: 0;
}
}
part { name: "home_over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "home_image";
rel2.to: "home_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "home";
type: RECT;
description { state: "default" 0.0;
@ -643,6 +680,24 @@ collections {
visible: 0;
}
}
part { name: "close_over3";
mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "close_image";
rel2.to: "close_image";
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "close";
type: RECT;
description { state: "default" 0.0;
@ -665,12 +720,14 @@ collections {
source: "apps";
action: STATE_SET "clicked" 0.0;
target: "apps_image";
target: "apps_over3";
}
program { name: "appsup";
signal: "mouse,up,1";
source: "apps";
action: STATE_SET "default" 0.0;
target: "apps_image";
target: "apps_over3";
after: "apps";
}
program { name: "apps";
@ -702,12 +759,14 @@ collections {
source: "home";
action: STATE_SET "clicked" 0.0;
target: "home_image";
target: "home_over3";
}
program { name: "homeup";
signal: "mouse,up,1";
source: "home";
action: STATE_SET "default" 0.0;
target: "home_image";
target: "home_over3";
after: "home";
}
program { name: "home";
@ -739,12 +798,14 @@ collections {
source: "close";
action: STATE_SET "clicked" 0.0;
target: "close_image";
target: "close_over3";
}
program { name: "closeup";
signal: "mouse,up,1";
source: "close";
action: STATE_SET "default" 0.0;
target: "close_image";
target: "close_over3";
after: "close";
}
program { name: "close";
@ -1374,6 +1435,7 @@ collections {
image: "bt_base2.png" COMP;
image: "bt_hilight.png" COMP;
image: "bt_shine.png" COMP;
image: "bt_glow.png" COMP;
}
parts {
part { name: "button_image";
@ -1459,6 +1521,22 @@ collections {
visible: 0;
}
}
part { name: "over3";
mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
image {
normal: "bt_glow.png";
border: 12 12 12 12;
}
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
}
programs {
program { name: "select";
@ -1485,8 +1563,15 @@ collections {
source: "button_image";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "over3";
target: "e.text.label";
}
program { name: "select4";
signal: "mouse,down,1";
source: "button_image";
action: STATE_SET "clicked" 0.0;
target: "over3";
}
}
}

View File

@ -44,6 +44,7 @@ bt_dis_hilight.png \
bt_dis_shine.png \
bt_hilight.png \
bt_hilightw.png \
bt_glow.png \
bt_shine.png \
bt_sm_base1.png \
bt_sm_base2.png \

Binary file not shown.

After

Width:  |  Height:  |  Size: 734 B