3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.1 (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_GRID_H__
20 #define __CALENDAR_GRID_H__
22 #include <Elementary.h>
24 typedef Eina_Bool (* cal_grid_item_changed_callback)(void *);
26 Evas_Object * cal_grid_create(Evas_Object *parent, cal_grid_item_changed_callback callback_func, void *callback_data);
28 void cal_grid_set_edit_mode(Evas_Object *grid, Eina_Bool is_edit_mode);
30 void cal_grid_set_max_item_count(Evas_Object *grid, unsigned int count);
32 unsigned int cal_grid_get_current_item_count(Evas_Object *grid);
34 Elm_Object_Item * cal_grid_append_item(Evas_Object *grid, const char *image_path);
36 void cal_grid_delete_item(Evas_Object *grid, Elm_Object_Item *item);
38 Eina_List * cal_grid_get_item_path_list(Evas_Object *grid);
40 void cal_grid_free_item_path_list(Eina_List *item_path_list);
42 #endif /* __CALENDAR_GRID_H__ */