test_gengrid.c: Overall refactoring.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 27 Aug 2013 05:47:37 +0000 (14:47 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 27 Aug 2013 23:47:47 +0000 (08:47 +0900)
commit92fb4ccbe069064a5d34cda256d5e6e291cf17a6
treeb07cab64556b02fcba10af3cd3aadc34e856d276
parentd461a8be05fc4c514b4298fc2c0ad1ec1955ad93
test_gengrid.c: Overall refactoring.

1. Fixed formatting.
2. Used EINA_TRUE/FALSE for Eina_Bool type parameter.
3. Made item size scalable.
4. Changed Item Data structure name Testitem -> Item_Data
5. Used elm_image for gengrid icon instead of bg.
6. Removed unnecessary casting.
7. Moved code around to the proper place.
legacy/elementary/src/bin/test_gengrid.c