Simon Poole wrote:
It is also possible to shape an Ecore_Evas window to the contents of its Evas. Just ecore_evas_shaped_set(ee, 1). Then, any parts of your evas that have no data (or data w. alpha < 128) will shaped away. However, this is an all or nothing thing, so, either you see the evas content for a pixel, or you see whatever is behind the window (no blending between the two). This is how, e.g. elicit does things.Brizuela Ezequiel Hector wrote:
How can I make a translucent widget/window? I need to use some of evas_* Functions?
/** * Sets the general colour of the given evas object to the given colour. * @param obj The given evas object. * @param r The red component of the given colour. * @param g The green component of the given colour. * @param b The blue component of the given colour. * @param a The alpha component of the given colour. * @ingroup Evas_Object_Group */ void evas_object_color_set(Evas_Object *obj, int r, int g, int b, int a);
Use this function to set the alpha component of your Evas_Object (0 = fully transparent, 255 = fully opaque).
I think I'm right in saying that the Evas itself cannot be translucent/transparent -- it must be given an opaque background object or you may get random rubbish appearing as other objects move or hide.
--
rephorm
-- Simon Poole www.appliancestudio.com
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
