use btn image not text for press events

SVN revision: 70583
This commit is contained in:
Carsten Haitzler 2012-05-01 13:48:51 +00:00
parent 50c68a2e5b
commit 4417a9478b
1 changed files with 4 additions and 4 deletions

View File

@ -30282,8 +30282,8 @@ collections {
} }
part { name: "e.text.label"; type: TEXT; part { name: "e.text.label"; type: TEXT;
effect: SHADOW BOTTOM; effect: SHADOW BOTTOM;
mouse_events: 1;
scale: 1; scale: 1;
mouse_events: 0;
description { state: "default" 0.0; description { state: "default" 0.0;
min: 64 32; min: 64 32;
align: 0.5 1.0; align: 0.5 1.0;
@ -30346,19 +30346,19 @@ collections {
} }
program { name: "button_click"; program { name: "button_click";
signal: "mouse,down,1"; signal: "mouse,down,1";
source: "e.text.label"; source: "button";
action: STATE_SET "clicked" 0.0; action: STATE_SET "clicked" 0.0;
target: "button"; target: "button";
} }
program { name: "button_unclick"; program { name: "button_unclick";
signal: "mouse,up,1"; signal: "mouse,up,1";
source: "e.text.label"; source: "button";
action: STATE_SET "default" 0.0; action: STATE_SET "default" 0.0;
target: "button"; target: "button";
} }
program { name: "button_unclick2"; program { name: "button_unclick2";
signal: "mouse,clicked,1"; signal: "mouse,clicked,1";
source: "e.text.label"; source: "button";
action: SIGNAL_EMIT "e,action,next" ""; action: SIGNAL_EMIT "e,action,next" "";
} }
program { name: "button_enable"; program { name: "button_enable";