aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-calendar-item.h
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-06-30 20:54:43 +0800
committerMilan Crha <mcrha@redhat.com>2009-06-30 20:56:56 +0800
commit2d0ca7939abde5a7cfe1dcbb974e52939637e5a9 (patch)
tree423eb142537e159705feefed4afaed7691ac3672 /widgets/misc/e-calendar-item.h
parent619c1cf37efc97be4bad9b028b3e8fbb080aefd4 (diff)
downloadgsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar.gz
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar.bz2
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar.lz
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar.xz
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.tar.zst
gsoc2013-evolution-2d0ca7939abde5a7cfe1dcbb974e52939637e5a9.zip
Bug #245723 - Show days with transparent events in italic
Diffstat (limited to 'widgets/misc/e-calendar-item.h')
-rw-r--r--widgets/misc/e-calendar-item.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/widgets/misc/e-calendar-item.h b/widgets/misc/e-calendar-item.h
index f86fc4fd79..936e86ebab 100644
--- a/widgets/misc/e-calendar-item.h
+++ b/widgets/misc/e-calendar-item.h
@@ -41,7 +41,8 @@ G_BEGIN_DECLS
#define E_CALENDAR_COLS_PER_MONTH 7
/* Used to mark days as bold in e_calendar_item_mark_day(). */
-#define E_CALENDAR_ITEM_MARK_BOLD 1
+#define E_CALENDAR_ITEM_MARK_BOLD (1 << 0)
+#define E_CALENDAR_ITEM_MARK_ITALIC (1 << 1)
/*
* These are the padding sizes between various pieces of the calendar.
@@ -101,6 +102,7 @@ typedef void (*ECalendarItemStyleCallback) (ECalendarItem *calitem,
GdkColor **fg_color,
GdkColor **box_color,
gboolean *bold,
+ gboolean *italic,
gpointer data);
/* The type of the callback function optionally used to get the current time.
@@ -329,7 +331,8 @@ void e_calendar_item_mark_day (ECalendarItem *calitem,
gint year,
gint month,
gint day,
- guint8 day_style);
+ guint8 day_style,
+ gboolean add_day_style);
/* Mark a range of days. Any days outside the currently shown range are
ignored. */
@@ -340,7 +343,8 @@ void e_calendar_item_mark_days (ECalendarItem *calitem,
gint end_year,
gint end_month,
gint end_day,
- guint8 day_style);
+ guint8 day_style,
+ gboolean add_day_style);
/* Sets the function to call to get the colors to use for a particular day. */
void e_calendar_item_set_style_callback (ECalendarItem *calitem,