edje: add ability to reference images from other edje files
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 26 Feb 2018 23:54:38 +0000 (18:54 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:43 +0000 (20:10 +0900)
commitfdd4472129c4cf6d3d118e841bdf0b11497da9db
tree418e35519170e7615bdc0839c2a63ee905c106a8
parent37f5a582820992388c3aaf0d848909a4a50f23b4
edje: add ability to reference images from other edje files

this uses the just-added "id" property to allow referencing images
by name from that theme. example:

=FILE1=
id: "myfile";
images.image: "someimage.png" COMP;

=FILE2=
requires: "myfile";
images.image: "someimage.png" EXTERNAL "myfile";

FILE2 will now load someimage.png from FILE1 at runtime if FILE1 is
currently opened in edje, and FILE1 will be kept open until FILE2 is
closed

@feature
src/bin/edje/edje_cc.c
src/bin/edje/edje_cc.h
src/bin/edje/edje_cc_handlers.c
src/bin/edje/edje_cc_out.c
src/bin/edje/edje_decc.c
src/lib/edje/edje_cache.c
src/lib/edje/edje_calc.c
src/lib/edje/edje_data.c
src/lib/edje/edje_load.c
src/lib/edje/edje_private.h