* edje: Add Fixed Point Math support to Edje.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Dec 2009 15:44:54 +0000 (15:44 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 9 Dec 2009 15:44:54 +0000 (15:44 +0000)
commita2683d03ebe85a2a01185e19b4757a8736836609
treeb0471758dc272abe0bc22245800edea756fe9ad3
parentfca2fac980d1bbb9e6a836244d9fb7d098897c59
* edje: Add Fixed Point Math support to Edje.

You can try it by passing --enable-fixed-point to the configure. It
will produce an ABI/API compatible Edje library that use internally
Eina_F32p32 instead of double. It will load Eina_F32p32 instead of
double from eet file (thanks to eet ability to convert them on the
fly), so edje file are compatible between fixed point and floating
point version.

This patch touch almost all internal calc of Edje, I did test it with
elementary_test, enlightenment and all my test apps, but it could
certainly break some of your preferred Edje file. If you see any
unexpected behaviour please report them to me as soon as possible.

Note: For devs, I put few macros in edje_private.h that should now
be used when doing calc in Edje, please use them so that Fixed Point
doesn't break in the futur.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@44323 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
13 files changed:
configure.ac
src/lib/edje_calc.c
src/lib/edje_callbacks.c
src/lib/edje_data.c
src/lib/edje_edit.c
src/lib/edje_embryo.c
src/lib/edje_entry.c
src/lib/edje_load.c
src/lib/edje_lua.c
src/lib/edje_main.c
src/lib/edje_private.h
src/lib/edje_text.c
src/lib/edje_util.c