Add calculate callback to Evas_Smart_Class.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 7 Sep 2008 01:25:49 +0000 (01:25 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 7 Sep 2008 01:25:49 +0000 (01:25 +0000)
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/emotion@35860 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_smart.c

index 5943820..848bc2e 100644 (file)
@@ -1164,6 +1164,7 @@ _smart_init(void)
               _smart_color_set,
               _smart_clip_set,
               _smart_clip_unset,
+              NULL,
               NULL
          };
         smart = evas_smart_class_new(&sc);