Adding corrections for the examples, because some of them were not showing.
authorgastal <gastal>
Thu, 29 Mar 2012 17:38:55 +0000 (17:38 +0000)
committergastal <gastal@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 29 Mar 2012 17:38:55 +0000 (17:38 +0000)
Patch by: Guilherme Iscaro <iscaro@profusion.mobi>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@69760 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

doc/examples.dox

index 0cd8813..00ee1ee 100644 (file)
  *
  * The code until now is the one that follows:
  *
- * @skip main
- * @until evas_object_show(app.edje)
+ * @dontinclude edje-box.c
+ * @skip main(int argc __UNUSED__, char *argv[])
+ * @until ecore_evas_data_set(ee, "background", bg)
  *
  * Also notice that we set the callback @c _bg_key_down for @c "key down" events
  * on the background object, and that object is the one with focus.
  * events on every object. These callbacks will be used to add or delete objects
  * from the box part.
  *
+ * @dontinclude edje-box.c
+ * @skip bg = evas_object_rectangle_add(evas)
  * @until evas_object_event
  * @until }
  *
  * But the important part is the next one:
  *
  * @dontinclude edje-box2.c
- * @skip static struct _App
- * @skip static
- * @until }
+ * @skip static void
  * @until }
  *
  * This code implements our custom layout, which will position every object
  * Later on the @c main function, everything we need to do is to register this
  * custom layout function with edje:
  *
+ * @dontinclude edje-box2.c
  * @skipline edje_box_layout_register
  *
- * And use it inside the .edc file:
+ * And use it inside the box.edc file:
  *
  * @dontinclude box.edc
  * @skip example/group2