example/sphere_hunter: Clean up source code.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 10 Dec 2014 07:31:16 +0000 (16:31 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Wed, 10 Dec 2014 07:31:16 +0000 (16:31 +0900)
commit355dea9a7df38cc029766d6e1f25b401b7424c80
tree90ae624d60c4fd3fdc248427540de04d8d85cd4a
parente437b7deca60be7784a610804e752980bd975289
example/sphere_hunter: Clean up source code.

- Remove shadow variable.
- Don't call elm_init() twice. It is called automatically when you use
ELM_MAIN() macro.
- Don't set weight/align to swallowed objects.
- Set weight first before adding the object to window's resize object.
- Show window after creating all of its content.
src/examples/sphere_hunter/evas_3d_sphere_hunter.c