diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-04-01 12:51:04 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-01 12:51:04 +0800 |
commit | 26c91c237c336ddcd05e2c3179a159b18e6f1cfb (patch) | |
tree | ad2e5ffb51091ee493370b2d51bc6e1be5362ba0 /calendar/gui/gncal-day-view.h | |
parent | 8a5a6f0d159014504eef07d1a4439885b5552280 (diff) | |
download | gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.gz gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.bz2 gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.lz gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.xz gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.tar.zst gsoc2013-evolution-26c91c237c336ddcd05e2c3179a159b18e6f1cfb.zip |
Removed #include "gtkcalendar.h", because it now comes from libgnomeui.
1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal.c: Removed #include "gtkcalendar.h", because it now comes
from libgnomeui.
* Makefile.am (gncal_SOURCES): Added new source files to the rules.
svn path=/trunk/; revision=84
Diffstat (limited to 'calendar/gui/gncal-day-view.h')
-rw-r--r-- | calendar/gui/gncal-day-view.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/calendar/gui/gncal-day-view.h b/calendar/gui/gncal-day-view.h new file mode 100644 index 0000000000..ed918e4f37 --- /dev/null +++ b/calendar/gui/gncal-day-view.h @@ -0,0 +1,52 @@ +/* Day view widget for gncal + * + * Copyright (C) 1998 The Free Software Foundation + * + * Author: Federico Mena <federico@nuclecu.unam.mx> + */ + +#ifndef GNCAL_DAY_VIEW_H +#define GNCAL_DAY_VIEW_H + + +#include <gtk/gtkwidget.h> +#include <libgnome/gnome-defs.h> +#include "calendar.h" + + +BEGIN_GNOME_DECLS + + +#define GNCAL_DAY_VIEW(obj) GTK_CHECK_CAST (obj, gncal_day_view_get_type (), GncalDayView) +#define GNCAL_DAY_VIEW_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gncal_day_view_get_type (), GncalDayViewClass) +#define GNCAL_IS_DAY_VIEW(obj) GTK_CHECK_TYPE (obj, gncal_day_view_get_type ()) + + +typedef struct _GncalDayView GncalDayView; +typedef struct _GncalDayViewClass GncalDayViewClass; + +struct _GncalDayView { + GtkWidget widget; + + 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) */ +}; + +struct _GncalDayViewClass { + GtkWidgetClass parent_class; +}; + + +guint gncal_day_view_get_type (void); +GtkWidget *gncal_day_view_new (Calendar *calendar); + +void gncal_day_view_set_bounds (GncalDayView *dview, int lower, int upper); +void gncal_day_view_set_format (GncalDayView *dview, int use_am_pm); + + +END_GNOME_DECLS + +#endif |