Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/data/themes
Modified Files:
default_wizard.edc
Log Message:
enable/disable back/next as needed. allow pages to do it too.
===================================================================
RCS file: /cvs/e/e17/apps/e/data/themes/default_wizard.edc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- default_wizard.edc 13 Sep 2007 13:56:35 -0000 1.7
+++ default_wizard.edc 16 Sep 2007 18:32:32 -0000 1.8
@@ -109,6 +109,7 @@
mouse_events: 1;
description {
state: "default" 0.0;
+ visible: 0;
align: 0.0 1.0;
rel1 {
to: "e.button.back.label";
@@ -126,8 +127,14 @@
}
}
description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
state: "clicked" 0.0;
inherit: "default" 0.0;
+ visible: 1;
image {
normal: "e17_wiz_b2.png";
}
@@ -140,6 +147,7 @@
mouse_events: 0;
description {
state: "default" 0.0;
+ visible: 0;
rel1 {
relative: 0.0 1.0;
offset: 16 -17;
@@ -161,8 +169,16 @@
}
}
description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ color3: 0 0 0 8;
+ }
+ description {
state: "clicked" 0.0;
inherit: "default" 0.0;
+ visible: 1;
color: 255 255 255 255;
color3: 0 0 0 8;
}
@@ -172,6 +188,7 @@
mouse_events: 1;
description {
state: "default" 0.0;
+ visible: 0;
align: 0.0 1.0;
rel1 {
to: "e.button.next.label";
@@ -189,8 +206,14 @@
}
}
description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
state: "clicked" 0.0;
inherit: "default" 0.0;
+ visible: 1;
image {
normal: "e17_wiz_b2.png";
}
@@ -203,6 +226,7 @@
mouse_events: 0;
description {
state: "default" 0.0;
+ visible: 0;
rel1 {
relative: 1.0 1.0;
offset: -17 -17;
@@ -224,8 +248,14 @@
}
}
description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description {
state: "clicked" 0.0;
inherit: "default" 0.0;
+ visible: 1;
color: 255 255 255 255;
color3: 0 0 0 8;
}
@@ -275,7 +305,7 @@
name: "b1_unclick";
signal: "mouse,up,1";
source: "b1";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "visible" 0.0;
target: "b1";
target: "e.button.back.label";
after: "b1";
@@ -292,7 +322,7 @@
name: "b2_unclick";
signal: "mouse,up,1";
source: "b2";
- action: STATE_SET "default" 0.0;
+ action: STATE_SET "visible" 0.0;
target: "b2";
target: "e.button.next.label";
after: "b2";
@@ -304,6 +334,38 @@
program {
name: "b2";
action: SIGNAL_EMIT "e,action,next" "";
+ }
+ program {
+ name: "b1_enable";
+ signal: "e,state,back,enable";
+ source: "e";
+ action: STATE_SET "visible" 0.0;
+ target: "b1";
+ target: "e.button.back.label";
+ }
+ program {
+ name: "b1_disable";
+ signal: "e,state,back,disable";
+ source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "b1";
+ target: "e.button.back.label";
+ }
+ program {
+ name: "b2_enable";
+ signal: "e,state,next,enable";
+ source: "e";
+ action: STATE_SET "visible" 0.0;
+ target: "b2";
+ target: "e.button.next.label";
+ }
+ program {
+ name: "b2_disable";
+ signal: "e,state,next,disable";
+ source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "b2";
+ target: "e.button.next.label";
}
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs