Updated Traditional Chinese translation(Hong Kong and Taiwan)
[evolution.git] / calendar / gui / e-day-view-layout.h
blobc169a06b59b80f3155e2b3b753c1e86d5c4bcf7a
1 /*
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with the program; if not, see <http://www.gnu.org/licenses/>
17 * Authors:
18 * Damon Chaplin <damon@ximian.com>
20 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
24 #ifndef _E_DAY_VIEW_LAYOUT_H_
25 #define _E_DAY_VIEW_LAYOUT_H_
27 #include "e-day-view.h"
29 G_BEGIN_DECLS
31 /* I've split these functions away from EDayView so we can use them for
32 printing. */
34 void e_day_view_layout_long_events (GArray *events,
35 gint days_shown,
36 time_t *day_starts,
37 gint *rows_in_top_display);
39 gint e_day_view_layout_day_events (GArray *events,
40 gint rows,
41 gint mins_per_row,
42 guint8 *cols_per_row,
43 gint max_cols);
45 gboolean e_day_view_find_long_event_days (EDayViewEvent *event,
46 gint days_shown,
47 time_t *day_starts,
48 gint *start_day,
49 gint *end_day);
51 G_END_DECLS
53 #endif /* _E_DAY_VIEW_LAYOUT_H_ */