diff options
author | Savio Sena <savio.sena@acm.org> | 2014-09-23 22:01:47 -0300 |
---|---|---|
committer | Savio Sena <savio.sena@acm.org> | 2014-09-23 22:01:47 -0300 |
commit | a61c25ee27a7df0ea21f48c60ed56d21930a5236 (patch) | |
tree | f1f97ed24c8f8881a112abb8be1d5371405e7c63 /src | |
parent | 583d48e3927a39a854519e0185acd8050b0f1240 (diff) |
Mark trick as XXX.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/cxx/image_blend_border.cc | 2 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_border_recolor.cc | 2 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_fade_unscaled.cc | 2 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_nearest_solid_scaled.cc | 10 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_solid_border.cc | 2 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_solid_fade_unscaled.cc | 2 | ||||
-rw-r--r-- | src/bin/cxx/image_blend_solid_unscaled.cc | 2 |
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() | |||
39 | static void _cleanup() | 39 | static 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) | |||
40 | static void _cleanup(void) | 40 | static 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) | |||
43 | static void _cleanup(void) | 43 | static 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 */ |
24 | static void _setup(void) | 24 | static 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) | |||
39 | static void _cleanup(void) | 39 | static 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) | |||
43 | static void _cleanup(void) | 43 | static 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) | |||
40 | static void _cleanup(void) | 40 | static 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 | ||