Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/data/init
Modified Files:
init.edc
Log Message:
init splans has a checkbutton to disable it in the future... and e respects
the config value
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/data/init/init.edc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- init.edc 27 Mar 2005 11:30:49 -0000 1.4
+++ init.edc 27 May 2005 10:04:37 -0000 1.5
@@ -64,6 +64,8 @@
image: "brushed.png" COMP;
image: SM"shadow.png" LOSSY 70;
image: SM"reflection_overlay.png" LOSSY 70;
+ image: "check1.png" COMP;
+ image: "check2.png" COMP;
#ifdef ALLFRAMES
image: SM"start_eintro_001.png" FRAME;
@@ -500,6 +502,7 @@
part {
name: "background";
type: RECT;
+ mouse_events: 0;
description {
state: "default" 0.0;
color: 255 255 255 255;
@@ -507,6 +510,7 @@
}
part {
name: "background_image";
+ mouse_events: 0;
description {
state: "default" 0.0;
image {
@@ -522,6 +526,7 @@
}
part {
name: "reflection_overlay";
+ mouse_events: 0;
description {
state: "default" 0.0;
image {
@@ -533,6 +538,7 @@
name: "title";
type: TEXT;
effect: SOFT_SHADOW;
+ mouse_events: 0;
description {
state: "default" 0.0;
align: 0.5 0.0;
@@ -587,6 +593,7 @@
name: "status";
type: TEXT;
effect: SHADOW;
+ mouse_events: 0;
description {
state: "default" 0.0;
align: 0.5 0.0;
@@ -612,8 +619,114 @@
}
}
part {
+ name: "disable_text";
+ type: TEXT;
+ effect: SHADOW;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 5 5;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 5 20;
+ }
+ color: 0 0 0 128;
+ color3: 255 255 255 128;
+ text {
+ text: "Disable this splash screen in future.";
+ font: "Edje Vera";
+ size: SSIZE;
+ min: 1 1;
+ align: 0.0 0.5;
+ }
+ }
+ }
+ part {
+ name: "disable_check";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ min: 16 16;
+ max: 16 16;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 1.0 0.0;
+ offset: 5 0;
+ to: "disable_text";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 5 -1;
+ to: "disable_text";
+ }
+ image {
+ normal: "check1.png";
+ }
+ }
+ description {
+ state: "active" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "check2.png";
+ }
+ }
+ }
+ part {
+ name: "enable_event";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ color: 0 0 0 0;
+ rel1 {
+ to: "disable_text";
+ relative: 0.0 0.0;
+ offset: -5 -5;
+ }
+ rel2 {
+ to: "disable_check";
+ relative: 1.0 1.0;
+ offset: 4 4;
+ }
+ }
+ description {
+ state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part {
+ name: "disable_event";
+ type: RECT;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ color: 0 0 0 0;
+ rel1 {
+ to: "disable_text";
+ relative: 0.0 0.0;
+ offset: -5 -5;
+ }
+ rel2 {
+ to: "disable_check";
+ relative: 1.0 1.0;
+ offset: 4 4;
+ }
+ }
+ description {
+ state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
name: "icons";
type: SWALLOW;
+ mouse_events: 0;
description {
state: "default" 0.0;
align: 0.5 0.0;
@@ -635,6 +748,7 @@
part {
name: "logo_point";
type: RECT;
+ mouse_events: 0;
description {
state: "default" 0.0;
color: 255 255 255 0;
@@ -652,6 +766,7 @@
part {
name: "logo";
clip_to: "logo_point";
+ mouse_events: 0;
description {
state: "default" 0.0;
visible: 0;
@@ -1136,6 +1251,7 @@
}
part {
name: "shadow";
+ mouse_events: 0;
description {
state: "default" 0.0;
image {
@@ -1187,6 +1303,35 @@
target: "logo";
after: "logo_animate4";
}
+
+ program {
+ name: "disable_down";
+ signal: "mouse,down,1";
+ source: "disable_event";
+ action: STATE_SET "active" 0.0;
+ target: "disable_check";
+ target: "disable_event";
+ target: "enable_event";
+ after: "disable_on";
+ }
+ program {
+ name: "enable_down";
+ signal: "mouse,down,1";
+ source: "enable_event";
+ action: STATE_SET "default" 0.0;
+ target: "disable_check";
+ target: "disable_event";
+ target: "enable_event";
+ after: "disable_off";
+ }
+ program {
+ name: "disable_on";
+ action: SIGNAL_EMIT "disable_state" "disable";
+ }
+ program {
+ name: "disable_off";
+ action: SIGNAL_EMIT "disable_state" "enable";
+ }
}
}
group {
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs