From eefdfa66cb3cf0643b9d6c52b1e41e501e7cf9ed Mon Sep 17 00:00:00 2001 From: Guilherme Iscaro Date: Thu, 29 Mar 2012 17:38:53 +0000 Subject: [PATCH] Adding compiling instructions for the tutorials and removing some whitespaces from examples.dox. Patch by: Guilherme Iscaro SVN revision: 69759 --- legacy/edje/doc/examples.dox | 104 ++++++++++++++++++++++++++++++++++- legacy/edje/src/lib/Edje.h | 2 - 2 files changed, 102 insertions(+), 4 deletions(-) diff --git a/legacy/edje/doc/examples.dox b/legacy/edje/doc/examples.dox index 846c4c0b98..0cd8813d79 100644 --- a/legacy/edje/doc/examples.dox +++ b/legacy/edje/doc/examples.dox @@ -127,6 +127,8 @@ * @skip strcmp(ev->keyname, "r") == 0 * @until } * + * + * * The example's window should look like this picture: * * @image html edje-basics-example.png @@ -135,7 +137,17 @@ * * The full example follows. * + * * @include edje-basic.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-basic edje-basic.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc basic.edc + * @endverbatim * @example edje-basic.c */ @@ -159,6 +171,15 @@ * * The full source code follows: * @include edje-swallow.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-swallow edje-swallow.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc swallow.edc + * @endverbatim * @example edje-swallow.c */ @@ -207,7 +228,16 @@ * * The theme used in this example is: * @include text.edc - * @example text.edc + * + * To compile use this command: + * @verbatim + * gcc -o edje-text edje-text.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc text.edc + * @endverbatim + * @example edje-text.c */ /** @@ -263,6 +293,15 @@ * * The full source code follows: * @include edje-table.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-table edje-table.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc table.edc + * @endverbatim * @example edje-table.c */ @@ -346,6 +385,15 @@ * * The full source code follows: * @include edje-box.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-box edje-box.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc box.edc + * @endverbatim * @example edje-box.c */ @@ -400,6 +448,15 @@ * * The full source code follows: * @include edje-box2.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-box2 edje-box2.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc box.edc + * @endverbatim * @example edje-box2.c */ @@ -482,6 +539,15 @@ * * The full source code follows: * @include edje-drag.c + * + * To compile use this command: + * @verbatim + * gcc -o edje-drag edje-drag.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc drag.edc + * @endverbatim * @example edje-drag.c */ @@ -569,6 +635,19 @@ * * The full source code follows: * @include edje-perspective.c + * + * The full .edc file + * @include perspective.edc + * + * To compile use this command: + * @verbatim + * gcc -o edje-perspective edje-perspective.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" + * -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc perspective.edc + * @endverbatim * @example edje-perspective.c */ @@ -762,7 +841,18 @@ * * The theme used in this example is: * @include color-class.edc - * @example color-class.edc + * + * + * To compile use this command: + * @verbatim + * gcc -o edje-color-class edje-color-class.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" + * -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc color-class.edc + * @endverbatim + * @example edje-color-class.c */ /** @@ -826,6 +916,16 @@ * * @include edje-animations.c * @include animations.edc + * + * To compile use this command: + * @verbatim + * gcc -o edje-animations edje-animations.c -DPACKAGE_BIN_DIR=\"/Where/enlightenment/is/installed/bin\" + * -DPACKAGE_LIB_DIR=\"/Where/enlightenment/is/installed/lib\" + * -DPACKAGE_DATA_DIR=\"/Where/enlightenment/is/installed/share\" + * `pkg-config --cflags --libs evas ecore ecore-evas edje` + * + * edje_cc animations.edc + * @endverbatim */ /** diff --git a/legacy/edje/src/lib/Edje.h b/legacy/edje/src/lib/Edje.h index 42bfa61720..7d89a9dfdd 100644 --- a/legacy/edje/src/lib/Edje.h +++ b/legacy/edje/src/lib/Edje.h @@ -171,8 +171,6 @@ Note: The example files are located at /Where/Enlightenment/is/installed/share/e - @ref tutorial_edje_color_class - @ref tutorial_edje_animations - @ref Example_Edje_Signals_Messages - - */ /**