efl/legacy/edje
rephorm d4a055585b Add GROUP Parts to edje.
These can be used to automatically swallow in another group from the same file.

Parts within child groups can be referred to by a ':' separated 'full path' of
part names. Any API functions that take a part name will now accept a full path
also.

Signals emitted by child objects will be repeated up to the parents with the
source changed to be the path relative to the receiving object.  E.g in the
example below, a mouse moving over the lower light green rectangle would result
in the parent object recieving a "mouse,move" signal with source "bot:inner".

**** NEW RESTRICTION ****  part names should no longer include a ':' character.
This is not yet enforced by edje_cc, but will cause the part to be inaccessible
from the API.

Example EDC:

collections {
  group {
    name: "parent";
    parts {
      part {
        name: "top";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel2.relative: 1 0.5;
        }
      }
      part {
        name: "bot";
        type: GROUP;
        source: "child";
        description {
          state: "default" 0.0;
          rel1.relative: 0 0.5;
        }
      }
    }
  }
  group {
    name: "child";
    parts {
      part {
        name: "base";
        type: RECT;
        description {
          state: "default" 0.0;
          color: 160 208 8 255;
        }
      }
      part {
        name: "inner";
        type: RECT;
        description {
          state: "default" 0.0;
          rel1.offset: 10 10;
          rel2.offset: -11 -11;
          color: 210 228 76 255;
        }
      }
    }
  }
}


SVN revision: 30087
2007-05-27 05:28:07 +00:00
..
data back out the embryoincludedir stuff again. it broke distcheck, and the old way wasn't that bad ;D 2007-03-23 10:59:08 +00:00
debian fix include dir. 2007-03-23 11:42:19 +00:00
doc Sun Jan 23 22:30:28 2005 Michael Jennings (mej) 2005-01-24 02:26:35 +00:00
src Add GROUP Parts to edje. 2007-05-27 05:28:07 +00:00
.cvsignore Added cvsignore entries: mainly for *.spec files, 2005-12-04 17:16:20 +00:00
AUTHORS cedrics font hash lookup speedup :) 2006-07-02 06:18:18 +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 updated Doxyfiles 2004-10-22 19:12:14 +00:00
INSTALL in we go edje... no it doesnt do anything useful at the moment... 2003-06-02 23:49:56 +00:00
Makefile.am remove even more 2006-10-28 09:28:10 +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 - pass distcheck. 2007-05-05 15:14:17 +00:00
edje-config.in oops, don't reference ECORE_LIBS 2007-03-21 15:39:08 +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 remove even more 2006-10-28 09:28:10 +00:00
edje.supp added valgrind suppression file for Edje 2004-01-17 23:53:57 +00:00
gendoc * prelim edje.pc. emotion.pc wants this. 2004-07-30 18:18:50 +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.