efl/legacy/edje
Gustavo Sverzut Barbieri 08bfdacdee Bugfix and refactor get of font based on text_class.
Edje tries to copy original style to font provided by text_class if
this have no style.

However code was supposing that text_class font always had more than
one occurrence, these separated with ',' and did not check if this is
not the case, so "e = strchr(',', tok);" was returning NULL and all
the math were using negative values.

The fix now does the proper checking, avoid one useless alloca() and
the respective copy, also doing the copies with memcpy() since sizes
are already known.

Refactory was done to make code simpler and also avoid having it
copied 3 times.


SVN revision: 33869
2008-02-29 21:43:55 +00:00
..
data Edje mode improvements 2007-11-10 15:52:20 +00:00
debian Add build-dependancy on pkg-config 2008-02-18 07:44:11 +00:00
doc Update doxy style 2007-12-06 23:42:38 +00:00
src Bugfix and refactor get of font based on text_class. 2008-02-29 21:43:55 +00:00
.cvsignore Added cvsignore entries: mainly for *.spec files, 2005-12-04 17:16:20 +00:00
AUTHORS AUTHOR++ 2007-05-27 05:30:05 +00:00
COPYING in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00
COPYING-PLAIN in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00
ChangeLog - Fix warnings 2004-01-15 00:12:19 +00:00
Doxyfile Update doxy style 2007-12-06 23:42:38 +00:00
INSTALL make edje binaries compile and allow the creation of the edje shared lib on windows. Remove some trailing spaces 2007-08-26 12:54:51 +00:00
Makefile.am edje: include autogen.sh in distribution tar ball 2008-02-18 07:48:41 +00:00
NEWS - Fix warnings 2004-01-15 00:12:19 +00:00
README edje no longer needs imlib2. 2005-11-11 06:49:57 +00:00
autogen.sh Remove unused file. 2007-03-25 08:46:57 +00:00
configure.in asparagus! also pass distcheck and have common autofoo init that is 2008-01-25 03:35:49 +00:00
edje.c.in edje no longer needs imlib2. 2005-11-11 06:49:57 +00:00
edje.pc.in move stuff to Libs.private 2007-03-23 23:09:49 +00:00
edje.spec.in removed edje-config.in because of pkg-config 2007-07-01 18:03:33 +00:00
edje.supp added valgrind suppression file for Edje 2004-01-17 23:53:57 +00:00
gendoc Update doxy style 2007-12-06 23:42:38 +00:00

README

Edje 0.5.0

A graphical layout and animation library for animated resizable, compressed and
scalable themes.

It's current under development and isn't complete. See src/lib/edje_private.h
for a list of FIXME's to do. Hopefully it will be complete in a few weeks.

Quick start-up guide:

1. You need eet from the HEAD cvs branch (must be up-to-date)

  cvs co e17/libs/eet
  cd e17/libs/eet
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

2. You need evas from the HEAD branch built with eet loader support.

  cvs co e17/libs/evas
  cd e17/libs/evas
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd
  
3. You need ecore from the HEAD cvs branch

  cvs co e17/libs/ecore
  cd e17/libs/ecore
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

4. You need embryo from the HEAD cvs branch

  cvs co e17/libs/embryo
  cd e17/libs/embryo
  ./autogen.sh
  ./configure
  make
  sudo make install
  cd

5. You already have Edje. now build it:

   ./autogen.sh
   make
   sudo make install

You now want to go test it out. first you'll need to make an Edje EET file.
   
   cd data
   ./e_logo.sh
   
Now you can view the Edje you just built:
   
   edje ./e_logo.edj
   
You can view multiple files at once with the Edje test program:
   
   edje ./e_logo.edj ./e_logo.edj ./e_logo.edj
   
to view the same one 3 times.
   
You can read the source file that builds the Edje EET file by looking at:

   data/src/e_logo.edc

Another test file is also there:

   data/src/test.edc
   
The test file doesn't build anything useful at the moment.