On Tue, Aug 3, 2010 at 2:52 PM, Rafael Antognolli
<antogno...@profusion.mobi> wrote:
> Hi guys,
>
> I have a simple test for edje that shows what seems to be a bug for
> me. If you open this .edc, you'll see that there's a rectangle over
> the background that gets resized when you left-click it, and resized
> again to its original size when you right-click it. The problem is
> that at the bottom a red line appears, indicating that the bottom edje
> of this part moved, revealing the background. But in both states of
> this part I set its relative position as follows:
>
> rel2 {
> to: "bg";
> relative: 1.0 1.0;
> offset: -1 -1;
> }
>
> This is the same for both states of the part, but during the animation
> it seems to be moved to something like:
>
> rel2 {
> to: "bg";
> relative: 1.0 1.0;
> offset: -1 -2;
> }
>
> I think this is a rounding problem somewhere inside edje. Does anyone
> has an idea where it should be? With some pointers I could try to
> track this down later.
>
> Thanks for any help.
Trying to attach file again...
--
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi
collections {
group {
name: "main";
min: 480 800;
max: 480 800;
parts {
part {
name: "bg";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
color: 255 0 0 255;
}
}
part {
name: "bottom";
type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
color: 255 255 255 255;
rel1 {
to: "bg";
relative: 0.0 1.0;
offset: 0 -90;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: 0 0;
}
}
description {
state: "hidden" 0.0;
inherit: "default" 0.0;
rel1 {
to: "bg";
relative: 0.0 0.25;
offset: 0 0;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: 0 0;
}
}
}
part {
name: "events";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 0 0 0 0;
}
}
programs {
program {
name: "hide";
signal: "mouse,down,1";
source: "events";
action: STATE_SET "hidden" 0.0;
target: "bottom";
transition: LINEAR 2.0;
}
program {
name: "show";
signal: "mouse,down,3";
source: "events";
action: STATE_SET "default" 0.0;
target: "bottom";
transition: LINEAR 2.0;
}
}
}
}
}
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel