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://www.tizenopensource.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_VIEW_H__
20 #define __CALENDAR_VIEW_H__
25 void cal_edit_create_view(struct appdata *ad, Evas_Object *parent);
27 void cal_edit_create_view_todo(struct appdata *ad, Evas_Object *parent);
30 void cal_account_create_view(struct appdata *ad, Evas_Object *parent);
32 void cal_main_update_title_text(Evas_Object *title, enum cld_view v, struct tm *t, int week_start);
33 void cal_main_change_view(Evas_Object *ly, enum cld_view v);
34 void cal_main_update_view(void* data);
35 void cal_main_create_view(struct appdata *ad);
37 Evas_Object* cal_year_create_view(struct appdata *ad, Evas_Object *ly);
38 Evas_Object* cal_month_create_view(struct appdata *ad, Evas_Object *ly);
39 Evas_Object* cal_week_create_view(struct appdata *ad, Evas_Object *ly);
40 Evas_Object* cal_day_create_view(struct appdata *ad, Evas_Object *ly);
41 Evas_Object* cal_list_create_view(struct appdata *ad, Evas_Object *ly);
42 Evas_Object* cal_list_delete_view_create(Evas_Object *parent, struct appdata *ad);
43 Evas_Object* cal_list_delete_view_create_more_events(Evas_Object *parent, struct appdata *ad, int idx);
45 void cal_year_update_view(Evas_Object *ly);
46 void cal_month_update_view(Evas_Object *ly);
47 void cal_week_update_view(Evas_Object *ly);
48 void cal_list_update_view(Evas_Object *ly);
49 void cal_day_update_view(Evas_Object *ly);
50 void cal_list_delete_update_view(Evas_Object *ly);
54 Evas_Object* cal_month_calendar_create_view(struct appdata *ad,
55 Evas_Object *ly, Eina_Bool tmp);
56 void cal_month_calendar_update_content(Evas_Object *ly, struct tm *t);
57 int cal_month_calendar_get_weekline(Evas_Object *ly);
58 void cal_month_calendar_update_select(Evas_Object *month);
61 /* time block in day view */
62 Evas_Object* cal_day_create_time_block(struct tm *tm, struct appdata *ad, Evas_Object *parent);
63 void cal_day_time_update_time_block(Evas_Object *ly, struct tm *tm);
64 void cal_day_update_genlist(Evas_Object *ly);
65 void cal_day_time_set_time_block_default_parameters(struct appdata *ad);
68 void cal_list_scroll_today(struct appdata* ad);
70 Elm_Object_Item* cal_day_list_create_view(struct appdata *ad, Evas_Object *main);
72 Evas_Object* cal_todo_create_view(struct appdata *ad, Evas_Object *main);
73 void cal_todo_update_view(Evas_Object *ly);
74 #endif /* __CALENDAR_VIEW_H__ */