summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-aabb.c
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2015-02-20 17:59:27 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-20 18:37:03 +0100
commit4cd50a447fc3887fdcf0f8041beb360e3729c448 (patch)
tree69b45fdb7a0f311b064d4f6379f62092324c0edd /src/examples/evas/evas-3d-aabb.c
parentf377770cc16585ce0e6d7777f8e2090ca38dda21 (diff)
evas: resources for evas-2d examples are added to resource folder.
Summary: Process of loading is standard now. TODOs which are added here will be done in one of the next commits soon. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2013 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples/evas/evas-3d-aabb.c')
-rw-r--r--src/examples/evas/evas-3d-aabb.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/examples/evas/evas-3d-aabb.c b/src/examples/evas/evas-3d-aabb.c
index ef3e079..90603be 100644
--- a/src/examples/evas/evas-3d-aabb.c
+++ b/src/examples/evas/evas-3d-aabb.c
@@ -10,22 +10,21 @@
10#include "config.h" 10#include "config.h"
11#else 11#else
12#define PACKAGE_EXAMPLES_DIR "." 12#define PACKAGE_EXAMPLES_DIR "."
13#endif
14
15#define EFL_EO_API_SUPPORT 13#define EFL_EO_API_SUPPORT
16#define EFL_BETA_API_SUPPORT 14#define EFL_BETA_API_SUPPORT
15#endif
17 16
18#include <Eo.h> 17#include <Eo.h>
19#include <Evas.h> 18#include <Evas.h>
20#include <Ecore.h> 19#include <Ecore.h>
21#include <Ecore_Evas.h> 20#include <Ecore_Evas.h>
22#include "evas-3d-common.h" 21#include "evas-common.h"
23 22
24#define WIDTH 400 23#define WIDTH 400
25#define HEIGHT 400 24#define HEIGHT 400
26 25
27static const char *model_path = PACKAGE_EXAMPLES_DIR EVAS_3D_MODEL_FOLDER "/sonic.md2"; 26static const char *model_path = PACKAGE_EXAMPLES_DIR EVAS_MODEL_FOLDER "/sonic.md2";
28static const char *image_path = PACKAGE_EXAMPLES_DIR EVAS_3D_IMAGE_FOLDER "/sonic.png"; 27static const char *image_path = PACKAGE_EXAMPLES_DIR EVAS_IMAGE_FOLDER "/sonic.png";
29 28
30Ecore_Evas *ecore_evas = NULL; 29Ecore_Evas *ecore_evas = NULL;
31Evas *evas = NULL; 30Evas *evas = NULL;