diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-03-17 16:54:05 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-03-17 16:54:05 -0700 |
commit | f9834c142cdb8c7b829d75751706a732c16bdbaa (patch) | |
tree | 5e7ec65ac948a9a99c60d3464afd330c417ea48d | |
parent | adea5d2b265b7ea6f9ff9391df6c1c67ad50f130 (diff) |
migrate to new snapshot object.
-rw-r--r-- | src/bin/snapshot_widgets_file_icons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/snapshot_widgets_file_icons.c b/src/bin/snapshot_widgets_file_icons.c index 328073a..dbdab77 100644 --- a/src/bin/snapshot_widgets_file_icons.c +++ b/src/bin/snapshot_widgets_file_icons.c | |||
@@ -85,13 +85,12 @@ static void _setup(void) | |||
85 | "blur { 5, dst = a, color = '#ff0' }" | 85 | "blur { 5, dst = a, color = '#ff0' }" |
86 | ; | 86 | ; |
87 | 87 | ||
88 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 88 | o = eo_add(EFL_CANVAS_SNAPSHOT_CLASS, evas); |
89 | o_snap = o; | 89 | o_snap = o; |
90 | efl_gfx_visible_set(o, EINA_TRUE); | 90 | efl_gfx_visible_set(o, EINA_TRUE); |
91 | efl_gfx_position_set(o, 50, 50); | 91 | efl_gfx_position_set(o, 50, 50); |
92 | efl_gfx_size_set(o, 200, 200); | 92 | efl_gfx_size_set(o, 200, 200); |
93 | efl_gfx_fill_set(o, 0, 0, 200, 200); | 93 | efl_gfx_fill_set(o, 0, 0, 200, 200); |
94 | evas_obj_image_snapshot_set(o, EINA_TRUE); | ||
95 | efl_gfx_filter_program_set(o, filter, "test"); | 94 | efl_gfx_filter_program_set(o, filter, "test"); |
96 | 95 | ||
97 | done = 0; | 96 | done = 0; |