diff options
Diffstat (limited to 'src/common/include/mp-widget.h')
-rwxr-xr-x | src/common/include/mp-widget.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/common/include/mp-widget.h b/src/common/include/mp-widget.h new file mode 100755 index 0000000..57e7540 --- /dev/null +++ b/src/common/include/mp-widget.h @@ -0,0 +1,36 @@ +/* + * Copyright 2012 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.tizenopensource.org/license + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + +#ifndef __MP_WIDGET_H_ +#define __MP_WIDGET_H_ + +#include "music.h" + +Evas_Object *mp_widget_navigation_new(Evas_Object * parent, struct appdata *ad); +Evas_Object *mp_widget_genlist_create(struct appdata *ad, Evas_Object * parent, bool homogeneous); +bool mp_widget_check_lowbattery(void *data, Evas_Object * parent); +bool mp_widget_load_fastscroller(Evas_Object * index, struct music_list_item *item, char **latest_string); +int mp_widget_text_popup(void *data, const char *message); +Evas_Object *mp_widget_create_icon(Evas_Object * obj, const char *path, int w, int h); +Evas_Object *mp_widget_create_bgimg(Evas_Object * parent); +Evas_Object *mp_widget_create_button(Evas_Object * parent, char *style, char *caption, Evas_Object * icon, + void (*func) (void *, Evas_Object *, void *), void *data); +Evas_Object * mp_widget_create_editfield(Evas_Object * parent, int limit_size, char *guide_txt, struct appdata *ad); +Evas_Object * mp_widget_editfield_entry_get(Evas_Object *editfield); +Evas_Object * mp_widget_create_title_btn(Evas_Object *parent, const char *text, const char * icon_path, Evas_Smart_Cb func, void *data); +#endif |