edje: add a helper for recursive searching in hash
authorJee-Yong Um <conr2d@gmail.com>
Fri, 8 Jul 2016 17:50:16 +0000 (10:50 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 8 Jul 2016 17:50:20 +0000 (10:50 -0700)
commit399bb5a0baca0f3be33d31d318e28b9ad3bfbf00
tree2a9c4f56052ae6bbfbba7fcc1a7b91c9d304eb8b
parent52df6171e9287dd588968ed968fee7e72cfaf080
edje: add a helper for recursive searching in hash

Summary:
If color class of an edje part is defined as "aaa/bbb/ccc/ddd",
edje will search for color class by the following sequence.
   "aaa/bbb/ccc/ddd"
   "aaa/bbb/ddd"
   "aaa/ddd"
   "ddd"
So, without additional lookup table, edje classes (color, text, size)
can have the functionality like inheritance.

Reviewers: jpeg, raster, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4127

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
src/lib/edje/edje_util.c