summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2015-02-23 17:59:05 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-23 18:31:43 +0100
commit1f9ac72b8e056a8f5df2e2807cb4e3c8317f9fc8 (patch)
tree9c422ff2be3bb96521f261459a8a21e6ce48d8d4 /src/examples
parent52152ef757c6ff22980ac26b669840ad175d4250 (diff)
evas: refactoring evas examples descriptions.
Summary: Descriptions of evas examples are standardized. Added missing descriptions to examples. Deleted copy of description in evas-init-shutdown.c. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2031 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-aabb.c9
-rw-r--r--src/examples/evas/evas-3d-colorpick.c7
-rw-r--r--src/examples/evas/evas-3d-cube-rotate.c24
-rw-r--r--src/examples/evas/evas-3d-cube.c10
-rw-r--r--src/examples/evas/evas-3d-cube2.c9
-rw-r--r--src/examples/evas/evas-3d-eet.c26
-rw-r--r--src/examples/evas/evas-3d-frustum.c7
-rw-r--r--src/examples/evas/evas-3d-md2.c8
-rw-r--r--src/examples/evas/evas-3d-mmap-set.c20
-rw-r--r--src/examples/evas/evas-3d-moon-space.c35
-rw-r--r--src/examples/evas/evas-3d-obj.c26
-rw-r--r--src/examples/evas/evas-3d-pick.c12
-rw-r--r--src/examples/evas/evas-3d-ply.c22
-rw-r--r--src/examples/evas/evas-3d-proxy.c10
-rw-r--r--src/examples/evas/evas-3d-shadows.c6
-rw-r--r--src/examples/evas/evas-buffer-simple.c5
-rw-r--r--src/examples/evas/evas-gl.c11
-rw-r--r--src/examples/evas/evas-init-shutdown.c11
-rw-r--r--src/examples/evas/evas-multi-touch.c11
19 files changed, 170 insertions, 99 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index 90603be..d4f2351 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -1,9 +1,12 @@
1/* 1/**
2 * This example shows how to get and draw axis-aligned bounding box. 2 * This example shows how to get and draw axis-aligned bounding box.
3 3 *
4 * @see _mesh_aabb(Evas_3D_Mesh **mesh_b, const Evas_3D_Node *node); 4 * @see _mesh_aabb(Evas_3D_Mesh **mesh_b, const Evas_3D_Node *node);
5 * Rotate axises (keys 1-4) for model and bounding box view from another angle. 5 * Rotate axises (keys 1-4) for model and bounding box view from another angle.
6 * Compile with "gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`" 6 *
7 * @verbatim
8 * gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`
9 * @endverbatim
7 */ 10 */
8 11
9#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
diff --git a/src/examples/evas/evas-3d-colorpick.c b/src/examples/evas/evas-3d-colorpick.c
index b909a0c..2db7786 100644
--- a/src/examples/evas/evas-3d-colorpick.c
+++ b/src/examples/evas/evas-3d-colorpick.c
@@ -1,4 +1,4 @@
1/* 1/**
2 * This example shows how to use color pick algorithm for finding node at scene. 2 * This example shows how to use color pick algorithm for finding node at scene.
3 * Enable color pick mode of meshes and scene objects. 3 * Enable color pick mode of meshes and scene objects.
4 * Click (left for color pick, right for geometry pick) on 3D object and see 4 * Click (left for color pick, right for geometry pick) on 3D object and see
@@ -7,7 +7,10 @@
7 * Use key LEFT/RIGHT for scale each node 7 * Use key LEFT/RIGHT for scale each node
8 * Use shortcut parameters of commanline: r - rows of objects, c - columns of objects, m - path for model name, 8 * Use shortcut parameters of commanline: r - rows of objects, c - columns of objects, m - path for model name,
9 * f - path for first texture, s - path for second texture. 9 * f - path for first texture, s - path for second texture.
10 * Compile with "gcc -o evas-3d-colorpick evas-3d-colorpick.c `pkg-config --libs --cflags evas ecore ecore-evas eo eina efl`" 10 *
11 * @verbatim
12 * gcc -o evas-3d-colorpick evas-3d-colorpick.c `pkg-config --libs --cflags evas ecore ecore-evas eo eina efl`
13 * @endverbatim
11 */ 14 */
12//TODO new resources 15//TODO new resources
13 16
diff --git a/src/examples/evas/evas-3d-cube-rotate.c b/src/examples/evas/evas-3d-cube-rotate.c
index 1cb0d96..4a45aedf 100644
--- a/src/examples/evas/evas-3d-cube-rotate.c
+++ b/src/examples/evas/evas-3d-cube-rotate.c
@@ -1,14 +1,16 @@
1/* 1/**
2* This example shows how the work of events with callback of the mouse could be useful in node rotation. 2 * This example shows how the work of events with callback of the mouse could be useful in node rotation.
3* 3 *
4* After clicking the mouse on cube callbacks began to emit autmatically, 4 * After clicking the mouse on cube callbacks began to emit autmatically,
5* depending on mouse's position change the cube rotates with a certain 5 * depending on mouse's position change the cube rotates with a certain
6* speed while mouse is still on the cube, also rotation slows down when 6 * speed while mouse is still on the cube, also rotation slows down when
7* leaving the boundaries of the cube, all this goes on while the mouse 7 * leaving the boundaries of the cube, all this goes on while the mouse
8* is pressed. Note, that rotation is taking place around one axis only. 8 * is pressed. Note, that rotation is taking place around one axis only.
9* 9 *
10* Compile with "gcc -o evas-3d-cube-rotate evas-3d-cube-rotate.c -g `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm" 10 * @verbatim
11*/ 11 * gcc -o evas-3d-cube-rotate evas-3d-cube-rotate.c -g `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
12 * @endverbatim
13 */
12 14
13#define EFL_EO_API_SUPPORT 15#define EFL_EO_API_SUPPORT
14#define EFL_BETA_API_SUPPORT 16#define EFL_BETA_API_SUPPORT
diff --git a/src/examples/evas/evas-3d-cube.c b/src/examples/evas/evas-3d-cube.c
index b580777..bfe57e8 100644
--- a/src/examples/evas/evas-3d-cube.c
+++ b/src/examples/evas/evas-3d-cube.c
@@ -1,3 +1,13 @@
1/**
2 * Simple Evas-3D example illustrating how to create simple mesh without any loading.
3 *
4 * This example is the best to start introduction to usage of Evas-3D.
5 *
6 * @verbatim
7 * gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags evas ecore ecore-evas eo`
8 * @endverbatim
9 */
10
1#define EFL_EO_API_SUPPORT 11#define EFL_EO_API_SUPPORT
2#define EFL_BETA_API_SUPPORT 12#define EFL_BETA_API_SUPPORT
3 13
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index c0112d6..ead599a 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -1,3 +1,12 @@
1/**
2 * Simple Evas-3D example illustrating usage of normal mapping and animation created
3 * by interpolation between frames.
4 *
5 * @verbatim
6 * gcc -o evas-3d-cube2 evas-3d-cube2.c `pkg-config --libs --cflags evas ecore ecore-evas eo`
7 * @endverbatim
8 */
9
1#ifdef HAVE_CONFIG_H 10#ifdef HAVE_CONFIG_H
2#include "config.h" 11#include "config.h"
3#else 12#else
diff --git a/src/examples/evas/evas-3d-eet.c b/src/examples/evas/evas-3d-eet.c
index f67f36e..18dc2e4 100644
--- a/src/examples/evas/evas-3d-eet.c
+++ b/src/examples/evas/evas-3d-eet.c
@@ -1,17 +1,17 @@
1/** 1/**
2* Simple Evas example illustrating .eet import/export 2 * Simple Evas example illustrating .eet import/export
3* 3 *
4* Take mesh from md2. 4 * Take mesh from md2.
5* Set material to it. 5 * Set material to it.
6* Show it in left side. 6 * Show it in left side.
7* Save the first frame of this mesh to eet. (static only) 7 * Save the first frame of this mesh to eet. (static only)
8* Take result to another mesh from eet. 8 * Take result to another mesh from eet.
9* Show it in right side. 9 * Show it in right side.
10* 10 *
11* @verbatim 11 * @verbatim
12* gcc -o evas-3d-eet evas-3d-eet.c `pkg-config --libs --cflags efl eina evas ecore ecore-evas ecore-file eo` 12 * gcc -o evas-3d-eet evas-3d-eet.c `pkg-config --libs --cflags efl eina evas ecore ecore-evas ecore-file eo`
13* @endverbatim 13 * @endverbatim
14*/ 14 */
15 15
16#ifdef HAVE_CONFIG_H 16#ifdef HAVE_CONFIG_H
17#include "config.h" 17#include "config.h"
diff --git a/src/examples/evas/evas-3d-frustum.c b/src/examples/evas/evas-3d-frustum.c
index 15ed883..e98c112 100644
--- a/src/examples/evas/evas-3d-frustum.c
+++ b/src/examples/evas/evas-3d-frustum.c
@@ -1,4 +1,4 @@
1/* 1/**
2 * This example shows how to work frustum culling. 2 * This example shows how to work frustum culling.
3 * Use 'w'/'s' key to move far frustum plane from/to the camera. 3 * Use 'w'/'s' key to move far frustum plane from/to the camera.
4 * Use 't'/'g' key to move near frustum plane from/to the camera. 4 * Use 't'/'g' key to move near frustum plane from/to the camera.
@@ -8,7 +8,10 @@
8 * Use 'z', 'x', 'c', 'Z', 'X' and 'C' keys to change scaling constants of mesh. 8 * Use 'z', 'x', 'c', 'Z', 'X' and 'C' keys to change scaling constants of mesh.
9 * See in terminal output value distance to far plane of frustum and value of visibility of node 9 * See in terminal output value distance to far plane of frustum and value of visibility of node
10 * @see evas_3d_camera_node_visible_get. 10 * @see evas_3d_camera_node_visible_get.
11 * Compile with "gcc -o evas-3d-frustum evas-3d-frustum.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm" 11 *
12 * @verbatim
13 * gcc -o evas-3d-frustum evas-3d-frustum.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
14 * @endverbatim
12 */ 15 */
13 16
14#ifdef HAVE_CONFIG_H 17#ifdef HAVE_CONFIG_H
diff --git a/src/examples/evas/evas-3d-md2.c b/src/examples/evas/evas-3d-md2.c
index f5344bb..d48926c 100644
--- a/src/examples/evas/evas-3d-md2.c
+++ b/src/examples/evas/evas-3d-md2.c
@@ -1,3 +1,11 @@
1/**
2 * Simple Evas-3D example illustrating import from .md2 format.
3 *
4 * @verbatim
5 * gcc -o evas-3d-md2 evas-3d-md2.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`
6 * @endverbatim
7 */
8
1#ifdef HAVE_CONFIG_H 9#ifdef HAVE_CONFIG_H
2#include "config.h" 10#include "config.h"
3#else 11#else
diff --git a/src/examples/evas/evas-3d-mmap-set.c b/src/examples/evas/evas-3d-mmap-set.c
index 084852b..749dcf8 100644
--- a/src/examples/evas/evas-3d-mmap-set.c
+++ b/src/examples/evas/evas-3d-mmap-set.c
@@ -1,14 +1,14 @@
1/** 1/**
2* Simple Evas example illustrating import from mmap. 2 * Simple Evas example illustrating import from mmap.
3* 3 *
4* Open files to Eina_Files. 4 * Open files to Eina_Files.
5* Read meshes from Eina_Files. 5 * Read meshes from Eina_Files.
6* Show the results. 6 * Show the results.
7* 7 *
8* @verbatim 8 * @verbatim
9* gcc -o evas-3d-mmap-set evas-3d-mmap-set.c `pkg-config --libs --cflags evas ecore ecore-evas eina eo` -lm 9 * gcc -o evas-3d-mmap-set evas-3d-mmap-set.c `pkg-config --libs --cflags evas ecore ecore-evas eina eo` -lm
10* @endverbatim 10 * @endverbatim
11*/ 11 */
12 12
13#ifdef HAVE_CONFIG_H 13#ifdef HAVE_CONFIG_H
14#include "config.h" 14#include "config.h"
diff --git a/src/examples/evas/evas-3d-moon-space.c b/src/examples/evas/evas-3d-moon-space.c
index 928245c..9469dbf 100644
--- a/src/examples/evas/evas-3d-moon-space.c
+++ b/src/examples/evas/evas-3d-moon-space.c
@@ -1,20 +1,21 @@
1/* 1/**
2* This example illustrates the work of different callbacks of events from mouse 2 * This example illustrates the work of different callbacks of events from mouse
3* and keyboard. 3 * and keyboard.
4* 4 *
5* Next tests are available: 5 * Next tests are available:
6* 1. All animations of scene will stop on mouse click on the background. 6 * 1. All animations of scene will stop on mouse click on the background.
7* 2. Clicking of any object on scene causes stop of its movement, but if click on 7 * 2. Clicking of any object on scene causes stop of its movement, but if click on
8* the moon while it is in front of a planet will stop them both. 8 * the moon while it is in front of a planet will stop them both.
9* 3. Camera position can be changed by pressing 'down' or 'up' key. Position of 9 * 3. Camera position can be changed by pressing 'down' or 'up' key. Position of
10* the camera changes in the respective direction. 10 * the camera changes in the respective direction.
11* 4. The 'n' key pressing returns camera to its default position. 11 * 4. The 'n' key pressing returns camera to its default position.
12* 5. One of four types of vertex assembly of planet could be chosen by clicking on 12 * 5. One of four types of vertex assembly of planet could be chosen by clicking on
13* a number from 1 to 4 on keyboard. 13 * a number from 1 to 4 on keyboard.
14 14 *
15* Compile with: 15 * @verbatim
16* gcc -o evas-3d-moon-space evas-3d-moon-space.c -g `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm 16 * gcc -o evas-3d-moon-space evas-3d-moon-space.c -g `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
17*/ 17 * @endverbatim
18 */
18 19
19#ifdef HAVE_CONFIG_H 20#ifdef HAVE_CONFIG_H
20#include "config.h" 21#include "config.h"
diff --git a/src/examples/evas/evas-3d-obj.c b/src/examples/evas/evas-3d-obj.c
index ea86377..cf24ab1 100644
--- a/src/examples/evas/evas-3d-obj.c
+++ b/src/examples/evas/evas-3d-obj.c
@@ -1,17 +1,17 @@
1/** 1/**
2* Simple Evas example illustrating import/export of .obj format. 2 * Simple Evas example illustrating import/export of .obj format.
3* Example demonstrate possibility to load and save mesh without tex_coords or/and normals. 3 * Example demonstrate possibility to load and save mesh without tex_coords or/and normals.
4* 4 *
5* Read mesh from "sweet_home(parameters).obj". 5 * Read mesh from "sweet_home(parameters).obj".
6* After that cheange some properties of material. 6 * After that cheange some properties of material.
7* After that save material to "saved_files/saved_home(parameters).mtl" 7 * After that save material to "saved_files/saved_home(parameters).mtl"
8* and geometry to "saved_files/saved_home(parameters).obj". 8 * and geometry to "saved_files/saved_home(parameters).obj".
9* If material was not set it will be not saved. 9 * If material was not set it will be not saved.
10* 10 *
11* @verbatim 11 * @verbatim
12* gcc -o evas-3d-obj evas-3d-obj.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo` 12 * gcc -o evas-3d-obj evas-3d-obj.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo`
13* @endverbatim 13 * @endverbatim
14*/ 14 */
15 15
16#ifdef HAVE_CONFIG_H 16#ifdef HAVE_CONFIG_H
17#include "config.h" 17#include "config.h"
diff --git a/src/examples/evas/evas-3d-pick.c b/src/examples/evas/evas-3d-pick.c
index dded35e..1e53f56 100644
--- a/src/examples/evas/evas-3d-pick.c
+++ b/src/examples/evas/evas-3d-pick.c
@@ -1,3 +1,15 @@
1/**
2 * This example shows how to attach mechanism of pick.
3 *
4 * Here shown which transformation should be applied to event_info of
5 * _on_mouse_down to make them usable in evas_3d_scene_pick()
6 * and parameters which can be got from this function.
7 *
8 * @verbatim
9 * gcc -o evas-3d-pick evas-3d-pick.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
10 * @endverbatim
11 */
12
1#ifdef HAVE_CONFIG_H 13#ifdef HAVE_CONFIG_H
2#include "config.h" 14#include "config.h"
3#else 15#else
diff --git a/src/examples/evas/evas-3d-ply.c b/src/examples/evas/evas-3d-ply.c
index c35cd60..7377c13 100644
--- a/src/examples/evas/evas-3d-ply.c
+++ b/src/examples/evas/evas-3d-ply.c
@@ -1,15 +1,15 @@
1/** 1/**
2* Simple Evas example illustrating import/export of .ply format. 2 * Simple Evas example illustrating import/export of .ply format.
3* 3 *
4* Read meshes from "tested_man_all_with_mods.ply", "tested_man_only_geometry.ply" and "tested_man_without_UVs.ply". 4 * Read meshes from "tested_man_all_with_mods.ply", "tested_man_only_geometry.ply" and "tested_man_without_UVs.ply".
5* After that cheange some properties of material. 5 * After that cheange some properties of material.
6* After that save material to "saved_man.mtl" 6 * After that save material to "saved_man.mtl"
7* and geometry to "saved_man_all_with_mods.ply", "saved_man_only_geometry.ply" and "saved_man_without_UVs.ply". 7 * and geometry to "saved_man_all_with_mods.ply", "saved_man_only_geometry.ply" and "saved_man_without_UVs.ply".
8* 8 *
9* @verbatim 9 * @verbatim
10* gcc -o evas-3d-ply evas-3d-ply.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo` 10 * gcc -o evas-3d-ply evas-3d-ply.c `pkg-config --libs --cflags efl evas ecore ecore-evas ecore-file eo`
11* @endverbatim 11 * @endverbatim
12*/ 12 */
13//TODO new resources 13//TODO new resources
14 14
15#ifdef HAVE_CONFIG_H 15#ifdef HAVE_CONFIG_H
diff --git a/src/examples/evas/evas-3d-proxy.c b/src/examples/evas/evas-3d-proxy.c
index a37358d..c6375e7 100644
--- a/src/examples/evas/evas-3d-proxy.c
+++ b/src/examples/evas/evas-3d-proxy.c
@@ -1,3 +1,13 @@
1/**
2 * Evas-3D example illustrating usage of evas_3d_texture_source_set()
3 *
4 * Data which will be used as texture can be generated directly in application.
5 *
6 * @verbatim
7 * gcc -o evas-3d-proxy evas-3d-proxy.c `pkg-config --libs --cflags evas ecore ecore-evas eo`
8 * @endverbatim
9 */
10
1#define EFL_EO_API_SUPPORT 11#define EFL_EO_API_SUPPORT
2#define EFL_BETA_API_SUPPORT 12#define EFL_BETA_API_SUPPORT
3 13
diff --git a/src/examples/evas/evas-3d-shadows.c b/src/examples/evas/evas-3d-shadows.c
index 3170eb7..6ad0479 100644
--- a/src/examples/evas/evas-3d-shadows.c
+++ b/src/examples/evas/evas-3d-shadows.c
@@ -1,11 +1,13 @@
1/* 1/**
2 * This example illustrating use of shadows in the scene and callbacks(clicked, collision). 2 * This example illustrating use of shadows in the scene and callbacks(clicked, collision).
3 * Model and cube are clickable. Model detects collision with sphere. 3 * Model and cube are clickable. Model detects collision with sphere.
4 * Cube detects collision with sphere, model and cone. 4 * Cube detects collision with sphere, model and cone.
5 * @see evas_3d_scene_shadows_enable_set(Eina_Bool _shadows_enabled) 5 * @see evas_3d_scene_shadows_enable_set(Eina_Bool _shadows_enabled)
6 * @see evas_3d_object_callback_register 6 * @see evas_3d_object_callback_register
7 * 7 *
8 * Compile with gcc -o gcc -o evas-3d-shadows evas-3d-shadows.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo eina` -lm 8 * @verbatim
9 * gcc -o gcc -o evas-3d-shadows evas-3d-shadows.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo eina` -lm
10 * @endverbatim
9 */ 11 */
10 12
11#ifdef HAVE_CONFIG_H 13#ifdef HAVE_CONFIG_H
diff --git a/src/examples/evas/evas-buffer-simple.c b/src/examples/evas/evas-buffer-simple.c
index 6676ef1..ea25e93 100644
--- a/src/examples/evas/evas-buffer-simple.c
+++ b/src/examples/evas/evas-buffer-simple.c
@@ -4,13 +4,11 @@
4 * You must have Evas compiled with the buffer engine, and have the 4 * You must have Evas compiled with the buffer engine, and have the
5 * evas-software-buffer pkg-config files installed. 5 * evas-software-buffer pkg-config files installed.
6 * 6 *
7 * Compile with:
8 *
9 * @verbatim 7 * @verbatim
10 * gcc -o evas-buffer-simple evas-buffer-simple.c `pkg-config --libs --cflags evas evas-software-buffer` 8 * gcc -o evas-buffer-simple evas-buffer-simple.c `pkg-config --libs --cflags evas evas-software-buffer`
11 * @endverbatim 9 * @endverbatim
12 *
13 */ 10 */
11
14#include <Evas.h> 12#include <Evas.h>
15#include <Evas_Engine_Buffer.h> 13#include <Evas_Engine_Buffer.h>
16#include <stdio.h> 14#include <stdio.h>
@@ -28,6 +26,7 @@
28 * automatic render of updates (draw_scene()) when system goes back to 26 * automatic render of updates (draw_scene()) when system goes back to
29 * main loop. 27 * main loop.
30 */ 28 */
29
31static Evas *create_canvas(int width, int height); 30static Evas *create_canvas(int width, int height);
32static void destroy_canvas(Evas *canvas); 31static void destroy_canvas(Evas *canvas);
33static void draw_scene(Evas *canvas); 32static void draw_scene(Evas *canvas);
diff --git a/src/examples/evas/evas-gl.c b/src/examples/evas/evas-gl.c
index 51e82f3..8a3099b 100644
--- a/src/examples/evas/evas-gl.c
+++ b/src/examples/evas/evas-gl.c
@@ -1,4 +1,13 @@
1//Add Evas_GL.h for Evas GL APIs access. 1/**
2 * Evas example illustrating work with GL APIs.
3 *
4 * Evas_GL.h should be added for Evas GL APIs access.
5 *
6 * @verbatim
7 * gcc -o evas-gl evas-gl.c `pkg-config --libs --cflags evas ecore ecore-evas` -lm
8 * @endverbatim
9 */
10
2#include <Ecore.h> 11#include <Ecore.h>
3#include <Ecore_Evas.h> 12#include <Ecore_Evas.h>
4#include <Evas_GL.h> 13#include <Evas_GL.h>
diff --git a/src/examples/evas/evas-init-shutdown.c b/src/examples/evas/evas-init-shutdown.c
index eb20089..3d1adfd 100644
--- a/src/examples/evas/evas-init-shutdown.c
+++ b/src/examples/evas/evas-init-shutdown.c
@@ -17,17 +17,6 @@
17#include <stdio.h> 17#include <stdio.h>
18#include <errno.h> 18#include <errno.h>
19 19
20/*
21 * Simple example illustrating usage of evas_init() and
22 * evas_shutdown(). Usually one would instantiate a canvas to have
23 * something useful out of Evas. For an example of this kind, see the
24 * evas-buffer-simple.c, which requires the buffer engine module
25 * compiled in Evas.
26 *
27 * Here, we are just listing the engine Evas was compiled with support
28 * to.
29 */
30
31int 20int
32main(void) 21main(void)
33{ 22{
diff --git a/src/examples/evas/evas-multi-touch.c b/src/examples/evas/evas-multi-touch.c
index 6cd5b4d..f1d344c 100644
--- a/src/examples/evas/evas-multi-touch.c
+++ b/src/examples/evas/evas-multi-touch.c
@@ -1,3 +1,14 @@
1/**
2 * Simple Evas example illustrating usage of multi touch.
3 *
4 * You'll need at least one engine built for it (excluding the buffer
5 * one) and the png image loader also built.
6 *
7 * @verbatim
8 * gcc -o evas-multi-touch evas-multi-touch.c `pkg-config --libs --cflags evas ecore ecore-evas eina` -lm
9 * @endverbatim
10 */
11
1#ifdef HAVE_CONFIG_H 12#ifdef HAVE_CONFIG_H
2#include "config.h" 13#include "config.h"
3#endif 14#endif