From 94a486a7b4207e617da30b172aa9873e0fbb0215 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Mon, 24 Apr 2000 14:01:46 +0000 Subject: added new source files and pixmaps, and removed old source files, which 2000-04-24 Damon Chaplin * gui/Makefile.am: added new source files and pixmaps, and removed old source files, which can be deleted. * gui/e-week-view-titles-item.[hc]: * gui/e-week-view-main-item.[hc]: * gui/e-week-view-event-item.[hc]: * gui/e-week-view.[hc]: new files implementing the week/month views. * gui/yearview.xpm: * gui/monthview.xpm: * gui/weekview.xpm: * gui/workweekview.xpm: * gui/dayview.xpm: new pixmaps for the toolbar buttons. These aren't intended to be the final pixmaps. * gui/calendar-commands.c: added radio buttons to the toolbar to switch between the calendar views, and moved the am_pm_flag here so we can get rid of view-utils.c. * gui/gnome-cal.[hc]: made it a subclass of GtkVBox, rearranged the widgets into 2 notebooks, and added the selection_start_time and selection_end_time fields. * gui/goto.c: updated to use new selection time range. * gui/quick-view.c: added '#include ' so it compiles. * gui/e-day-view.[hc]: changed the interface to support the new selection time range, got rid of a few debugging messages and changed a few bits. svn path=/trunk/; revision=2583 --- calendar/gui/e-week-view-titles-item.h | 66 ++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 calendar/gui/e-week-view-titles-item.h (limited to 'calendar/gui/e-week-view-titles-item.h') diff --git a/calendar/gui/e-week-view-titles-item.h b/calendar/gui/e-week-view-titles-item.h new file mode 100644 index 0000000000..7ce1ccd386 --- /dev/null +++ b/calendar/gui/e-week-view-titles-item.h @@ -0,0 +1,66 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ + +/* + * Author : + * Damon Chaplin + * + * Copyright 1999, Helix Code, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * USA + */ +#ifndef _E_WEEK_VIEW_TITLES_ITEM_H_ +#define _E_WEEK_VIEW_TITLES_ITEM_H_ + +#include "e-week-view.h" + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/* + * EWeekViewTitlesItem - displays the 'Monday', 'Tuesday' etc. at the top of + * the Month calendar view. + */ + +#define E_WEEK_VIEW_TITLES_ITEM(obj) (GTK_CHECK_CAST((obj), \ + e_week_view_titles_item_get_type (), EWeekViewTitlesItem)) +#define E_WEEK_VIEW_TITLES_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k),\ + e_week_view_titles_item_get_type ())) +#define E_IS_WEEK_VIEW_TITLES_ITEM(o) (GTK_CHECK_TYPE((o), \ + e_week_view_titles_item_get_type ())) + +typedef struct { + GnomeCanvasItem canvas_item; + + /* The parent EWeekView widget. */ + EWeekView *week_view; +} EWeekViewTitlesItem; + +typedef struct { + GnomeCanvasItemClass parent_class; + +} EWeekViewTitlesItemClass; + + +GtkType e_week_view_titles_item_get_type (void); + + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* _E_WEEK_VIEW_TITLES_ITEM_H_ */ -- cgit v1.2.3