diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-04-02 14:12:25 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-02 14:12:25 +0800 |
commit | 23463e22bcec65cf1013ae036dc126be0e1903d6 (patch) | |
tree | cde4f870b0cd6e88301f1558efbcff788df993c3 /calendar/gncal-day-view.h | |
parent | 4750b90ad18f4f59fa19b839550d6397f5dffbfd (diff) | |
download | gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.gz gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.bz2 gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.lz gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.xz gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.tar.zst gsoc2013-evolution-23463e22bcec65cf1013ae036dc126be0e1903d6.zip |
New week view composite widget. This provides a full week view (7 day
1998-04-02 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-week-view.[ch]: New week view composite widget. This
provides a full week view (7 day views plus busy time display --
the latter is currently unimplemented).
1998-04-01 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-day-view.c: New day view widget. It is intended to be a
child widget of the week view composite widget.
svn path=/trunk/; revision=90
Diffstat (limited to 'calendar/gncal-day-view.h')
-rw-r--r-- | calendar/gncal-day-view.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/calendar/gncal-day-view.h b/calendar/gncal-day-view.h index ed918e4f37..c10c0c78f8 100644 --- a/calendar/gncal-day-view.h +++ b/calendar/gncal-day-view.h @@ -28,11 +28,12 @@ typedef struct _GncalDayViewClass GncalDayViewClass; struct _GncalDayView { GtkWidget widget; - Calendar *calendar; /* the calendar we are associated to */ + Calendar *calendar; /* the calendar we are associated to */ - int lower; /* lower and upper hours of the day to display */ - int upper; - int use_am_pm; /* use am/pm (TRUE) or 24-hour format (FALSE) */ + time_t lower; /* lower and upper times to display */ + time_t upper; + + char *day_str; /* what day is it? */ }; struct _GncalDayViewClass { @@ -40,11 +41,11 @@ struct _GncalDayViewClass { }; -guint gncal_day_view_get_type (void); -GtkWidget *gncal_day_view_new (Calendar *calendar); +guint gncal_day_view_get_type (void); +GtkWidget *gncal_day_view_new (Calendar *calendar, time_t lower, time_t upper); -void gncal_day_view_set_bounds (GncalDayView *dview, int lower, int upper); -void gncal_day_view_set_format (GncalDayView *dview, int use_am_pm); +void gncal_day_view_update (GncalDayView *dview); +void gncal_day_view_set_bounds (GncalDayView *dview, time_t lower, time_t upper); END_GNOME_DECLS |