diff options
author | Thouis R. Jones <thouis@csail.mit.edu> | 2005-05-13 19:08:28 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-05-13 19:08:28 +0800 |
commit | 51490d54078a67793ab48584a4f672d0ae3d3bd4 (patch) | |
tree | b448ad9371d92e8edbe0126f60cdf01cb77571a5 /calendar/gui/e-day-view.h | |
parent | 8b3b58503dca17206fd530fc4828fdd51faa08a3 (diff) | |
download | gsoc2013-evolution-51490d54078a67793ab48584a4f672d0ae3d3bd4.tar.gz gsoc2013-evolution-51490d54078a67793ab48584a4f672d0ae3d3bd4.tar.zst gsoc2013-evolution-51490d54078a67793ab48584a4f672d0ae3d3bd4.zip |
Fixes #272301
2005-05-13 Thouis R. Jones <thouis@csail.mit.edu>
Fixes #272301
* gui/apps_evolution_calendar.schemas.in.in:
* gui/calendar-config-keys.h:
* gui/calendar-config.c: (calendar_config_get_marcus_bains,
calendar_config_add_notification_marcus_bains):
* gui/calendar-config.h:
* gui/e-day-view-config.c: (set_marcus_bains,
marcus_bains_changed_cb, e_day_view_config_set_view):
* gui/e-day-view-main-item.c: (e_day_view_main_item_draw):
* gui/e-day-view-time-item.c: (e_day_view_time_item_draw):
* gui/e-day-view.c: (e_day_view_init, e_day_view_set_colors,
e_day_view_get_show_marcus_bains, e_day_view_set_marcus_bains,
e_day_view_update_marcus_bains):
* gui/e-day-view.h:
* gui/gnome-cal.c: (update_marcus_bains_line_cb, setup_widgets,
gnome_calendar_destroy): Added Marcus Bains Line to main item
view and time bar.
svn path=/trunk/; revision=29351
Diffstat (limited to 'calendar/gui/e-day-view.h')
-rw-r--r-- | calendar/gui/e-day-view.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.h b/calendar/gui/e-day-view.h index 4c563e4dbd..d137332a88 100644 --- a/calendar/gui/e-day-view.h +++ b/calendar/gui/e-day-view.h @@ -153,6 +153,8 @@ typedef enum E_DAY_VIEW_COLOR_LONG_EVENT_BACKGROUND, E_DAY_VIEW_COLOR_LONG_EVENT_BORDER, + E_DAY_VIEW_COLOR_MARCUS_BAINS_LINE, + E_DAY_VIEW_COLOR_LAST } EDayViewColors; @@ -278,6 +280,11 @@ struct _EDayView gint work_day_end_hour; gint work_day_end_minute; + /* Whether we show the Marcus Bains Line in the main canvas and time canvas. */ + gboolean show_marcus_bains_line; + char *marcus_bains_day_view_color; + char *marcus_bains_time_bar_color; + /* Whether we use show event end times in the main canvas. */ gboolean show_event_end_times; @@ -493,6 +500,13 @@ void e_day_view_set_working_day (EDayView *day_view, gint end_hour, gint end_minute); +/* Whether we display the Marcus Bains Line in the main canvas and time canvas. */ +gboolean e_day_view_get_show_marcus_bains (EDayView *day_view); +void e_day_view_set_marcus_bains (EDayView *day_view, + gboolean show_line, + const char *dayview_color, + const char *timebar_color); + /* Whether we display event end times in the main canvas. */ gboolean e_day_view_get_show_event_end_times (EDayView *day_view); void e_day_view_set_show_event_end_times (EDayView *day_view, @@ -573,6 +587,8 @@ void e_day_view_ensure_rows_visible (EDayView *day_view, gint end_row); +void e_day_view_update_marcus_bains (EDayView *day_view); + G_END_DECLS #endif /* _E_DAY_VIEW_H_ */ |