edje_cc now has the program.groups and X.target_group keywords for target grouping
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 8 Apr 2014 02:09:56 +0000 (22:09 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 25 Apr 2014 14:52:15 +0000 (10:52 -0400)
commitfd8c9532a16450d79d4b0002d8c9bd3c03ab8758
tree4b32c9f0dc4707370308379f4b05f06db0cba33b
parente54bb78a3e07bd1ec4be907054f18192c1548b7f
edje_cc now has the program.groups and X.target_group keywords for target grouping

this allows any number of parts/programs to be added by name into a logical grouping which can then be referenced inside a program.

eg.

before
------

program { signal: XYZ; source: 123;
   action: STATE_SET "default";
   targets: "sup" "dawg" "parts" "up" "in" "dis" "progrizzle";
}

program { signal: ABC; source: 123;
   action: STATE_SET "notdefault";
   targets: "sup" "dawg" "parts" "up" "in" "dis" "progrizzle" "tooizzle";
}

======
after
------

target_group: "default" "sup" "dawg" "parts" "up" "in" "dis" "progrizzle";

program { signal: XYZ; source: 123;
   action: STATE_SET "default";
   group: "default";
}

program { signal: ABC; source: 123;
   action: STATE_SET "notdefault";
   group: "default";
   target: "tooizzle";
}

@feature
src/bin/edje/edje_cc.h
src/bin/edje/edje_cc_handlers.c