aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gncal-day-view.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1998-04-03 04:35:12 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-03 04:35:12 +0800
commitf6963100c2509175cbd22b1556273ddbc0dd4e7d (patch)
tree5cfbf3602fda3fe5ecaaa716a2094c5aa2f3c0a7 /calendar/gncal-day-view.h
parentd4f096e0ca0ec461d5ab7a3369aaa95480561d92 (diff)
downloadgsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.gz
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.bz2
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.lz
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.xz
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.tar.zst
gsoc2013-evolution-f6963100c2509175cbd22b1556273ddbc0dd4e7d.zip
Day events are now cached inside the widget. They get initialized at this
1998-04-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * gncal-day-view.c (gncal_day_view_update): Day events are now cached inside the widget. They get initialized at this time. * view-utils.c (view_utils_draw_events): Use the list of events. svn path=/trunk/; revision=95
Diffstat (limited to 'calendar/gncal-day-view.h')
-rw-r--r--calendar/gncal-day-view.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/calendar/gncal-day-view.h b/calendar/gncal-day-view.h
index e17eabcab7..80e8a6299f 100644
--- a/calendar/gncal-day-view.h
+++ b/calendar/gncal-day-view.h
@@ -12,7 +12,7 @@
#include <gtk/gtkwidget.h>
#include <libgnome/gnome-defs.h>
#include "calendar.h"
-
+#include "gnome-cal.h"
BEGIN_GNOME_DECLS
@@ -28,13 +28,13 @@ typedef struct _GncalDayViewClass GncalDayViewClass;
struct _GncalDayView {
GtkWidget widget;
- Calendar *calendar; /* the calendar we are associated to */
+ GnomeCalendar *calendar;/* the calendar we are associated to */
time_t lower; /* lower and upper times to display */
- time_t upper;
-
- char *day_str; /* what day is it? */
+ time_t upper; /* these include the full day */
+ char *day_str; /* what day is it? */
+ GList *events; /* the events for the this day */
GtkShadowType shadow_type;
};
@@ -44,7 +44,7 @@ struct _GncalDayViewClass {
guint gncal_day_view_get_type (void);
-GtkWidget *gncal_day_view_new (Calendar *calendar, time_t lower, time_t upper);
+GtkWidget *gncal_day_view_new (GnomeCalendar *calendar, time_t lower, time_t upper);
void gncal_day_view_update (GncalDayView *dview);
void gncal_day_view_set_bounds (GncalDayView *dview, time_t lower, time_t upper);