summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorse.osadchy <se.osadchy@samsung.com>2015-04-15 12:16:48 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-15 12:16:51 +0200
commit7eab0e16037a5e3a0979cfb02f707e051540a081 (patch)
treea32507658340901e2e4a6ddc1bfd53dda921e4dc /src/examples
parente891c56f60280c3db6d95833326b78dda7ea0edb (diff)
evas: fix compilation in the Evas 3D examples.
Summary: Fix compilation line. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2340 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-3d-blending.c2
-rw-r--r--src/examples/evas/evas-3d-cube.c2
-rw-r--r--src/examples/evas/evas-3d-cube2.c2
-rw-r--r--src/examples/evas/evas-3d-fog.c16
-rw-r--r--src/examples/evas/evas-3d-mmap-set.c2
-rw-r--r--src/examples/evas/evas-3d-pick.c2
-rw-r--r--src/examples/evas/evas-3d-proxy.c2
7 files changed, 14 insertions, 14 deletions
diff --git a/src/examples/evas/evas-3d-blending.c b/src/examples/evas/evas-3d-blending.c
index 2176fde..b40be0c 100644
--- a/src/examples/evas/evas-3d-blending.c
+++ b/src/examples/evas/evas-3d-blending.c
@@ -4,7 +4,7 @@
4 * For more detailes see https://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml 4 * For more detailes 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 evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo`-lm 7 * gcc -o evas-3d-blending evas-3d-blending.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
8 * @endverbatim 8 * @endverbatim
9 */ 9 */
10 10
diff --git a/src/examples/evas/evas-3d-cube.c b/src/examples/evas/evas-3d-cube.c
index 14a5ec8..02067c2 100644
--- a/src/examples/evas/evas-3d-cube.c
+++ b/src/examples/evas/evas-3d-cube.c
@@ -4,7 +4,7 @@
4 * This example is the best to start introduction to usage of Evas-3D. 4 * This example is the best to start introduction to usage of Evas-3D.
5 * 5 *
6 * @verbatim 6 * @verbatim
7 * gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags evas ecore ecore-evas eo` 7 * gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`
8 * @endverbatim 8 * @endverbatim
9 */ 9 */
10 10
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index aff4fdb..2facb04 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -3,7 +3,7 @@
3 * by interpolation between frames. 3 * by interpolation between frames.
4 * 4 *
5 * @verbatim 5 * @verbatim
6 * gcc -o evas-3d-cube2 evas-3d-cube2.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm 6 * gcc -o evas-3d-cube2 evas-3d-cube2.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
7 * @endverbatim 7 * @endverbatim
8 */ 8 */
9 9
diff --git a/src/examples/evas/evas-3d-fog.c b/src/examples/evas/evas-3d-fog.c
index fb93ad5..df70644 100644
--- a/src/examples/evas/evas-3d-fog.c
+++ b/src/examples/evas/evas-3d-fog.c
@@ -2,7 +2,7 @@
2 * Example illustrating usage of fog effect. 2 * Example illustrating usage of fog effect.
3 * 3 *
4 * @verbatim 4 * @verbatim
5 * gcc -o evas-3d-fog evas-3d-fog.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo`-lm 5 * gcc -o evas-3d-fog evas-3d-fog.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
6 * @endverbatim 6 * @endverbatim
7 */ 7 */
8 8
@@ -61,8 +61,8 @@ _on_canvas_resize(Ecore_Evas *ee)
61 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h); 61 ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
62 62
63 evas_object_resize(background, w, h); 63 evas_object_resize(background, w, h);
64 eo_do(background, evas_obj_size_set(w, h)); 64 eo_do(background, efl_gfx_size_set(w, h));
65 eo_do(image, evas_obj_size_set(w, h)); 65 eo_do(image, efl_gfx_size_set(w, h));
66} 66}
67 67
68static Eina_Bool 68static Eina_Bool
@@ -225,16 +225,16 @@ main(void)
225 /* Add a background rectangle objects. */ 225 /* Add a background rectangle objects. */
226 background = eo_add(EVAS_RECTANGLE_CLASS, evas); 226 background = eo_add(EVAS_RECTANGLE_CLASS, evas);
227 eo_do(background, 227 eo_do(background,
228 evas_obj_color_set(0, 0, 0, 255), 228 efl_gfx_color_set(0, 0, 0, 255),
229 evas_obj_size_set(WIDTH, HEIGHT), 229 efl_gfx_size_set(WIDTH, HEIGHT),
230 evas_obj_visibility_set(EINA_TRUE)); 230 efl_gfx_visible_set(EINA_TRUE));
231 231
232 /* Add an image object for 3D scene rendering. */ 232 /* Add an image object for 3D scene rendering. */
233 image = evas_object_image_filled_add(evas); 233 image = evas_object_image_filled_add(evas);
234 234
235 eo_do(image, 235 eo_do(image,
236 evas_obj_size_set(WIDTH, HEIGHT), 236 efl_gfx_size_set(WIDTH, HEIGHT),
237 evas_obj_visibility_set(EINA_TRUE)); 237 efl_gfx_visible_set(EINA_TRUE));
238 238
239 /* Set the image object as render target for 3D scene. */ 239 /* Set the image object as render target for 3D scene. */
240 eo_do(image, evas_obj_image_scene_set(data.scene)); 240 eo_do(image, evas_obj_image_scene_set(data.scene));
diff --git a/src/examples/evas/evas-3d-mmap-set.c b/src/examples/evas/evas-3d-mmap-set.c
index ea93081..5c50e81 100644
--- a/src/examples/evas/evas-3d-mmap-set.c
+++ b/src/examples/evas/evas-3d-mmap-set.c
@@ -6,7 +6,7 @@
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 efl evas ecore ecore-evas eina eo` -lm
10 * @endverbatim 10 * @endverbatim
11 */ 11 */
12 12
diff --git a/src/examples/evas/evas-3d-pick.c b/src/examples/evas/evas-3d-pick.c
index 49eda2c..16b380c 100644
--- a/src/examples/evas/evas-3d-pick.c
+++ b/src/examples/evas/evas-3d-pick.c
@@ -6,7 +6,7 @@
6 * and parameters which can be got from this function. 6 * and parameters which can be got from this function.
7 * 7 *
8 * @verbatim 8 * @verbatim
9 * gcc -o evas-3d-pick evas-3d-pick.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm 9 * gcc -o evas-3d-pick evas-3d-pick.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
10 * @endverbatim 10 * @endverbatim
11 */ 11 */
12 12
diff --git a/src/examples/evas/evas-3d-proxy.c b/src/examples/evas/evas-3d-proxy.c
index 71ef979..b0692f2 100644
--- a/src/examples/evas/evas-3d-proxy.c
+++ b/src/examples/evas/evas-3d-proxy.c
@@ -4,7 +4,7 @@
4 * Data which will be used as texture can be generated directly in application. 4 * Data which will be used as texture can be generated directly in application.
5 * 5 *
6 * @verbatim 6 * @verbatim
7 * gcc -o evas-3d-proxy evas-3d-proxy.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm 7 * gcc -o evas-3d-proxy evas-3d-proxy.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
8 * @endverbatim 8 * @endverbatim
9 */ 9 */
10 10