diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-03-18 15:02:37 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-03-18 15:02:37 +0900 |
commit | 185fe20e881f8f460f8468d939a8cb6a3171283c (patch) | |
tree | 1d999b74b4f8c6fba3d5ff758cd4de37546b548c | |
parent | f7fa84bf93dd19342df3a29a3be613ad9785b8a1 (diff) |
Remove efl_gfx_filled_set() as eo-created images are filled
This is a behaviour change between legacy and eo apis.
To be discussed, of course, if someone disagrees.
-rw-r--r-- | src/bin/widgets_list_1.c | 1 | ||||
-rw-r--r-- | src/bin/widgets_list_1_grouped.c | 1 | ||||
-rw-r--r-- | src/bin/widgets_list_2.c | 1 | ||||
-rw-r--r-- | src/bin/widgets_list_2_grouped.c | 1 | ||||
-rw-r--r-- | src/bin/widgets_list_3.c | 2 | ||||
-rw-r--r-- | src/bin/widgets_list_3_grouped.c | 2 | ||||
-rw-r--r-- | src/bin/widgets_list_4.c | 2 | ||||
-rw-r--r-- | src/bin/widgets_list_4_grouped.c | 2 |
8 files changed, 0 insertions, 12 deletions
diff --git a/src/bin/widgets_list_1.c b/src/bin/widgets_list_1.c index 526d888..44351b1 100644 --- a/src/bin/widgets_list_1.c +++ b/src/bin/widgets_list_1.c | |||
@@ -64,7 +64,6 @@ static void _setup(void) | |||
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | efl_gfx_fill_filled_set(o, 1); | ||
68 | efl_image_border_set(o, 2, 2, 2, 2); | 67 | efl_image_border_set(o, 2, 2, 2, 2); |
69 | efl_file_set(o, build_path("pan.png"), NULL); | 68 | efl_file_set(o, build_path("pan.png"), NULL); |
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 69 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
diff --git a/src/bin/widgets_list_1_grouped.c b/src/bin/widgets_list_1_grouped.c index 1c8ab3c..3aa8296 100644 --- a/src/bin/widgets_list_1_grouped.c +++ b/src/bin/widgets_list_1_grouped.c | |||
@@ -64,7 +64,6 @@ static void _setup(void) | |||
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | efl_gfx_fill_filled_set(o, 1); | ||
68 | efl_image_border_set(o, 2, 2, 2, 2); | 67 | efl_image_border_set(o, 2, 2, 2, 2); |
69 | efl_file_set(o, build_path("pan.png"), NULL); | 68 | efl_file_set(o, build_path("pan.png"), NULL); |
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 69 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
diff --git a/src/bin/widgets_list_2.c b/src/bin/widgets_list_2.c index 6785d27..f59cbe1 100644 --- a/src/bin/widgets_list_2.c +++ b/src/bin/widgets_list_2.c | |||
@@ -64,7 +64,6 @@ static void _setup(void) | |||
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | efl_gfx_fill_filled_set(o, 1); | ||
68 | efl_image_border_set(o, 2, 2, 2, 2); | 67 | efl_image_border_set(o, 2, 2, 2, 2); |
69 | efl_file_set(o, build_path("pan.png"), NULL); | 68 | efl_file_set(o, build_path("pan.png"), NULL); |
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 69 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index 1568c3e..ad3d866 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c | |||
@@ -64,7 +64,6 @@ static void _setup(void) | |||
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | efl_gfx_fill_filled_set(o, 1); | ||
68 | efl_image_border_set(o, 2, 2, 2, 2); | 67 | efl_image_border_set(o, 2, 2, 2, 2); |
69 | efl_file_set(o, build_path("pan.png"), NULL); | 68 | efl_file_set(o, build_path("pan.png"), NULL); |
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 69 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
diff --git a/src/bin/widgets_list_3.c b/src/bin/widgets_list_3.c index cd388a1..52b6e01 100644 --- a/src/bin/widgets_list_3.c +++ b/src/bin/widgets_list_3.c | |||
@@ -85,7 +85,6 @@ static void _setup(void) | |||
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | efl_gfx_fill_filled_set(o, 1); | ||
89 | efl_image_border_set(o, 2, 2, 2, 2); | 88 | efl_image_border_set(o, 2, 2, 2, 2); |
90 | efl_file_set(o, build_path("pan.png"), NULL); | 89 | efl_file_set(o, build_path("pan.png"), NULL); |
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 90 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
@@ -93,7 +92,6 @@ static void _setup(void) | |||
93 | 92 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 93 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 94 | o_icons[i] = o; |
96 | efl_gfx_fill_filled_set(o, 1); | ||
97 | efl_image_border_set(o, 2, 2, 2, 2); | 95 | efl_image_border_set(o, 2, 2, 2, 2); |
98 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 96 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 97 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
diff --git a/src/bin/widgets_list_3_grouped.c b/src/bin/widgets_list_3_grouped.c index 7d6eb8b..30bb97f 100644 --- a/src/bin/widgets_list_3_grouped.c +++ b/src/bin/widgets_list_3_grouped.c | |||
@@ -85,7 +85,6 @@ static void _setup(void) | |||
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | efl_gfx_fill_filled_set(o, 1); | ||
89 | efl_image_border_set(o, 2, 2, 2, 2); | 88 | efl_image_border_set(o, 2, 2, 2, 2); |
90 | efl_file_set(o, build_path("pan.png"), NULL); | 89 | efl_file_set(o, build_path("pan.png"), NULL); |
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 90 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
@@ -93,7 +92,6 @@ static void _setup(void) | |||
93 | 92 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 93 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 94 | o_icons[i] = o; |
96 | efl_gfx_fill_filled_set(o, 1); | ||
97 | efl_image_border_set(o, 2, 2, 2, 2); | 95 | efl_image_border_set(o, 2, 2, 2, 2); |
98 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 96 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 97 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
diff --git a/src/bin/widgets_list_4.c b/src/bin/widgets_list_4.c index 52f2eb4..7eb4672 100644 --- a/src/bin/widgets_list_4.c +++ b/src/bin/widgets_list_4.c | |||
@@ -85,7 +85,6 @@ static void _setup(void) | |||
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | efl_gfx_fill_filled_set(o, 1); | ||
89 | efl_image_border_set(o, 2, 2, 2, 2); | 88 | efl_image_border_set(o, 2, 2, 2, 2); |
90 | efl_file_set(o, build_path("pan.png"), NULL); | 89 | efl_file_set(o, build_path("pan.png"), NULL); |
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 90 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
@@ -93,7 +92,6 @@ static void _setup(void) | |||
93 | 92 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 93 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 94 | o_icons[i] = o; |
96 | efl_gfx_fill_filled_set(o, 1); | ||
97 | efl_image_border_set(o, 2, 2, 2, 2); | 95 | efl_image_border_set(o, 2, 2, 2, 2); |
98 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 96 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 97 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
diff --git a/src/bin/widgets_list_4_grouped.c b/src/bin/widgets_list_4_grouped.c index 377c27a..29136e1 100644 --- a/src/bin/widgets_list_4_grouped.c +++ b/src/bin/widgets_list_4_grouped.c | |||
@@ -85,7 +85,6 @@ static void _setup(void) | |||
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | efl_gfx_fill_filled_set(o, 1); | ||
89 | efl_image_border_set(o, 2, 2, 2, 2); | 88 | efl_image_border_set(o, 2, 2, 2, 2); |
90 | efl_file_set(o, build_path("pan.png"), NULL); | 89 | efl_file_set(o, build_path("pan.png"), NULL); |
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 90 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
@@ -93,7 +92,6 @@ static void _setup(void) | |||
93 | 92 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 93 | o = eo_add(EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 94 | o_icons[i] = o; |
96 | efl_gfx_fill_filled_set(o, 1); | ||
97 | efl_image_border_set(o, 2, 2, 2, 2); | 95 | efl_image_border_set(o, 2, 2, 2, 2); |
98 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 96 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 97 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |