summaryrefslogtreecommitdiff
path: root/src/edje_externals
diff options
context:
space:
mode:
authorGustavo Lima Chaves <glima@profusion.mobi>2012-08-30 16:45:15 +0000
committerGustavo Lima Chaves <glima@profusion.mobi>2012-08-30 16:45:15 +0000
commit9dba10e8c8ee73a1a46f67c1002034453a0560c4 (patch)
tree23a736bfea7ea047e5aa374665c5d51f7b17cc18 /src/edje_externals
parent2246e05d6cc38aeaec3e0f1c7066430a046d159c (diff)
[elm] Entry now a scrollable layout.
SVN revision: 75890
Diffstat (limited to 'src/edje_externals')
-rw-r--r--src/edje_externals/elm_entry.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/edje_externals/elm_entry.c b/src/edje_externals/elm_entry.c
index 910746fcd..68d5f0d48 100644
--- a/src/edje_externals/elm_entry.c
+++ b/src/edje_externals/elm_entry.c
@@ -66,14 +66,14 @@ external_entry_state_set(void *data __UNUSED__, Evas_Object *obj, const void *fr
66 if (p->password_exists) 66 if (p->password_exists)
67 elm_entry_password_set(obj, p->password); 67 elm_entry_password_set(obj, p->password);
68 if (p->horizontal_bounce_exists && p->vertical_bounce_exists) 68 if (p->horizontal_bounce_exists && p->vertical_bounce_exists)
69 elm_entry_bounce_set(obj, p->horizontal_bounce, p->vertical_bounce); 69 elm_scroller_bounce_set(obj, p->horizontal_bounce, p->vertical_bounce);
70 else if (p->horizontal_bounce_exists || p->vertical_bounce_exists) 70 else if (p->horizontal_bounce_exists || p->vertical_bounce_exists)
71 { 71 {
72 elm_entry_bounce_get(obj, &hbounce, &vbounce); 72 elm_scroller_bounce_get(obj, &hbounce, &vbounce);
73 if (p->horizontal_bounce_exists) 73 if (p->horizontal_bounce_exists)
74 elm_entry_bounce_set(obj, p->horizontal_bounce, vbounce); 74 elm_scroller_bounce_set(obj, p->horizontal_bounce, vbounce);
75 else 75 else
76 elm_entry_bounce_set(obj, hbounce, p->vertical_bounce); 76 elm_scroller_bounce_set(obj, hbounce, p->vertical_bounce);
77 } 77 }
78 if (p->editable_exists) 78 if (p->editable_exists)
79 elm_entry_editable_set(obj, p->editable); 79 elm_entry_editable_set(obj, p->editable);
@@ -141,9 +141,9 @@ external_entry_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ext
141 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 141 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
142 { 142 {
143 Eina_Bool hbounce, vbounce; 143 Eina_Bool hbounce, vbounce;
144 elm_entry_bounce_get(obj, NULL, &vbounce); 144 elm_scroller_bounce_get(obj, NULL, &vbounce);
145 hbounce = !!param->i; 145 hbounce = !!param->i;
146 elm_entry_bounce_set(obj, hbounce, vbounce); 146 elm_scroller_bounce_set(obj, hbounce, vbounce);
147 return EINA_TRUE; 147 return EINA_TRUE;
148 } 148 }
149 } 149 }
@@ -152,9 +152,9 @@ external_entry_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ext
152 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 152 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
153 { 153 {
154 Eina_Bool hbounce, vbounce; 154 Eina_Bool hbounce, vbounce;
155 elm_entry_bounce_get(obj, &hbounce, NULL); 155 elm_scroller_bounce_get(obj, &hbounce, NULL);
156 vbounce = !!param->i; 156 vbounce = !!param->i;
157 elm_entry_bounce_set(obj, hbounce, vbounce); 157 elm_scroller_bounce_set(obj, hbounce, vbounce);
158 return EINA_TRUE; 158 return EINA_TRUE;
159 } 159 }
160 } 160 }
@@ -237,7 +237,7 @@ external_entry_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ext
237 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 237 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
238 { 238 {
239 Eina_Bool hbounce; 239 Eina_Bool hbounce;
240 elm_entry_bounce_get(obj, &hbounce, NULL); 240 elm_scroller_bounce_get(obj, &hbounce, NULL);
241 param->i = hbounce; 241 param->i = hbounce;
242 return EINA_TRUE; 242 return EINA_TRUE;
243 } 243 }
@@ -247,7 +247,7 @@ external_entry_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ext
247 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) 247 if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL)
248 { 248 {
249 Eina_Bool vbounce; 249 Eina_Bool vbounce;
250 elm_entry_bounce_get(obj, NULL, &vbounce); 250 elm_scroller_bounce_get(obj, NULL, &vbounce);
251 param->i = vbounce; 251 param->i = vbounce;
252 return EINA_TRUE; 252 return EINA_TRUE;
253 } 253 }