forked from enlightenment/efl
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>
This commit is contained in:
parent
e891c56f60
commit
7eab0e1603
|
@ -4,7 +4,7 @@
|
|||
* For more detailes see https://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-blending evas-3d-blending.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo`-lm
|
||||
* gcc -o evas-3d-blending evas-3d-blending.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* This example is the best to start introduction to usage of Evas-3D.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags evas ecore ecore-evas eo`
|
||||
* gcc -o evas-3d-cube evas-3d-cube.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* by interpolation between frames.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-cube2 evas-3d-cube2.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
|
||||
* gcc -o evas-3d-cube2 evas-3d-cube2.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Example illustrating usage of fog effect.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-fog evas-3d-fog.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo`-lm
|
||||
* gcc -o evas-3d-fog evas-3d-fog.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo`-lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
@ -61,8 +61,8 @@ _on_canvas_resize(Ecore_Evas *ee)
|
|||
ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
|
||||
|
||||
evas_object_resize(background, w, h);
|
||||
eo_do(background, evas_obj_size_set(w, h));
|
||||
eo_do(image, evas_obj_size_set(w, h));
|
||||
eo_do(background, efl_gfx_size_set(w, h));
|
||||
eo_do(image, efl_gfx_size_set(w, h));
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
@ -225,16 +225,16 @@ main(void)
|
|||
/* Add a background rectangle objects. */
|
||||
background = eo_add(EVAS_RECTANGLE_CLASS, evas);
|
||||
eo_do(background,
|
||||
evas_obj_color_set(0, 0, 0, 255),
|
||||
evas_obj_size_set(WIDTH, HEIGHT),
|
||||
evas_obj_visibility_set(EINA_TRUE));
|
||||
efl_gfx_color_set(0, 0, 0, 255),
|
||||
efl_gfx_size_set(WIDTH, HEIGHT),
|
||||
efl_gfx_visible_set(EINA_TRUE));
|
||||
|
||||
/* Add an image object for 3D scene rendering. */
|
||||
image = evas_object_image_filled_add(evas);
|
||||
|
||||
eo_do(image,
|
||||
evas_obj_size_set(WIDTH, HEIGHT),
|
||||
evas_obj_visibility_set(EINA_TRUE));
|
||||
efl_gfx_size_set(WIDTH, HEIGHT),
|
||||
efl_gfx_visible_set(EINA_TRUE));
|
||||
|
||||
/* Set the image object as render target for 3D scene. */
|
||||
eo_do(image, evas_obj_image_scene_set(data.scene));
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* Show the results.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-mmap-set evas-3d-mmap-set.c `pkg-config --libs --cflags evas ecore ecore-evas eina eo` -lm
|
||||
* gcc -o evas-3d-mmap-set evas-3d-mmap-set.c `pkg-config --libs --cflags efl evas ecore ecore-evas eina eo` -lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* and parameters which can be got from this function.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-pick evas-3d-pick.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
|
||||
* gcc -o evas-3d-pick evas-3d-pick.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Data which will be used as texture can be generated directly in application.
|
||||
*
|
||||
* @verbatim
|
||||
* gcc -o evas-3d-proxy evas-3d-proxy.c evas-3d-primitives.c `pkg-config --libs --cflags evas ecore ecore-evas eo` -lm
|
||||
* gcc -o evas-3d-proxy evas-3d-proxy.c evas-3d-primitives.c `pkg-config --libs --cflags efl evas ecore ecore-evas eo` -lm
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue