On Mon, 12 Jan 2009, Oguz Yarimtepe wrote:

> Hi,

I have attached the sample program that is mentioned at edjebook.pdf.
Here is what i get:

$ gcc  `pkg-config --cflags --libs ecore-evas evas ecore edje`
example.c -o example
example.c: In function 'main':
example.c:34: warning: passing argument 2 of
'edje_object_size_min_get' from incompatible pointer type
example.c:34: warning: passing argument 3 of
'edje_object_size_min_get' from incompatible pointer type



edje_object_size_min_get() take Evas_Coord * as parameters, so use that
type for the width and height.

Curretly, Evas_Coord is just an int, so use the %d modifier in your
printf().



$ ./example
1
ok
0.000000 0.000000

After that point i just see a tiny elips windows without anything. If
i enlarge it i can see that the title set but i don't see the edj file
view there. What is wrong? I can see the edj file if i open it
edje_viewer.


as you pass doubles when you resize your evas_object, there could be some 
problems. I don't know if it is the reason why you don't display correctly 
the edje.

The doc is unfortunately outdated and must be reviewed. Boring job and not 
a lot of people are involved in the project...

Vincent

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to