summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm_entry.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 20:08:10 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-01-23 22:36:41 +0900
commit46c51ecec7d886cf079e197840b158a396a20e83 (patch)
treefe1f59c37c8c197b8ca80821e0b34fd58671ee29 /src/edje_externals/elm_entry.c
parentfd5a62d31d50bf9ba60f2b4c55c05f7117c6622d (diff)
edje_externals: Fixed formatting before working on it.
Diffstat (limited to 'src/edje_externals/elm_entry.c')
-rw-r--r--src/edje_externals/elm_entry.c18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/edje_externals/elm_entry.c b/src/edje_externals/elm_entry.c
index f094a8764..973a8bb12 100644
--- a/src/edje_externals/elm_entry.c
+++ b/src/edje_externals/elm_entry.c
@@ -1,5 +1,4 @@
1#include <assert.h> 1#include <assert.h>
2
3#include "private.h" 2#include "private.h"
4 3
5typedef struct _Elm_Params_Entry 4typedef struct _Elm_Params_Entry
@@ -29,9 +28,10 @@ typedef struct _Elm_Params_Entry
29 if (strcmp((STR), (CHOICES)[i]) == 0) \ 28 if (strcmp((STR), (CHOICES)[i]) == 0) \
30 return i 29 return i
31 30
32 31static const char *entry_line_wrap_choices[] =
33static const char *entry_line_wrap_choices[] = {"none", "char", "word", 32{
34 "mixed", NULL}; 33 "none", "char", "word", "mixed", NULL
34};
35 35
36static Elm_Wrap_Type 36static Elm_Wrap_Type
37_entry_line_wrap_choices_setting_get(const char *line_wrap_str) 37_entry_line_wrap_choices_setting_get(const char *line_wrap_str)
@@ -43,7 +43,9 @@ _entry_line_wrap_choices_setting_get(const char *line_wrap_str)
43} 43}
44 44
45static void 45static void
46external_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED) 46external_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj,
47 const void *from_params, const void *to_params,
48 float pos EINA_UNUSED)
47{ 49{
48 const Elm_Params_Entry *p; 50 const Elm_Params_Entry *p;
49 Eina_Bool hbounce, vbounce; 51 Eina_Bool hbounce, vbounce;
@@ -85,7 +87,8 @@ external_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *f
85} 87}
86 88
87static Eina_Bool 89static Eina_Bool
88external_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param) 90external_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj,
91 const Edje_External_Param *param)
89{ 92{
90 if (!strcmp(param->name, "label")) 93 if (!strcmp(param->name, "label"))
91 { 94 {
@@ -278,7 +281,8 @@ external_entry_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_Ex
278} 281}
279 282
280static void * 283static void *
281external_entry_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params) 284external_entry_params_parse(void *data EINA_UNUSED, Evas_Object *obj,
285 const Eina_List *params)
282{ 286{
283 Elm_Params_Entry *mem; 287 Elm_Params_Entry *mem;
284 Edje_External_Param *param; 288 Edje_External_Param *param;