summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavio Sena <savio.sena@acm.org>2014-09-23 22:01:47 -0300
committerSavio Sena <savio.sena@acm.org>2014-09-23 22:01:47 -0300
commita61c25ee27a7df0ea21f48c60ed56d21930a5236 (patch)
treef1f97ed24c8f8881a112abb8be1d5371405e7c63
parent583d48e3927a39a854519e0185acd8050b0f1240 (diff)
Mark trick as XXX.
-rw-r--r--src/bin/cxx/image_blend_border.cc2
-rw-r--r--src/bin/cxx/image_blend_border_recolor.cc2
-rw-r--r--src/bin/cxx/image_blend_fade_unscaled.cc2
-rw-r--r--src/bin/cxx/image_blend_nearest_solid_scaled.cc10
-rw-r--r--src/bin/cxx/image_blend_solid_border.cc2
-rw-r--r--src/bin/cxx/image_blend_solid_fade_unscaled.cc2
-rw-r--r--src/bin/cxx/image_blend_solid_unscaled.cc2
7 files changed, 10 insertions, 12 deletions
diff --git a/src/bin/cxx/image_blend_border.cc b/src/bin/cxx/image_blend_border.cc
index ab8a2bf..d083639 100644
--- a/src/bin/cxx/image_blend_border.cc
+++ b/src/bin/cxx/image_blend_border.cc
@@ -39,7 +39,7 @@ static void _setup()
39static void _cleanup() 39static void _cleanup()
40{ 40{
41 for (evas::image o : images) 41 for (evas::image o : images)
42 o.visibility_set(false); 42 o.visibility_set(false); // XXX
43 images.clear(); 43 images.clear();
44} 44}
45 45
diff --git a/src/bin/cxx/image_blend_border_recolor.cc b/src/bin/cxx/image_blend_border_recolor.cc
index 2d64c31..dee53dc 100644
--- a/src/bin/cxx/image_blend_border_recolor.cc
+++ b/src/bin/cxx/image_blend_border_recolor.cc
@@ -40,7 +40,7 @@ static void _setup(void)
40static void _cleanup(void) 40static void _cleanup(void)
41{ 41{
42 for (evas::image o : images) 42 for (evas::image o : images)
43 o.visibility_set(false); 43 o.visibility_set(false); // XXX
44 images.clear(); 44 images.clear();
45} 45}
46 46
diff --git a/src/bin/cxx/image_blend_fade_unscaled.cc b/src/bin/cxx/image_blend_fade_unscaled.cc
index 1a67ac5..242e2cb 100644
--- a/src/bin/cxx/image_blend_fade_unscaled.cc
+++ b/src/bin/cxx/image_blend_fade_unscaled.cc
@@ -43,7 +43,7 @@ static void _setup(void)
43static void _cleanup(void) 43static void _cleanup(void)
44{ 44{
45 for (evas::image o : images) 45 for (evas::image o : images)
46 o.visibility_set(false); 46 o.visibility_set(false); // XXX
47 images.clear(); 47 images.clear();
48} 48}
49 49
diff --git a/src/bin/cxx/image_blend_nearest_solid_scaled.cc b/src/bin/cxx/image_blend_nearest_solid_scaled.cc
index 9a0e75a..90daf33 100644
--- a/src/bin/cxx/image_blend_nearest_solid_scaled.cc
+++ b/src/bin/cxx/image_blend_nearest_solid_scaled.cc
@@ -23,16 +23,14 @@ static efl::eina::list<evas::image> images;
23/* setup */ 23/* setup */
24static void _setup(void) 24static void _setup(void)
25{ 25{
26 int i;
27 evas::canvas canvas(::eo_ref(G_evas)); 26 evas::canvas canvas(::eo_ref(G_evas));
28 for (i = 0; i < OBNUM; i++) 27 for (int i = 0; i < OBNUM; i++)
29 { 28 {
30 evas::image o(efl::eo::parent = canvas); 29 evas::image o(efl::eo::parent = canvas);
31 images.push_back(o); 30 images.push_back(o);
32 eo_do(o, 31 o.file_set(build_path("image.png"), "");
33 efl_file_set(build_path("image.png"), NULL), 32 o.smooth_scale_set(0);
34 efl_image_smooth_scale_set(0), 33 o.visibility_set(true);
35 evas_obj_visibility_set(EINA_TRUE));
36 } 34 }
37 done = 0; 35 done = 0;
38} 36}
diff --git a/src/bin/cxx/image_blend_solid_border.cc b/src/bin/cxx/image_blend_solid_border.cc
index 89be101..5391376 100644
--- a/src/bin/cxx/image_blend_solid_border.cc
+++ b/src/bin/cxx/image_blend_solid_border.cc
@@ -39,7 +39,7 @@ static void _setup(void)
39static void _cleanup(void) 39static void _cleanup(void)
40{ 40{
41 for (evas::image o : images) 41 for (evas::image o : images)
42 o.visibility_set(false); 42 o.visibility_set(false); // XXX
43 images.clear(); 43 images.clear();
44} 44}
45 45
diff --git a/src/bin/cxx/image_blend_solid_fade_unscaled.cc b/src/bin/cxx/image_blend_solid_fade_unscaled.cc
index 8abf031..894def6 100644
--- a/src/bin/cxx/image_blend_solid_fade_unscaled.cc
+++ b/src/bin/cxx/image_blend_solid_fade_unscaled.cc
@@ -43,7 +43,7 @@ static void _setup(void)
43static void _cleanup(void) 43static void _cleanup(void)
44{ 44{
45 for (evas::image o : images) 45 for (evas::image o : images)
46 o.visibility_set(false); 46 o.visibility_set(false); // XXX
47 images.clear(); 47 images.clear();
48} 48}
49 49
diff --git a/src/bin/cxx/image_blend_solid_unscaled.cc b/src/bin/cxx/image_blend_solid_unscaled.cc
index 09c8f87..960d940 100644
--- a/src/bin/cxx/image_blend_solid_unscaled.cc
+++ b/src/bin/cxx/image_blend_solid_unscaled.cc
@@ -40,7 +40,7 @@ static void _setup(void)
40static void _cleanup(void) 40static void _cleanup(void)
41{ 41{
42 for (evas::image o : images) 42 for (evas::image o : images)
43 o.visibility_set(false); 43 o.visibility_set(false); // XXX
44 images.clear(); 44 images.clear();
45} 45}
46 46