On Thu, Aug 29, 2013 at 9:20 AM, Cedric BAIL <cedric.b...@free.fr> wrote:
> On Thu, Aug 29, 2013 at 1:26 AM, Gustavo Sverzut Barbieri > <barbi...@gmail.com> wrote: > > On Wed, Aug 28, 2013 at 7:35 AM, Daniel Juyung Seo - Enlightenment Git > > <no-re...@enlightenment.org> wrote: > >> seoz pushed a commit to branch master. > >> > >> commit 1286b98c1f52a070c09c2541ce8ab86fa90325dc > >> Author: Daniel Juyung Seo <seojuyu...@gmail.com> > >> Date: Wed Aug 28 19:31:40 2013 +0900 > >> > >> elm_bg: added a color reset feature. > >> > >> This can be achieved by calling elm_bg_color_set(bg, -1, -1, -1); > > > > you could also delete the obj if color == 0, 0, 0, 0 as that would be > > transparent... so <= 0 should work in your code. > > There is no alpha value for the bg color set... > Yes there is no alpha parameter in elm_bg_color_set(). That is why I used -1 as a reset value. Long time ago I asked why there is no alpha in bg to raster, and got a reply like "no alpha is needed for bg". If we need alpha, we should use evas_object_rectangle. It would be good if we have alpha in elm_bg_color_set() but can't break API. We should deal with it. Thanks. Daniel Juyung Seo (SeoZ) > -- > Cedric BAIL > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel