3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://floralicense.org/license/
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 #ifndef __CALENDAR_DIALOGUE_H__
20 #define __CALENDAR_DIALOGUE_H__
22 #include <Elementary.h>
24 typedef void (*cal_dialogue_item_clicked_callback)(Evas_Object *obj, void *data);
26 Evas_Object * cal_dialogue_create(Evas_Object *parent);
27 void cal_dialogue_destroy(Evas_Object * dialogue);
29 Evas_Object * cal_dialogue_get_box(Evas_Object *dialogue);
31 Evas_Object * cal_dialogue_append_item(Evas_Object *box, const char *style, cal_dialogue_item_clicked_callback callback_func, void *callback_data);
32 Evas_Object * cal_dialogue_insert_item_after(Evas_Object *box, const char *style, Evas_Object *after, cal_dialogue_item_clicked_callback callback_func, void *callback_data);
33 Evas_Object * cal_dialogue_insert_item_before(Evas_Object *box, const char *style, Evas_Object *before, cal_dialogue_item_clicked_callback callback_func, void *callback_data);
35 void cal_dialogue_delete_item(Evas_Object *box, Evas_Object *item);
36 void cal_dialogue_delete_all_items(Evas_Object *dialogue);
38 void cal_dialogue_show_item_before(Evas_Object *box, Evas_Object *item, Evas_Object *before);
39 void cal_dialogue_show_item_after(Evas_Object *box, Evas_Object *item, Evas_Object *after);
41 void cal_dialogue_hide_item(Evas_Object *box, Evas_Object *item);
43 #endif /* __CALENDAR_DIALOGUE_H__ */