2011/11/23 Carsten Haitzler <[email protected]>: > On Wed, 23 Nov 2011 01:43:27 +0100 Leif Middelschulte > <[email protected]> said: > >> Hello everyone. >> >> I'd like to modify e's comp module in a way that shadows (of all >> windows, including shelves) are below every window except desktop >> background. >> >> I tried to set the layer of shadows and their window contents, but >> that didn't work out as expected. I guess owed to the fact that the >> window content is swallowed in the shadow's edje? >> >> I would appreciate any answers that point me in the direction to go. >> As I see it right now, I'd have to chop out the swallow and add resize >> and move callbacks. > > there's no way to do this given the current set-up. the shadow is part of the > edje and thus is at the same stacking as the window and frame and so on. comp > would have to provide some way to add a "tracking" shadow that tracks the > window size/position that allows for a different edje object to be there that > is above the desktop bg, but it currently doesn't. So what's the problem of adding "tracking" shadows? Naive I'd just add a callback for resize and move events to the window and resize/move the shadow element accordingly. Is this wrong? > > i actually always would have liked shadows to change position depending on how > many levels down the item is (background is the furthest) so they actually > cast > correctly, but that alone is not trivial and requires many duplicate tracking > objects (1 per available shadow level) and for non-rectangular windows, > required arbitrary masking (not supported in evas currently). This is also a nice Idea. The reason I came up with this though is that if you have a shelf that is at the top, the drawn shadow just looks unnaturaly. > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > Thanks for the quick answer. Hoped I would catch you on irc. I didn't, therefore my mail ;-)
-- Leif ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
