summaryrefslogtreecommitdiff
path: root/legacy/edje/doc
diff options
context:
space:
mode:
authorGuilherme Iscaro <iscaro@profusion.mobi>2012-03-29 17:38:55 +0000
committerJonas M. Gastal <jgastal@profusion.mobi>2012-03-29 17:38:55 +0000
commit286bc0a92b2a24ca1cf285040a64727e83afdd49 (patch)
tree299b5530afd4980680fd38f0f3b1edc713ae4cdc /legacy/edje/doc
parenteefdfa66cb3cf0643b9d6c52b1e41e501e7cf9ed (diff)
Adding corrections for the examples, because some of them were not showing.
Patch by: Guilherme Iscaro <iscaro@profusion.mobi> SVN revision: 69760
Diffstat (limited to 'legacy/edje/doc')
-rw-r--r--legacy/edje/doc/examples.dox14
1 files changed, 8 insertions, 6 deletions
diff --git a/legacy/edje/doc/examples.dox b/legacy/edje/doc/examples.dox
index 0cd8813d79..00ee1ee675 100644
--- a/legacy/edje/doc/examples.dox
+++ b/legacy/edje/doc/examples.dox
@@ -332,8 +332,9 @@
332 * 332 *
333 * The code until now is the one that follows: 333 * The code until now is the one that follows:
334 * 334 *
335 * @skip main 335 * @dontinclude edje-box.c
336 * @until evas_object_show(app.edje) 336 * @skip main(int argc __UNUSED__, char *argv[])
337 * @until ecore_evas_data_set(ee, "background", bg)
337 * 338 *
338 * Also notice that we set the callback @c _bg_key_down for @c "key down" events 339 * Also notice that we set the callback @c _bg_key_down for @c "key down" events
339 * on the background object, and that object is the one with focus. 340 * on the background object, and that object is the one with focus.
@@ -343,6 +344,8 @@
343 * events on every object. These callbacks will be used to add or delete objects 344 * events on every object. These callbacks will be used to add or delete objects
344 * from the box part. 345 * from the box part.
345 * 346 *
347 * @dontinclude edje-box.c
348 * @skip bg = evas_object_rectangle_add(evas)
346 * @until evas_object_event 349 * @until evas_object_event
347 * @until } 350 * @until }
348 * 351 *
@@ -416,9 +419,7 @@
416 * But the important part is the next one: 419 * But the important part is the next one:
417 * 420 *
418 * @dontinclude edje-box2.c 421 * @dontinclude edje-box2.c
419 * @skip static struct _App 422 * @skip static void
420 * @skip static
421 * @until }
422 * @until } 423 * @until }
423 * 424 *
424 * This code implements our custom layout, which will position every object 425 * This code implements our custom layout, which will position every object
@@ -429,9 +430,10 @@
429 * Later on the @c main function, everything we need to do is to register this 430 * Later on the @c main function, everything we need to do is to register this
430 * custom layout function with edje: 431 * custom layout function with edje:
431 * 432 *
433 * @dontinclude edje-box2.c
432 * @skipline edje_box_layout_register 434 * @skipline edje_box_layout_register
433 * 435 *
434 * And use it inside the .edc file: 436 * And use it inside the box.edc file:
435 * 437 *
436 * @dontinclude box.edc 438 * @dontinclude box.edc
437 * @skip example/group2 439 * @skip example/group2