+static char * __ise_drawing_text_get(void *data, Evas_Object *obj, const char *part)
+{
+ if(!strcmp(part, "elm.text")) {
+ return(strdup(gettext("WDS_IME_MBODY_DRAWING_M_EMOTICON_ABB")));
+ }
+ return NULL;
+}
+
+static Evas_Object * __ise_drawing_content_get(void *data, Evas_Object *obj, const char *part)
+{
+ if (!strcmp(part, "elm.icon")) {
+ Evas_Object* btn = elm_button_add(obj);
+ evas_object_size_hint_weight_set(btn, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(btn, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ Evas_Object* ic = elm_image_add(btn);
+ elm_image_resizable_set(ic, EINA_TRUE, EINA_TRUE);
+ string path = get_resource_path();
+ if (_WEARABLE)
+ path = path + "wearable/";
+ else if (_TV)
+ path = path + "tv/";
+ else
+ path = path + "mobile/";
+ elm_object_style_set(btn, "ime_button_drawing");
+ string path_ic = path + "images/wi_drawing_icon.png";
+ elm_image_file_set(ic, path_ic.c_str(), NULL);
+ elm_object_content_set(btn, ic);
+ evas_object_layer_set(btn, 32000);
+ return btn;
+ }
+ return NULL;
+}
+