summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_gengrid.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2011-11-30 14:19:29 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2011-11-30 14:19:29 +0000
commitf2b269d7aedd39cb1550e00655d7b165b342fd4c (patch)
tree7997c5c0801130aaf15aff446dedcc38c03ff7bf /src/edje_externals/elm_gengrid.c
parentb165af3effe7975ae8be35c9aeab90c5af4a0b1c (diff)
elm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.
SVN revision: 65716
Diffstat (limited to 'src/edje_externals/elm_gengrid.c')
-rw-r--r--src/edje_externals/elm_gengrid.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/edje_externals/elm_gengrid.c b/src/edje_externals/elm_gengrid.c
index 61307406a..6c3bf0701 100644
--- a/src/edje_externals/elm_gengrid.c
+++ b/src/edje_externals/elm_gengrid.c
@@ -43,32 +43,32 @@ external_gengrid_state_set(void *data __UNUSED__, Evas_Object *obj, const void *
43 if (p->multi_exists) 43 if (p->multi_exists)
44 elm_gengrid_multi_select_set(obj, p->multi); 44 elm_gengrid_multi_select_set(obj, p->multi);
45 if (p->no_select_exists) 45 if (p->no_select_exists)
46 elm_gen_no_select_mode_set (obj, p->no_select); 46 elm_gengrid_no_select_mode_set (obj, p->no_select);
47 if (p->always_select_exists) 47 if (p->always_select_exists)
48 elm_gen_always_select_mode_set (obj, p->always_select); 48 elm_gengrid_always_select_mode_set (obj, p->always_select);
49 if (p->h_bounce_exists) 49 if (p->h_bounce_exists)
50 { 50 {
51 Eina_Bool h_bounce, v_bounce; 51 Eina_Bool h_bounce, v_bounce;
52 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 52 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
53 elm_gen_bounce_set(obj, p->h_bounce, v_bounce); 53 elm_gengrid_bounce_set(obj, p->h_bounce, v_bounce);
54 } 54 }
55 if (p->v_bounce_exists) 55 if (p->v_bounce_exists)
56 { 56 {
57 Eina_Bool h_bounce, v_bounce; 57 Eina_Bool h_bounce, v_bounce;
58 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 58 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
59 elm_gen_bounce_set(obj, h_bounce, p->v_bounce); 59 elm_gengrid_bounce_set(obj, h_bounce, p->v_bounce);
60 } 60 }
61 if (p->h_pagerel_exists) 61 if (p->h_pagerel_exists)
62 { 62 {
63 double h_pagerel, v_pagerel; 63 double h_pagerel, v_pagerel;
64 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 64 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
65 elm_gen_page_relative_set(obj, h_pagerel, p->v_pagerel); 65 elm_gengrid_page_relative_set(obj, h_pagerel, p->v_pagerel);
66 } 66 }
67 if (p->v_pagerel_exists) 67 if (p->v_pagerel_exists)
68 { 68 {
69 double h_pagerel, v_pagerel; 69 double h_pagerel, v_pagerel;
70 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 70 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
71 elm_gen_page_relative_set(obj, p->h_pagerel, v_pagerel); 71 elm_gengrid_page_relative_set(obj, p->h_pagerel, v_pagerel);
72 } 72 }
73 if (p->h_itemsize_exists) 73 if (p->h_itemsize_exists)
74 { 74 {
@@ -112,7 +112,7 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
112 { 112 {
113 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 113 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
114 { 114 {
115 elm_gen_no_select_mode_set(obj, param->i); 115 elm_gengrid_no_select_mode_set(obj, param->i);
116 return EINA_TRUE; 116 return EINA_TRUE;
117 } 117 }
118 } 118 }
@@ -120,7 +120,7 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
120 { 120 {
121 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 121 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
122 { 122 {
123 elm_gen_always_select_mode_set(obj, param->i); 123 elm_gengrid_always_select_mode_set(obj, param->i);
124 return EINA_TRUE; 124 return EINA_TRUE;
125 } 125 }
126 } 126 }
@@ -129,8 +129,8 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
129 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 129 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
130 { 130 {
131 Eina_Bool h_bounce, v_bounce; 131 Eina_Bool h_bounce, v_bounce;
132 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 132 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
133 elm_gen_bounce_set(obj, param->i, v_bounce); 133 elm_gengrid_bounce_set(obj, param->i, v_bounce);
134 return EINA_TRUE; 134 return EINA_TRUE;
135 } 135 }
136 } 136 }
@@ -139,8 +139,8 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 139 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
140 { 140 {
141 Eina_Bool h_bounce, v_bounce; 141 Eina_Bool h_bounce, v_bounce;
142 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 142 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
143 elm_gen_bounce_set(obj, h_bounce, param->i); 143 elm_gengrid_bounce_set(obj, h_bounce, param->i);
144 return EINA_TRUE; 144 return EINA_TRUE;
145 } 145 }
146 } 146 }
@@ -149,8 +149,8 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
149 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE) 149 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE)
150 { 150 {
151 double h_pagerel, v_pagerel; 151 double h_pagerel, v_pagerel;
152 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 152 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
153 elm_gen_page_relative_set(obj, param->d, v_pagerel); 153 elm_gengrid_page_relative_set(obj, param->d, v_pagerel);
154 return EINA_TRUE; 154 return EINA_TRUE;
155 } 155 }
156 } 156 }
@@ -159,8 +159,8 @@ external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_E
159 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE) 159 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE)
160 { 160 {
161 double h_pagerel, v_pagerel; 161 double h_pagerel, v_pagerel;
162 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 162 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
163 elm_gen_page_relative_set(obj, h_pagerel, param->d); 163 elm_gengrid_page_relative_set(obj, h_pagerel, param->d);
164 return EINA_TRUE; 164 return EINA_TRUE;
165 } 165 }
166 } 166 }
@@ -229,7 +229,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
229 { 229 {
230 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 230 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
231 { 231 {
232 param->i = elm_gen_no_select_mode_get(obj); 232 param->i = elm_gengrid_no_select_mode_get(obj);
233 return EINA_TRUE; 233 return EINA_TRUE;
234 } 234 }
235 } 235 }
@@ -237,7 +237,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
237 { 237 {
238 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 238 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
239 { 239 {
240 param->i = elm_gen_always_select_mode_get(obj); 240 param->i = elm_gengrid_always_select_mode_get(obj);
241 return EINA_TRUE; 241 return EINA_TRUE;
242 } 242 }
243 } 243 }
@@ -246,7 +246,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
246 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 246 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
247 { 247 {
248 Eina_Bool h_bounce, v_bounce; 248 Eina_Bool h_bounce, v_bounce;
249 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 249 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
250 param->i = h_bounce; 250 param->i = h_bounce;
251 return EINA_TRUE; 251 return EINA_TRUE;
252 } 252 }
@@ -256,7 +256,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
256 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 256 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
257 { 257 {
258 Eina_Bool h_bounce, v_bounce; 258 Eina_Bool h_bounce, v_bounce;
259 elm_gen_bounce_get(obj, &h_bounce, &v_bounce); 259 elm_gengrid_bounce_get(obj, &h_bounce, &v_bounce);
260 param->i = v_bounce; 260 param->i = v_bounce;
261 return EINA_TRUE; 261 return EINA_TRUE;
262 } 262 }
@@ -266,7 +266,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
266 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE) 266 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE)
267 { 267 {
268 double h_pagerel, v_pagerel; 268 double h_pagerel, v_pagerel;
269 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 269 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
270 param->d = h_pagerel; 270 param->d = h_pagerel;
271 return EINA_TRUE; 271 return EINA_TRUE;
272 } 272 }
@@ -276,7 +276,7 @@ external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_E
276 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE) 276 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_DOUBLE)
277 { 277 {
278 double h_pagerel, v_pagerel; 278 double h_pagerel, v_pagerel;
279 elm_gen_page_relative_get(obj, &h_pagerel, &v_pagerel); 279 elm_gengrid_page_relative_get(obj, &h_pagerel, &v_pagerel);
280 param->d = v_pagerel; 280 param->d = v_pagerel;
281 return EINA_TRUE; 281 return EINA_TRUE;
282 } 282 }