2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.1 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://floralicense.org/license/
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __QUICKPANEL_NOTI_LISTBOX_H__
18 #define __QUICKPANEL_NOTI_LISTBOX_H__
20 #define LISTBOX_PREPEND 1
21 #define LISTBOX_APPEND 0
23 Evas_Object *listbox_create(Evas_Object *parent, void *data);
24 void listbox_remove(Evas_Object *listbox);
25 void listbox_add_item(Evas_Object *listbox, Evas_Object *item, int is_prepend);
26 void listbox_remove_item(Evas_Object *listbox, Evas_Object *item, int with_animation);
27 void listbox_rotation(Evas_Object *listbox, int angle);
28 void listbox_remove_and_add_item(Evas_Object *listbox, Evas_Object *item
29 ,void (*update_cb)(Evas_Object *list, void *data, int is_prepend)
30 ,void *container, void *data, int pos);
31 void listbox_remove_all_item(Evas_Object *listbox, int with_animation);
32 void listbox_set_item_deleted_cb(Evas_Object *listbox,
33 void(*deleted_cb)(void *data, Evas_Object *obj));
34 void listbox_update(Evas_Object *listbox);
35 void listbox_update_item(Evas_Object *listbox, Evas_Object *item);