make dropin/over object actually stay hidden until needed

SVN revision: 37107
This commit is contained in:
Carsten Haitzler 2008-10-26 01:14:08 +00:00
parent a400029699
commit 272e62ba14
2 changed files with 34 additions and 3 deletions

View File

@ -11657,8 +11657,23 @@ collections { /* begin the collection of edje groups that are in this file */
image: "gadman_border.png" COMP;
}
parts {
part { name: "clipper";
type: RECT;
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -10 -10;
rel2.offset: 9 9;
visible: 0;
color: 255 255 255 0;
}
description { state: "visible" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "overlay";
mouse_events: 1;
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1 { to: "border"; offset: 4 4; }
rel2 { to: "border"; offset: -5 -5; }
@ -11668,8 +11683,8 @@ collections { /* begin the collection of edje groups that are in this file */
}
}
part { name: "border";
mouse_events: 1;
repeat_events: 1;
mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.offset: -5 -5;
rel2.offset: 4 4;
@ -11682,6 +11697,20 @@ collections { /* begin the collection of edje groups that are in this file */
}
}
}
programs {
program { name: "visible";
signal: "e,state,selected";
source: "e";
action: STATE_SET "visible" 0.0;
target: "clipper";
}
program { name: "hidden";
signal: "e,state,unselected";
source: "e";
action: STATE_SET "default" 0.0;
target: "clipper";
}
}
}
group { name: "e/fileman/default/rubberband";
@ -11690,6 +11719,7 @@ collections { /* begin the collection of edje groups that are in this file */
image: "gadman_border.png" COMP;
}
parts {
part { name: "overlay";
mouse_events: 1;
description { state: "default" 0.0;

View File

@ -31,6 +31,7 @@ static E_Module *conf_module = NULL;
* o ask if user wants desktop icons or not (enable fwin module but seed it
* with default config).
* o ask if you want links to home/system/tmp on desktop (if fileman above on)
* o ask click to focus or sloppy
* . take some of current config (language, fileman, profile) and load
* load profile, apply language to it and save, restart e.
*/