summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_evas_mask.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/elementary/test_evas_mask.c')
-rw-r--r--src/bin/elementary/test_evas_mask.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/elementary/test_evas_mask.c b/src/bin/elementary/test_evas_mask.c
index 497d4a2..223d657 100644
--- a/src/bin/elementary/test_evas_mask.c
+++ b/src/bin/elementary/test_evas_mask.c
@@ -2,6 +2,7 @@
2# include "elementary_config.h" 2# include "elementary_config.h"
3#endif 3#endif
4#include <Elementary.h> 4#include <Elementary.h>
5#include <Efl_Ui.h>
5 6
6 7
7static Evas_Object * 8static Evas_Object *
@@ -118,12 +119,13 @@ test_evas_mask(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
118 119
119 // FIXME: No API to set background as "tile" :( 120 // FIXME: No API to set background as "tile" :(
120 snprintf(buf, sizeof(buf), "%s/images/pm_fill.png", elm_app_data_dir_get()); 121 snprintf(buf, sizeof(buf), "%s/images/pm_fill.png", elm_app_data_dir_get());
121 efl_file_set(efl_part(win, "background"), buf, NULL); 122 efl_file_simple_load(efl_part(win, "background"), buf, NULL);
122 123
123 // FIXME: layout EO API 124 // FIXME: layout EO API
124 snprintf(buf, sizeof(buf), "%s/objects/test_masking.edj", elm_app_data_dir_get()); 125 snprintf(buf, sizeof(buf), "%s/objects/test_masking.edj", elm_app_data_dir_get());
125 ly = efl_add(EFL_UI_LAYOUT_CLASS, win, 126 ly = efl_add(EFL_UI_LAYOUT_CLASS, win,
126 efl_file_set(efl_added, buf, "masking")); 127 efl_file_set(efl_added, buf),
128 efl_file_key_set(efl_added, "masking"));
127 efl_pack(box, ly); 129 efl_pack(box, ly);
128 130
129 // FIXME: No genlist in EO API 131 // FIXME: No genlist in EO API