summaryrefslogtreecommitdiff
path: root/src/edje_externals
diff options
context:
space:
mode:
authorGustavo Lima Chaves <glima@profusion.mobi>2012-07-16 21:56:30 +0000
committerGustavo Lima Chaves <glima@profusion.mobi>2012-07-16 21:56:30 +0000
commit2b63f7793ff6dd8e80b3b6947927e695b81b9ff6 (patch)
treeb2adb8feea79a280514bc4ff50c66963f5619e35 /src/edje_externals
parent708bf9d7a7969beba486c8c849f8f19607b2e890 (diff)
[elm] Genlist now a scrollable layout.
The ERRs thrown on the terminal while exiting some tests were already there -- check that those decorate and stuff modes add lots of NULL children on lists. Genlist work exactly as before. All the bugs and feature were kept :) SVN revision: 73941
Diffstat (limited to 'src/edje_externals')
-rw-r--r--src/edje_externals/elm_genlist.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/edje_externals/elm_genlist.c b/src/edje_externals/elm_genlist.c
index 2ef2b96e5..82633e02c 100644
--- a/src/edje_externals/elm_genlist.c
+++ b/src/edje_externals/elm_genlist.c
@@ -73,16 +73,16 @@ external_genlist_state_set(void *data __UNUSED__, Evas_Object *obj, const void *
73 if (p->homogeneous_exists) 73 if (p->homogeneous_exists)
74 elm_genlist_homogeneous_set(obj, p->homogeneous); 74 elm_genlist_homogeneous_set(obj, p->homogeneous);
75 if ((p->h_bounce_exists) && (p->v_bounce_exists)) 75 if ((p->h_bounce_exists) && (p->v_bounce_exists))
76 elm_genlist_bounce_set(obj, p->h_bounce, p->v_bounce); 76 elm_scroller_bounce_set(obj, p->h_bounce, p->v_bounce);
77 else if ((p->h_bounce_exists) || (p->v_bounce_exists)) 77 else if ((p->h_bounce_exists) || (p->v_bounce_exists))
78 { 78 {
79 Eina_Bool h_bounce, v_bounce; 79 Eina_Bool h_bounce, v_bounce;
80 80
81 elm_genlist_bounce_get(obj, &h_bounce, &v_bounce); 81 elm_scroller_bounce_get(obj, &h_bounce, &v_bounce);
82 if (p->h_bounce_exists) 82 if (p->h_bounce_exists)
83 elm_genlist_bounce_set(obj, p->h_bounce, v_bounce); 83 elm_scroller_bounce_set(obj, p->h_bounce, v_bounce);
84 else 84 else
85 elm_genlist_bounce_set(obj, h_bounce, p->v_bounce); 85 elm_scroller_bounce_set(obj, h_bounce, p->v_bounce);
86 } 86 }
87} 87}
88 88
@@ -143,8 +143,8 @@ external_genlist_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
143 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 143 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
144 { 144 {
145 Eina_Bool h_bounce, v_bounce; 145 Eina_Bool h_bounce, v_bounce;
146 elm_genlist_bounce_get(obj, &h_bounce, &v_bounce); 146 elm_scroller_bounce_get(obj, &h_bounce, &v_bounce);
147 elm_genlist_bounce_set(obj, param->i, v_bounce); 147 elm_scroller_bounce_set(obj, param->i, v_bounce);
148 return EINA_TRUE; 148 return EINA_TRUE;
149 } 149 }
150 } 150 }
@@ -153,8 +153,8 @@ external_genlist_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
153 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 153 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
154 { 154 {
155 Eina_Bool h_bounce, v_bounce; 155 Eina_Bool h_bounce, v_bounce;
156 elm_genlist_bounce_get(obj, &h_bounce, &v_bounce); 156 elm_scroller_bounce_get(obj, &h_bounce, &v_bounce);
157 elm_genlist_bounce_set(obj, h_bounce, param->i); 157 elm_scroller_bounce_set(obj, h_bounce, param->i);
158 return EINA_TRUE; 158 return EINA_TRUE;
159 } 159 }
160 } 160 }
@@ -226,7 +226,7 @@ external_genlist_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
226 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 226 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
227 { 227 {
228 Eina_Bool h_bounce, v_bounce; 228 Eina_Bool h_bounce, v_bounce;
229 elm_genlist_bounce_get(obj, &h_bounce, &v_bounce); 229 elm_scroller_bounce_get(obj, &h_bounce, &v_bounce);
230 param->i = h_bounce; 230 param->i = h_bounce;
231 return EINA_TRUE; 231 return EINA_TRUE;
232 } 232 }
@@ -236,7 +236,7 @@ external_genlist_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
236 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 236 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
237 { 237 {
238 Eina_Bool h_bounce, v_bounce; 238 Eina_Bool h_bounce, v_bounce;
239 elm_genlist_bounce_get(obj, &h_bounce, &v_bounce); 239 elm_scroller_bounce_get(obj, &h_bounce, &v_bounce);
240 param->i = v_bounce; 240 param->i = v_bounce;
241 return EINA_TRUE; 241 return EINA_TRUE;
242 } 242 }