aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-04-03 14:03:18 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-03 14:03:18 +0800
commit197ca7ac5bd990427d8c5e7683b6408ffc23f261 (patch)
tree5cef7014f10dbdd45e2a8be3b1a7a205b80b664c /calendar/gui/gncal-full-day.h
parentdc90ad6b4302059c79a95d535c8363829faed7df (diff)
downloadgsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.gz
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.bz2
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.lz
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.xz
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.tar.zst
gsoc2013-evolution-197ca7ac5bd990427d8c5e7683b6408ffc23f261.zip
New full-day widget. It is still a work in progress. It will be similar to
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal-full-day.c: New full-day widget. It is still a work in progress. It will be similar to M$ Schedule's nifty full day view widget, but with Gtk's elegance :-) * Makefile.am (gnomecal_SOURCES): Added gncal-full-day.[ch] to the sources. svn path=/trunk/; revision=99
Diffstat (limited to 'calendar/gui/gncal-full-day.h')
-rw-r--r--calendar/gui/gncal-full-day.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/calendar/gui/gncal-full-day.h b/calendar/gui/gncal-full-day.h
new file mode 100644
index 0000000000..e482e8b63d
--- /dev/null
+++ b/calendar/gui/gncal-full-day.h
@@ -0,0 +1,52 @@
+/* Full day widget for gncal
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <federico@nuclecu.unam.mx>
+ */
+
+#ifndef GNCAL_FULL_DAY_H
+#define GNCAL_FULL_DAY_H
+
+
+#include <gtk/gtkcontainer.h>
+#include <libgnome/gnome-defs.h>
+#include "calendar.h"
+#include "gnome-cal.h"
+
+
+BEGIN_GNOME_DECLS
+
+
+#define GNCAL_FULL_DAY(obj) GTK_CHECK_CAST (obj, gncal_full_day_get_type (), GncalFullDay)
+#define GNCAL_FULL_DAY_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gncal_full_day_get_type (), GncalFullDayClass)
+#define GNCAL_IS_FULL_DAY(obj) GTK_CHECK_TYPE (obj, gncal_full_day_get_type ())
+
+
+typedef struct _GncalFullDay GncalFullDay;
+typedef struct _GncalFullDayClass GncalFullDayClass;
+
+struct _GncalFullDay {
+ GtkContainer container;
+
+ GnomeCalendar *calendar; /* the calendar we are associated to */
+
+ time_t lower; /* lower time to display */
+ time_t upper; /* upper time to display */
+ int interval; /* interval between rows in minutes */
+};
+
+struct _GncalFullDayClass {
+ GtkContainerClass *parent_class;
+};
+
+
+guint gncal_full_day_get_type (void);
+GtkWidget *gncal_full_day_new (GnomeCalendar *calendar, time_t lower, time_t upper);
+
+void gncal_full_day_update (GncalFullDay *fullday);
+void gncal_full_day_set_bounds (GncalFullDay *fullday, time_t lower, time_t upper);
+
+END_GNOME_DECLS
+
+#endif