aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-panel.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-22 07:55:49 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-22 07:55:49 +0800
commitb707ff2b15af01713ebac9a572b798485bb4b288 (patch)
treee85e0ac644913dcf55bb8fac0fc7325f17c3172f /calendar/gncal-day-panel.h
parent2c6974eb71de10279567a4b16f487270c6e5eef5 (diff)
downloadgsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar.gz
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar.bz2
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar.lz
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar.xz
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.tar.zst
gsoc2013-evolution-b707ff2b15af01713ebac9a572b798485bb4b288.zip
Made it use GncalDayPanel.
1998-04-21 Federico Mena Quintero <federico@nuclecu.unam.mx> * gnome-cal.c: Made it use GncalDayPanel. * gncal-day-panel.c: New widget for the day view in the main calendar toplevel. It basically takes care of everything gnome-cal did by hand with respect to the day view. * Makefile.am (gnomecal_SOURCES): Added gncal-day-panel.[ch] to the rules. * main.c: Added a separator between the About menu item and the help topics. svn path=/trunk/; revision=177
Diffstat (limited to 'calendar/gncal-day-panel.h')
-rw-r--r--calendar/gncal-day-panel.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/calendar/gncal-day-panel.h b/calendar/gncal-day-panel.h
new file mode 100644
index 0000000000..aefbd5a3f9
--- /dev/null
+++ b/calendar/gncal-day-panel.h
@@ -0,0 +1,61 @@
+/* Day view notebook panel for gncal
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <quartic@gimp.org>
+ */
+
+#ifndef GNCAL_DAY_PANEL_H
+#define GNCAL_DAY_PANEL_H
+
+#include <gtk/gtklabel.h>
+#include <gtk/gtkscrolledwindow.h>
+#include <gtk/gtktable.h>
+#include <libgnome/gnome-defs.h>
+#include <libgnomeui/gtkcalendar.h>
+#include "gnome-cal.h"
+#include "gncal-full-day.h"
+
+
+BEGIN_GNOME_DECLS
+
+
+#define GNCAL_DAY_PANEL(obj) GTK_CHECK_CAST (obj, gncal_day_panel_get_type (), GncalDayPanel)
+#define GNCAL_DAY_PANEL_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gncal_day_panel_get_type (), GncalDayPanelClass)
+#define GNCAL_IS_DAY_PANEL(obj) GTK_CHECK_TYPE (obj, gncal_day_panel_get_type ())
+
+
+typedef struct _GncalDayPanel GncalDayPanel;
+typedef struct _GncalDayPanelClass GncalDayPanelClass;
+
+struct _GncalDayPanel {
+ GtkTable table;
+
+ GnomeCalendar *calendar; /* the calendar we are associated to */
+
+ time_t start_of_day;
+
+ GtkLabel *date_label;
+ GncalFullDay *fullday;
+ GtkScrolledWindow *fullday_sw;
+ GtkCalendar *gtk_calendar;
+ GtkWidget *todo_list;
+
+ guint day_selected_id;
+};
+
+struct _GncalDayPanelClass {
+ GtkTableClass parent_class;
+};
+
+
+guint gncal_day_panel_get_type (void);
+GtkWidget *gncal_day_panel_new (GnomeCalendar *calendar, time_t start_of_day);
+
+void gncal_day_panel_update (GncalDayPanel *dpanel, iCalObject *ico, int flags);
+void gncal_day_panel_set (GncalDayPanel *dpanel, time_t start_of_day);
+
+
+END_GNOME_DECLS
+
+#endif