From f61664a3b137efe274704ffa89521cd8918c82e8 Mon Sep 17 00:00:00 2001 From: Sohyun Kim Date: Fri, 12 Nov 2010 20:40:23 +0900 Subject: [PATCH] [picker]add external files --- data/edje_externals/Makefile.am | 1 + data/edje_externals/ico_picker.png | Bin 0 -> 215 bytes data/edje_externals/icons.edc | 1 + src/edje_externals/Makefile.am | 3 ++- src/edje_externals/elm_picker.c | 50 +++++++++++++++++++++++++++++++++++++ src/edje_externals/modules.inc | 1 + 6 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 data/edje_externals/ico_picker.png create mode 100755 src/edje_externals/elm_picker.c diff --git a/data/edje_externals/Makefile.am b/data/edje_externals/Makefile.am index 79f8f5a..9ed20b3 100644 --- a/data/edje_externals/Makefile.am +++ b/data/edje_externals/Makefile.am @@ -29,6 +29,7 @@ ico_nocontents.png \ ico_notepad.png \ ico_page_control.png \ ico_photocam.png \ +ico_picker.png \ ico_progressbar.png \ ico_radio.png \ ico_scrolled_entry.png \ diff --git a/data/edje_externals/ico_picker.png b/data/edje_externals/ico_picker.png new file mode 100644 index 0000000000000000000000000000000000000000..0ab2af63bcbb4f1b8f9d995750524a5006a3f5fe GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H1|*Mc$*~4fjKx9jP7LeL$-D$|*pj^6T^Rm@ z;DWu&Cj&(|3p^r=85p>QL70(Y)*K0-AbW|YuPgg4W_eLn(G&IgA6y$9*$jMalG+Lyhdmy@H$=9CevT1xf)~()kM&RqQ z8@UCy|$Iel??f@sB(_ifK}e?EJz`ag(qN@((QQK9`UKr0wLUHx3vIVCg! E02h-;TL1t6 literal 0 HcmV?d00001 diff --git a/data/edje_externals/icons.edc b/data/edje_externals/icons.edc index a5dc4ed..450ebdf 100644 --- a/data/edje_externals/icons.edc +++ b/data/edje_externals/icons.edc @@ -30,6 +30,7 @@ ICON("nocontents") ICON("notepad") ICON("page_control") ICON("photocam") +ICON("picker") ICON("progressbar") ICON("radio") ICON("scrolled_entry") diff --git a/src/edje_externals/Makefile.am b/src/edje_externals/Makefile.am index 933a806..94b09c0 100644 --- a/src/edje_externals/Makefile.am +++ b/src/edje_externals/Makefile.am @@ -33,8 +33,8 @@ elm_bubble.c \ elm_button.c \ elm_check.c \ elm_clock.c \ -elm_datepicker.c \ elm_datefield.c \ +elm_datepicker.c \ elm_fileselector.c \ elm_fileselector_button.c \ elm_gengrid.c \ @@ -47,6 +47,7 @@ elm_nocontents.c \ elm_notepad.c \ elm_page_control.c \ elm_photocam.c \ +elm_picker.c \ elm_progressbar.c \ elm_radio.c \ elm_scrolled_entry.c \ diff --git a/src/edje_externals/elm_picker.c b/src/edje_externals/elm_picker.c new file mode 100755 index 0000000..f9ce0fb --- /dev/null +++ b/src/edje_externals/elm_picker.c @@ -0,0 +1,50 @@ +#include "private.h" + +static void +external_picker_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__) +{ + ERR("no params"); +} + +static Eina_Bool +external_picker_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param) +{ + ERR("no params"); + return EINA_FALSE; +} + +static Eina_Bool +external_picker_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param) +{ + ERR("no params"); + return EINA_FALSE; +} + +static void * +external_picker_params_parse(void *data, Evas_Object *obj, const Eina_List *params) +{ + ERR("no params"); + return NULL; +} + +static Evas_Object *external_picker_content_get(void *data __UNUSED__, + const Evas_Object *obj, const char *content) +{ + ERR("so content"); + return NULL; +} + +static void +external_picker_params_free(void *params) +{ +} + +static Edje_External_Param_Info external_picker_params[] = { + EDJE_EXTERNAL_PARAM_INFO_SENTINEL +}; + +DEFINE_EXTERNAL_ICON_ADD(picker, "picker"); +DEFINE_EXTERNAL_TYPE_SIMPLE(picker, "Picker"); + + + diff --git a/src/edje_externals/modules.inc b/src/edje_externals/modules.inc index bcfc5cc..7b26906 100644 --- a/src/edje_externals/modules.inc +++ b/src/edje_externals/modules.inc @@ -21,6 +21,7 @@ DEFINE_TYPE(notepad) DEFINE_TYPE(page_control) DEFINE_TYPE(pager) DEFINE_TYPE(photocam) +DEFINE_TYPE(picker) DEFINE_TYPE(progressbar) DEFINE_TYPE(radio) DEFINE_TYPE(scrolled_entry) -- 2.7.4