Hello,

I whish to add a frame to elm_image and a way for the theme to display a
border/shadow arround the image.
I have already do this in elm_photo but I will move it into elm_image where
it should be.


Currently :
- there is no frame, only a els_icon.

What I whish to do :
- add a frame
- add a way to display a border around the image. Here is the problem.
els_icon have 2 objects : the container and the image (content). Elm_Image
swallow the els_icon in his theme. The image is resize to keep the aspect
and the container take all the space it can. Consequently the theme can't
know the size of the image.
In elm_photo I have added :
- a embryo script which retrieve the size of the image from the C code
- the C-code (elm_image/photo) listen the size's change on the image and
send the size to the theme.

If you know a better way to do this, please tell me.


I plan to do this tomorrow (in 24hours).







-- 
Regards.
------------------------------------------------------------------------------
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

Reply via email to