summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-04-25 16:28:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-04-25 16:28:44 -0700
commit9a9dcd5e4431f58f1ebe634fa325cc117edd1339 (patch)
treeb68e12c7bafa2b94bc7385df85646c6cd2ee3eb4 /src/examples
parente105646041545ee3c8a0acc3cbac73dc36ed9e95 (diff)
examples/evas: fix spelling
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4807 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-aabb.c2
-rw-r--r--src/examples/evas/evas-3d-blending.c4
-rw-r--r--src/examples/evas/evas-3d-colorpick.c2
-rw-r--r--src/examples/evas/evas-3d-cube-rotate.c4
-rw-r--r--src/examples/evas/evas-3d-cube.c4
-rw-r--r--src/examples/evas/evas-3d-cube2.c4
-rw-r--r--src/examples/evas/evas-3d-eet.c4
-rw-r--r--src/examples/evas/evas-3d-fog.c4
-rw-r--r--src/examples/evas/evas-3d-hull.c8
-rw-r--r--src/examples/evas/evas-3d-md2.c4
-rw-r--r--src/examples/evas/evas-3d-mmap-set.c4
-rw-r--r--src/examples/evas/evas-3d-obj.c6
-rw-r--r--src/examples/evas/evas-3d-parallax-occlusion.c4
-rw-r--r--src/examples/evas/evas-3d-pick.c2
-rw-r--r--src/examples/evas/evas-3d-ply.c6
-rw-r--r--src/examples/evas/evas-3d-proxy.c4
-rw-r--r--src/examples/evas/evas-3d-shadows.c6
-rw-r--r--src/examples/evas/evas-3d-static-lod.c10
-rw-r--r--src/examples/evas/evas-aspect-hints.c2
-rw-r--r--src/examples/evas/evas-gl.c2
-rw-r--r--src/examples/evas/evas-images4.c2
-rw-r--r--src/examples/evas/evas-images5.c2
-rw-r--r--src/examples/evas/evas-object-manipulation-eo.c2
-rw-r--r--src/examples/evas/evas-text.c2
-rw-r--r--src/examples/evas/evas-textblock-obstacles.c2
25 files changed, 48 insertions, 48 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index bc97434..15dc67f 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -2,7 +2,7 @@
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 _redraw_aabb(); 4 * @see _redraw_aabb();
5 * Rotate axises (keys 1-4) for model and bounding box view from another angle. 5 * Rotate axes (keys 1-4) for model and bounding box view from another angle.
6 * 6 *
7 * @verbatim 7 * @verbatim
8 * gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm 8 * gcc -o evas-3d-aabb evas-3d-aabb.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
diff --git a/src/examples/evas/evas-3d-blending.c b/src/examples/evas/evas-3d-blending.c
index ab9ea9c..8687905 100644
--- a/src/examples/evas/evas-3d-blending.c
+++ b/src/examples/evas/evas-3d-blending.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * Example illustrating usage of blending modes. Press "Up" or "Down" key for change source blending factor. 2 * Example illustrating usage of blending modes. Press "Up" or "Down" key for change source blending factor.
3 * Press "Left" or "Right" for change destination blending factors. 3 * Press "Left" or "Right" for change destination blending factors.
4 * For more detailes see https://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml 4 * For more details see https://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml
5 * 5 *
6 * @verbatim 6 * @verbatim
7 * gcc -o evas-3d-blending evas-3d-blending.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm 7 * gcc -o evas-3d-blending evas-3d-blending.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
@@ -280,7 +280,7 @@ main(void)
280 280
281 _scene_setup(&data); 281 _scene_setup(&data);
282 282
283 /* Add a background rectangle objects. */ 283 /* Add a background rectangle object. */
284 background = evas_object_rectangle_add(evas); 284 background = evas_object_rectangle_add(evas);
285 evas_object_color_set(background, 0, 0, 0, 255); 285 evas_object_color_set(background, 0, 0, 0, 255);
286 evas_object_move(background, 0, 0); 286 evas_object_move(background, 0, 0);
diff --git a/src/examples/evas/evas-3d-colorpick.c b/src/examples/evas/evas-3d-colorpick.c
index 751fe3e..2b04e64 100644
--- a/src/examples/evas/evas-3d-colorpick.c
+++ b/src/examples/evas/evas-3d-colorpick.c
@@ -5,7 +5,7 @@
5 * in terminal time response of the found node. 5 * in terminal time response of the found node.
6 * Use key UP/DOWN for changing z coordinate of camera 6 * Use key UP/DOWN for changing z coordinate of camera
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, 8 * Use shortcut parameters of commandline: r - rows of objects, c - columns of objects,
9 * p - precision of the spheres, t - path for a texture. 9 * p - precision of the spheres, t - path for a texture.
10 * 10 *
11 * @verbatim 11 * @verbatim
diff --git a/src/examples/evas/evas-3d-cube-rotate.c b/src/examples/evas/evas-3d-cube-rotate.c
index c7da14a..3e38bd0 100644
--- a/src/examples/evas/evas-3d-cube-rotate.c
+++ b/src/examples/evas/evas-3d-cube-rotate.c
@@ -1,7 +1,7 @@
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 automatically,
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
@@ -251,7 +251,7 @@ main(void)
251 memset(&data, 0, sizeof(Scene_Data)); 251 memset(&data, 0, sizeof(Scene_Data));
252 _scene_setup(&data); 252 _scene_setup(&data);
253 253
254 /* Add a background rectangle objects. */ 254 /* Add a background rectangle object. */
255 background = evas_object_rectangle_add(evas); 255 background = evas_object_rectangle_add(evas);
256 evas_object_color_set(background, 0, 0, 0, 255); 256 evas_object_color_set(background, 0, 0, 0, 255);
257 evas_object_move(background, 0, 0); 257 evas_object_move(background, 0, 0);
diff --git a/src/examples/evas/evas-3d-cube.c b/src/examples/evas/evas-3d-cube.c
index a223a72..49377cb 100644
--- a/src/examples/evas/evas-3d-cube.c
+++ b/src/examples/evas/evas-3d-cube.c
@@ -218,7 +218,7 @@ _scene_setup(Scene_Data *data)
218int 218int
219main(void) 219main(void)
220{ 220{
221 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 221 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
222 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 222 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
223 223
224 Scene_Data data; 224 Scene_Data data;
@@ -236,7 +236,7 @@ main(void)
236 236
237 _scene_setup(&data); 237 _scene_setup(&data);
238 238
239 /* Add a background rectangle objects. */ 239 /* Add a background rectangle object. */
240 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 240 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
241 efl_gfx_color_set(background, 0, 0, 0, 255); 241 efl_gfx_color_set(background, 0, 0, 0, 255);
242 efl_gfx_size_set(background, WIDTH, HEIGHT); 242 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index b8609f2..a9d69f2 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -214,7 +214,7 @@ _scene_setup(Scene_Data *data)
214int 214int
215main(void) 215main(void)
216{ 216{
217 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 217 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
218 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 218 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
219 219
220 Scene_Data data; 220 Scene_Data data;
@@ -233,7 +233,7 @@ main(void)
233 233
234 _scene_setup(&data); 234 _scene_setup(&data);
235 235
236 /* Add a background rectangle objects. */ 236 /* Add a background rectangle object. */
237 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 237 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
238 efl_gfx_color_set(background, 0, 0, 0, 255); 238 efl_gfx_color_set(background, 0, 0, 0, 255);
239 efl_gfx_size_set(background, WIDTH, HEIGHT); 239 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-eet.c b/src/examples/evas/evas-3d-eet.c
index 5393838..1a17f66 100644
--- a/src/examples/evas/evas-3d-eet.c
+++ b/src/examples/evas/evas-3d-eet.c
@@ -99,7 +99,7 @@ _on_canvas_resize(Ecore_Evas *ee)
99int 99int
100main(void) 100main(void)
101{ 101{
102 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 102 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
103 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 103 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
104 104
105 if (!ecore_evas_init()) return 0; 105 if (!ecore_evas_init()) return 0;
@@ -185,7 +185,7 @@ main(void)
185 evas_canvas3d_scene_camera_node_set(scene, camera_node); 185 evas_canvas3d_scene_camera_node_set(scene, camera_node);
186 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT); 186 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT);
187 187
188 /* Add a background rectangle objects. */ 188 /* Add a background rectangle object. */
189 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 189 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
190 efl_gfx_color_set(background, 0, 0, 0, 255); 190 efl_gfx_color_set(background, 0, 0, 0, 255);
191 efl_gfx_size_set(background, WIDTH, HEIGHT); 191 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-fog.c b/src/examples/evas/evas-3d-fog.c
index 25fbc66..2f7d867 100644
--- a/src/examples/evas/evas-3d-fog.c
+++ b/src/examples/evas/evas-3d-fog.c
@@ -191,7 +191,7 @@ _scene_setup(Scene_Data *data)
191int 191int
192main(void) 192main(void)
193{ 193{
194 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 194 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
195 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 195 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
196 Scene_Data data; 196 Scene_Data data;
197 Ecore_Animator *anim; 197 Ecore_Animator *anim;
@@ -210,7 +210,7 @@ main(void)
210 210
211 _scene_setup(&data); 211 _scene_setup(&data);
212 212
213 /* Add a background rectangle objects. */ 213 /* Add a background rectangle object. */
214 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 214 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
215 efl_gfx_color_set(background, 0, 0, 0, 255); 215 efl_gfx_color_set(background, 0, 0, 0, 255);
216 efl_gfx_size_set(background, WIDTH, HEIGHT); 216 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-hull.c b/src/examples/evas/evas-3d-hull.c
index 0b00cac..2c35490 100644
--- a/src/examples/evas/evas-3d-hull.c
+++ b/src/examples/evas/evas-3d-hull.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * This example is a testing example, first model (from the right side) is 2 * This example is a testing example, first model (from the right side) is
3 * original model, the second one is convex hull maden in evas-3d, 3 * original model, the second one is convex hull made in evas-3d,
4 * the third one is convex hull maden in blender. 4 * the third one is convex hull made in blender.
5 * 5 *
6 * Press "Right" or "Left" to switch models, the result of test (vertex count) 6 * Press "Right" or "Left" to switch models, the result of test (vertex count)
7 * will be printed in console window. 7 * will be printed in console window.
@@ -410,7 +410,7 @@ main(void)
410 Ecore_Animator *anim; 410 Ecore_Animator *anim;
411 Scene_Data data; 411 Scene_Data data;
412 412
413 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 413 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
414 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 414 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
415 415
416 if (!ecore_evas_init()) return 0; 416 if (!ecore_evas_init()) return 0;
@@ -428,7 +428,7 @@ main(void)
428 428
429 _scene_setup(&data); 429 _scene_setup(&data);
430 430
431 /* Add a background rectangle objects. */ 431 /* Add a background rectangle object. */
432 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 432 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
433 efl_gfx_color_set(background, 0, 0, 0, 255); 433 efl_gfx_color_set(background, 0, 0, 0, 255);
434 efl_gfx_size_set(background, WIDTH, HEIGHT); 434 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-md2.c b/src/examples/evas/evas-3d-md2.c
index 4203b8a..36354ce 100644
--- a/src/examples/evas/evas-3d-md2.c
+++ b/src/examples/evas/evas-3d-md2.c
@@ -75,7 +75,7 @@ _on_canvas_resize(Ecore_Evas *ee)
75int 75int
76main(void) 76main(void)
77{ 77{
78 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 78 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
79 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 79 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
80 80
81 if (!ecore_evas_init()) return 0; 81 if (!ecore_evas_init()) return 0;
@@ -151,7 +151,7 @@ main(void)
151 evas_canvas3d_scene_camera_node_set(scene, camera_node); 151 evas_canvas3d_scene_camera_node_set(scene, camera_node);
152 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT); 152 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT);
153 153
154 /* Add a background rectangle objects. */ 154 /* Add a background rectangle object. */
155 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 155 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
156 efl_gfx_color_set(background, 0, 0, 0, 255); 156 efl_gfx_color_set(background, 0, 0, 0, 255);
157 efl_gfx_size_set(background, WIDTH, HEIGHT); 157 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-mmap-set.c b/src/examples/evas/evas-3d-mmap-set.c
index 2c8269b..36ee9b7 100644
--- a/src/examples/evas/evas-3d-mmap-set.c
+++ b/src/examples/evas/evas-3d-mmap-set.c
@@ -165,7 +165,7 @@ main(void)
165 char buffer[PATH_MAX]; 165 char buffer[PATH_MAX];
166 Eina_File *obj_file, *ply_file, *eet_file, *md2_file; 166 Eina_File *obj_file, *ply_file, *eet_file, *md2_file;
167 167
168 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 168 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
169 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 169 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
170 170
171 if (!ecore_evas_init()) return 0; 171 if (!ecore_evas_init()) return 0;
@@ -232,7 +232,7 @@ main(void)
232 evas_canvas3d_scene_camera_node_set(scene, camera_node); 232 evas_canvas3d_scene_camera_node_set(scene, camera_node);
233 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT); 233 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT);
234 234
235 /* Add a background rectangle objects. */ 235 /* Add a background rectangle object. */
236 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 236 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
237 efl_gfx_color_set(background, 20, 20, 200, 255); 237 efl_gfx_color_set(background, 20, 20, 200, 255);
238 efl_gfx_size_set(background, WIDTH, HEIGHT); 238 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-obj.c b/src/examples/evas/evas-3d-obj.c
index ea3874d..262dc9e 100644
--- a/src/examples/evas/evas-3d-obj.c
+++ b/src/examples/evas/evas-3d-obj.c
@@ -1,9 +1,9 @@
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 demonstrates 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 change 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.
@@ -141,7 +141,7 @@ main(void)
141{ 141{
142 int i; 142 int i;
143 char buffer[PATH_MAX], full_file_path[PATH_MAX]; 143 char buffer[PATH_MAX], full_file_path[PATH_MAX];
144 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 144 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
145 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 145 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
146 146
147 if (!ecore_evas_init()) return 0; 147 if (!ecore_evas_init()) return 0;
diff --git a/src/examples/evas/evas-3d-parallax-occlusion.c b/src/examples/evas/evas-3d-parallax-occlusion.c
index 7175546..a6641aa 100644
--- a/src/examples/evas/evas-3d-parallax-occlusion.c
+++ b/src/examples/evas/evas-3d-parallax-occlusion.c
@@ -217,7 +217,7 @@ _scene_setup(Scene_Data *data)
217int 217int
218main(void) 218main(void)
219{ 219{
220 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 220 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
221 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 221 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
222 222
223 Scene_Data data; 223 Scene_Data data;
@@ -236,7 +236,7 @@ main(void)
236 236
237 _scene_setup(&data); 237 _scene_setup(&data);
238 238
239 /* Add a background rectangle objects. */ 239 /* Add a background rectangle object. */
240 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 240 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
241 efl_gfx_color_set(background, 0, 0, 0, 255); 241 efl_gfx_color_set(background, 0, 0, 0, 255);
242 efl_gfx_size_set(background, WIDTH, HEIGHT); 242 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-pick.c b/src/examples/evas/evas-3d-pick.c
index 4ecf9c6..095c43a 100644
--- a/src/examples/evas/evas-3d-pick.c
+++ b/src/examples/evas/evas-3d-pick.c
@@ -101,7 +101,7 @@ _on_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EIN
101int 101int
102main(void) 102main(void)
103{ 103{
104 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 104 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
105 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 105 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
106 106
107 if (!ecore_evas_init()) return 0; 107 if (!ecore_evas_init()) return 0;
diff --git a/src/examples/evas/evas-3d-ply.c b/src/examples/evas/evas-3d-ply.c
index 4e6de36..6a5c748 100644
--- a/src/examples/evas/evas-3d-ply.c
+++ b/src/examples/evas/evas-3d-ply.c
@@ -2,7 +2,7 @@
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 change 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 *
@@ -114,7 +114,7 @@ main(void)
114 mesh[i] = NULL; 114 mesh[i] = NULL;
115 } 115 }
116 116
117 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 117 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
118 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 118 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
119 119
120 if (!ecore_evas_init()) return 0; 120 if (!ecore_evas_init()) return 0;
@@ -207,7 +207,7 @@ main(void)
207 evas_canvas3d_scene_camera_node_set(scene, camera_node); 207 evas_canvas3d_scene_camera_node_set(scene, camera_node);
208 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT); 208 evas_canvas3d_scene_size_set(scene, WIDTH, HEIGHT);
209 209
210 /* Add a background rectangle objects. */ 210 /* Add a background rectangle object. */
211 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 211 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
212 efl_gfx_color_set(background, 100, 100, 100, 255); 212 efl_gfx_color_set(background, 100, 100, 100, 255);
213 efl_gfx_size_set(background, WIDTH, HEIGHT); 213 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-proxy.c b/src/examples/evas/evas-3d-proxy.c
index c7babf5..d0be4f3 100644
--- a/src/examples/evas/evas-3d-proxy.c
+++ b/src/examples/evas/evas-3d-proxy.c
@@ -201,7 +201,7 @@ _scene_setup(Scene_Data *data)
201int 201int
202main(void) 202main(void)
203{ 203{
204 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 204 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
205 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 205 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
206 206
207 Scene_Data data; 207 Scene_Data data;
@@ -218,7 +218,7 @@ main(void)
218 218
219 evas = ecore_evas_get(ecore_evas); 219 evas = ecore_evas_get(ecore_evas);
220 220
221 /* Add a background rectangle objects. */ 221 /* Add a background rectangle object. */
222 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 222 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
223 efl_gfx_color_set(background, 0, 0, 0, 255); 223 efl_gfx_color_set(background, 0, 0, 0, 255);
224 efl_gfx_size_set(background, WIDTH, HEIGHT); 224 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-shadows.c b/src/examples/evas/evas-3d-shadows.c
index 8b4d710..b1f5ba9 100644
--- a/src/examples/evas/evas-3d-shadows.c
+++ b/src/examples/evas/evas-3d-shadows.c
@@ -1,5 +1,5 @@
1/** 1/**
2 * This example illustrating use of shadows, callbacks(clicked, collision), 2 * This example illustrates use of shadows, callbacks(clicked, collision),
3 * technic of the billboard and post proccesing render with anti-aliasing. 3 * technic of the billboard and post proccesing render with anti-aliasing.
4 * Model and cube are clickable. Model detects collision with sphere. 4 * Model and cube are clickable. Model detects collision with sphere.
5 * Cube detects collision with sphere, model and cone. Model and cude are moveable. 5 * Cube detects collision with sphere, model and cone. Model and cude are moveable.
@@ -619,7 +619,7 @@ main(void)
619 Scene_Data data; 619 Scene_Data data;
620 Ecore_Animator *anim; 620 Ecore_Animator *anim;
621 Eina_List *nodes1 = NULL, *nodes2 = NULL; 621 Eina_List *nodes1 = NULL, *nodes2 = NULL;
622 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 622 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
623 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 623 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
624 if (!ecore_evas_init()) return 0; 624 if (!ecore_evas_init()) return 0;
625 625
@@ -634,7 +634,7 @@ main(void)
634 634
635 _scene_setup(&data); 635 _scene_setup(&data);
636 636
637 /* Add a background rectangle objects. */ 637 /* Add a background rectangle object. */
638 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 638 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
639 efl_gfx_color_set(background, 0, 0, 0, 255); 639 efl_gfx_color_set(background, 0, 0, 0, 255);
640 efl_gfx_size_set(background, WIDTH, HEIGHT); 640 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-3d-static-lod.c b/src/examples/evas/evas-3d-static-lod.c
index 6e803ec..0a77503 100644
--- a/src/examples/evas/evas-3d-static-lod.c
+++ b/src/examples/evas/evas-3d-static-lod.c
@@ -1,7 +1,7 @@
1/** 1/**
2 * This example illustrating using static LOD technic. 2 * This example illustrates using static LOD technic.
3 * Main idea using several meshes with different quantity of polygons, 3 * Main idea using several meshes with different quantity of polygons,
4 * render mesh depend on distance to the camera node. 4 * render mesh depends on distance to the camera node.
5 * Use key up/down to change animtion style: 5 * Use key up/down to change animtion style:
6 * Up (default) object motion 6 * Up (default) object motion
7 * Down camera motion 7 * Down camera motion
@@ -172,7 +172,7 @@ _mesh_setup(Scene_Data *data)
172 evas_canvas3d_node_constructor(efl_added, EVAS_CANVAS3D_NODE_TYPE_NODE)); 172 evas_canvas3d_node_constructor(efl_added, EVAS_CANVAS3D_NODE_TYPE_NODE));
173 evas_canvas3d_node_scale_set(data->complex_node, 30.0, 30.0, 30.0); 173 evas_canvas3d_node_scale_set(data->complex_node, 30.0, 30.0, 30.0);
174 174
175 /* Setup mesh. One model, two meshes object with dufferent lod distances.*/ 175 /* Setup mesh. One model, two meshes object with different lod distances.*/
176 for (i = 0; i <= NUMBER_MESHS; i++) 176 for (i = 0; i <= NUMBER_MESHS; i++)
177 { 177 {
178 Eo *mesh = efl_add(EVAS_CANVAS3D_MESH_CLASS, evas); 178 Eo *mesh = efl_add(EVAS_CANVAS3D_MESH_CLASS, evas);
@@ -232,7 +232,7 @@ _on_key_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *eo EINA_U
232int 232int
233main(void) 233main(void)
234{ 234{
235 //Unless Evas 3D supports Software renderer, we set gl backened forcely. 235 // Unless Evas 3D supports Software renderer, we set gl backend forcely.
236 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1); 236 setenv("ECORE_EVAS_ENGINE", "opengl_x11", 1);
237 237
238 Scene_Data data; 238 Scene_Data data;
@@ -250,7 +250,7 @@ main(void)
250 250
251 _scene_setup(&data); 251 _scene_setup(&data);
252 252
253 /* Add a background rectangle objects. */ 253 /* Add a background rectangle object. */
254 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas); 254 background = efl_add(EFL_CANVAS_RECTANGLE_CLASS, evas);
255 efl_gfx_color_set(background, 0, 0, 0, 255); 255 efl_gfx_color_set(background, 0, 0, 0, 255);
256 efl_gfx_size_set(background, WIDTH, HEIGHT); 256 efl_gfx_size_set(background, WIDTH, HEIGHT);
diff --git a/src/examples/evas/evas-aspect-hints.c b/src/examples/evas/evas-aspect-hints.c
index 7a05d2c..f5caf43 100644
--- a/src/examples/evas/evas-aspect-hints.c
+++ b/src/examples/evas/evas-aspect-hints.c
@@ -109,7 +109,7 @@ _on_keydown(void *data EINA_UNUSED,
109 evas_object_size_hint_aspect_get(d.rect, &aspect, &w, &h); 109 evas_object_size_hint_aspect_get(d.rect, &aspect, &w, &h);
110 110
111 printf("Object has aspect %s, with horizontal compontent %d" 111 printf("Object has aspect %s, with horizontal compontent %d"
112 " and vertical compontent %d\n", 112 " and vertical component %d\n",
113 _get_aspect_name(aspect), w, h); 113 _get_aspect_name(aspect), w, h);
114 114
115 return; 115 return;
diff --git a/src/examples/evas/evas-gl.c b/src/examples/evas/evas-gl.c
index 62c213e..a11a51f 100644
--- a/src/examples/evas/evas-gl.c
+++ b/src/examples/evas/evas-gl.c
@@ -428,7 +428,7 @@ evas_gl_exam(Evas_Object *win)
428 evas_object_event_callback_add(gldata.img, EVAS_CALLBACK_DEL, img_del_cb, &gldata); 428 evas_object_event_callback_add(gldata.img, EVAS_CALLBACK_DEL, img_del_cb, &gldata);
429 429
430 //Set up an actual pixel size for the buffer data. It may be different to the 430 //Set up an actual pixel size for the buffer data. It may be different to the
431 //output size. Any windowing sysmtem has something like this, just evas has 2 431 //output size. Any windowing system has something like this, just evas has 2
432 //sizes, a pixel size and the output object size. 432 //sizes, a pixel size and the output object size.
433 evas_object_image_size_set(gldata.img, w, h); 433 evas_object_image_size_set(gldata.img, w, h);
434 434
diff --git a/src/examples/evas/evas-images4.c b/src/examples/evas/evas-images4.c
index 56c9f57..d8b221d 100644
--- a/src/examples/evas/evas-images4.c
+++ b/src/examples/evas/evas-images4.c
@@ -153,7 +153,7 @@ main(void)
153 else 153 else
154 { 154 {
155 printf( 155 printf(
156 "loaded image '%s' with succes! error string is \"%s\"\n", 156 "loaded image '%s' with success! error string is \"%s\"\n",
157 img_path, evas_load_error_str(err)); 157 img_path, evas_load_error_str(err));
158 158
159 evas_object_move(d.img, WIDTH / 2, HEIGHT / 2); 159 evas_object_move(d.img, WIDTH / 2, HEIGHT / 2);
diff --git a/src/examples/evas/evas-images5.c b/src/examples/evas/evas-images5.c
index 7980822..289cd8a 100644
--- a/src/examples/evas/evas-images5.c
+++ b/src/examples/evas/evas-images5.c
@@ -171,7 +171,7 @@ main(void)
171 else 171 else
172 { 172 {
173 printf( 173 printf(
174 "loaded image '%s' with succes! error string is \"%s\"\n", 174 "loaded image '%s' with success! error string is \"%s\"\n",
175 img_path, evas_load_error_str(err)); 175 img_path, evas_load_error_str(err));
176 176
177 evas_object_move(d.img, WIDTH / 2, HEIGHT / 2); 177 evas_object_move(d.img, WIDTH / 2, HEIGHT / 2);
diff --git a/src/examples/evas/evas-object-manipulation-eo.c b/src/examples/evas/evas-object-manipulation-eo.c
index 258ca41..4c5c444 100644
--- a/src/examples/evas/evas-object-manipulation-eo.c
+++ b/src/examples/evas/evas-object-manipulation-eo.c
@@ -173,7 +173,7 @@ main(void)
173 d.canvas = ecore_evas_get(d.ee); 173 d.canvas = ecore_evas_get(d.ee);
174 174
175 /* Creating object with Eo. 175 /* Creating object with Eo.
176 * Object must be deleted explixitly at the end of program.*/ 176 * Object must be deleted explicitly at the end of program.*/
177 d.bg = efl_add(EFL_CANVAS_RECTANGLE_CLASS, d.canvas); 177 d.bg = efl_add(EFL_CANVAS_RECTANGLE_CLASS, d.canvas);
178 178
179 /* Eo-styled way to perform actions on an object*/ 179 /* Eo-styled way to perform actions on an object*/
diff --git a/src/examples/evas/evas-text.c b/src/examples/evas/evas-text.c
index bfca1b9..f58563e 100644
--- a/src/examples/evas/evas-text.c
+++ b/src/examples/evas/evas-text.c
@@ -349,7 +349,7 @@ main(void)
349 d.text = evas_object_text_add(d.evas); 349 d.text = evas_object_text_add(d.evas);
350 evas_object_text_style_set(d.text, EVAS_TEXT_STYLE_PLAIN); 350 evas_object_text_style_set(d.text, EVAS_TEXT_STYLE_PLAIN);
351 351
352 /* let the pre-set thingies be enforced */ 352 /* let the pre-set things be enforced */
353 evas_object_color_set( 353 evas_object_color_set(
354 d.text, d.t_data.text_ptr->r, d.t_data.text_ptr->g, 354 d.text, d.t_data.text_ptr->r, d.t_data.text_ptr->g,
355 d.t_data.text_ptr->b, d.t_data.text_ptr->a); 355 d.t_data.text_ptr->b, d.t_data.text_ptr->a);
diff --git a/src/examples/evas/evas-textblock-obstacles.c b/src/examples/evas/evas-textblock-obstacles.c
index a6df1e6..c466775 100644
--- a/src/examples/evas/evas-textblock-obstacles.c
+++ b/src/examples/evas/evas-textblock-obstacles.c
@@ -212,7 +212,7 @@ _text_init()
212 _style_set("word"); 212 _style_set("word");
213 213
214 evas_object_textblock_text_markup_set(d.text, 214 evas_object_textblock_text_markup_set(d.text,
215 "This is an example text to demonstrate the textblock object" 215 "This example text demonstrates the textblock object"
216 " with obstacle objects support." 216 " with obstacle objects support."
217 " Any evas object <item size=72x16></item>can register itself as an obstacle to the textblock" 217 " Any evas object <item size=72x16></item>can register itself as an obstacle to the textblock"
218 " object. Upon reg<color=#0ff>stering, it aff</color>ects the layout of the text in" 218 " object. Upon reg<color=#0ff>stering, it aff</color>ects the layout of the text in"