The following is a group from a .edc file I'm using that is exhibiting behavior confusing to me. I have a SWALLOW object with an image in it, and when I call the "selected_on" program, I want the "selector" part shown on top, which will obscure the image a bit. This works, initially. However, if I move the object, it appears as if the "selector" part is no longer on top of the "card" part, because the former doesn't show up when the appropriate program is called. If I add "card" as a target for the program, the card disappears and the selector alpha rect shows up, which implies to me that it's underneath the card.
I thought parts within a group were ordered such that lower parts were on top. What am I missing? Thanks. pete group { name, "card"; min, 20 20; max, 400 400; parts { part { name, "card"; type, SWALLOW; mouse_events, 1; description { state, "default" 0.0; visible, 1; } description { state, "selected" 0.0; visible, 0; } } part { name, "selector"; type, RECT; mouse_events, 0; description { state, "default" 0.0; color: 0 0 0 0; } description { state, "selected" 0.0; color: 255 255 255 127; } } } programs { program { name, "card_click"; signal, "mouse,down,1"; source, "card"; action, SIGNAL_EMIT "CARD_CLICKED" "card"; } program { name, "selected_on"; signal, "card,select"; source, "ccg"; action, STATE_SET "selected" 0.0; target, "selector"; /* target, "card"; */ } program { name, "selected_off"; signal, "card,deselect"; source, "ccg"; action, STATE_SET "default" 0.0; target, "selector"; /* target, "card"; */ } } } ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel