summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-vg-batman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/evas/evas-vg-batman.c')
-rw-r--r--src/examples/evas/evas-vg-batman.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/examples/evas/evas-vg-batman.c b/src/examples/evas/evas-vg-batman.c
index 72bdd6c4fe..c0a14ddb77 100644
--- a/src/examples/evas/evas-vg-batman.c
+++ b/src/examples/evas/evas-vg-batman.c
@@ -18,10 +18,6 @@
#define WIDTH 800
#define HEIGHT 600
-#ifndef EFL_BETA_API_SUPPORT
-#define EFL_BETA_API_SUPPORT
-#endif
-
#include <Eo.h>
#include <Efl.h>
#include <Evas.h>
@@ -84,7 +80,7 @@ _animator(void *data EINA_UNUSED, double pos)
batmans_vg[next],
ecore_animator_pos_map(pos, ECORE_POS_MAP_SINUSOIDAL, 0.0, 0.0));
- if (pos == 1.0)
+ if (EINA_DBL_EQ(pos, 1.0))
{
animation_position = next;
animation = ecore_animator_timeline_add(1, _animator, NULL);
@@ -136,14 +132,14 @@ main(void)
evas_vg_node_color_set(batmans_vg[i], 120, 120, 120, 255);
evas_vg_shape_stroke_color_set(batmans_vg[i], 10, 10,128, 128);
evas_vg_shape_stroke_width_set(batmans_vg[i], 2.0);
- evas_vg_shape_stroke_join_set(batmans_vg[i], EFL_GFX_JOIN_ROUND);
+ evas_vg_shape_stroke_join_set(batmans_vg[i], EVAS_VG_JOIN_ROUND);
}
else
{
evas_vg_node_color_set(batmans_vg[i], 0, 0, 0, 255);
evas_vg_shape_stroke_color_set(batmans_vg[i], 128, 10,10, 128);
evas_vg_shape_stroke_width_set(batmans_vg[i], 4.0);
- evas_vg_shape_stroke_join_set(batmans_vg[i], EFL_GFX_JOIN_MITER);
+ evas_vg_shape_stroke_join_set(batmans_vg[i], EVAS_VG_JOIN_MITER);
}
evas_vg_shape_append_svg_path(batmans_vg[i], batmans_path[i]);