From ff523035dd2592f6ff25955e7f1e379f24640347 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 29 May 2001 02:18:00 +0000 Subject: new files to contain layout code split off from EDayView an EWeekView, so 2001-05-28 Damon Chaplin * gui/e-week-view-layout.[hc]: * gui/e-day-view-layout.[hc]: new files to contain layout code split off from EDayView an EWeekView, so we can use it for printing. * gui/print.c: rewritten to use the same layout code as the EDayView and EWeekView widgets. * gui/gnome-cal.c (gnome_calendar_get_task_pad_cal_client): added function so we can get the CalClient used for the TaskPad for printing. * gui/Makefile.am (evolution_calendar_SOURCES): added e-day-view-layout.[hc] amd e-week-view-layout.[hc]. * cal-util/timeutil.c (time_week_begin): (time_week_end): added week_start_day argument. * cal-util/cal-recur.c: added comments describing problems in it. svn path=/trunk/; revision=10037 --- calendar/gui/e-week-view.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'calendar/gui/e-week-view.h') diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h index 6717da9ea3..7fde751b3f 100644 --- a/calendar/gui/e-week-view.h +++ b/calendar/gui/e-week-view.h @@ -89,6 +89,11 @@ extern "C" { /* The padding below the date string in the Month view. */ #define E_WEEK_VIEW_DATE_B_PAD 1 +/* We use a 7-bit field to store row numbers in EWeekViewEventSpan, so the + maximum number or rows we can allow is 127. It is very unlikely to be + reached anyway. */ +#define E_WEEK_VIEW_MAX_ROWS_PER_CELL 127 + /* These index our colors array. */ typedef enum { @@ -445,6 +450,10 @@ void e_week_view_convert_time_to_display (EWeekView *week_view, gint *suffix_width); gint e_week_view_get_time_string_width (EWeekView *week_view); +gint e_week_view_event_sort_func (const void *arg1, + const void *arg2); + + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3