aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/mark.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@nuclecu.unam.mx>1998-10-02 07:47:01 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-10-02 07:47:01 +0800
commite9a632c3c15bac86946af5f6d75a79517b4c6a07 (patch)
tree76b462c8b3b8304c727788a314b8c65c46b284c7 /calendar/gui/mark.h
parente94162c0a48defcaa3869dc9b82638170a62bab2 (diff)
downloadgsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar.gz
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar.bz2
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar.lz
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar.xz
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.tar.zst
gsoc2013-evolution-e9a632c3c15bac86946af5f6d75a79517b4c6a07.zip
Use the font #defines. (month_view_new): Set the colors of the month view
1998-10-01 Federico Mena Quintero <federico@nuclecu.unam.mx> * month-view.c (month_view_init): Use the font #defines. (month_view_new): Set the colors of the month view upon creation. (mark_current_day): New function to mark the current day in the month view. (month_view_set): Mark the current day. (month_view_colors_changed): Mark the current day and colorify the month item appropriately. * month-view.h: Added year and month fields to the MonthView structure. * main.c: Renamed the Appointments color property, since it will be used by the month view as well. * goto.c (update): Set the current day's font and color. * year-view.c (year_view_init): Set the fonts of the month items when creating them. * mark.h: Added new #defines for HEADING_FONT and TITLE_FONT. * year-view.c (year_view_init): Use the new font #defines. * prop.c (prop_apply_colors): Fixed to work with the I-am-paranoid-and-I-need-to-size-my-ints changes to GnomeColorPicker. (color_spec_from_picker): Likewise. svn path=/trunk/; revision=424
Diffstat (limited to 'calendar/gui/mark.h')
-rw-r--r--calendar/gui/mark.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/calendar/gui/mark.h b/calendar/gui/mark.h
index 0d9491e0a5..18ec39b76b 100644
--- a/calendar/gui/mark.h
+++ b/calendar/gui/mark.h
@@ -14,8 +14,14 @@
/* These are the fonts used for the montly calendars */
-#define NORMAL_DAY_FONT "-adobe-helvetica-medium-r-normal--10-*-72-72-p-*-iso8859-1"
-#define CURRENT_DAY_FONT "-adobe-helvetica-bold-r-normal--12-*-72-72-p-*-iso8859-1"
+#define HEADING_FONT "-*-helvetica-bold-r-normal--14-*-*-*-p-*-*-*"
+#define TITLE_FONT "-*-helvetica-bold-r-normal--12-*-*-*-p-*-*-*"
+#define DAY_HEADING_FONT "-*-helvetica-medium-r-normal--10-*-*-*-p-*-*-*"
+#define NORMAL_DAY_FONT "-*-helvetica-medium-r-normal--10-*-*-*-p-*-*-*"
+#define CURRENT_DAY_FONT "-*-helvetica-bold-r-normal--12-*-*-*-p-*-*-*"
+#define BIG_DAY_HEADING_FONT "-*-helvetica-bold-r-normal--14-*-*-*-p-*-*-*"
+#define BIG_NORMAL_DAY_FONT "-*-helvetica-medium-r-normal--14-*-*-*-p-*-*-*"
+#define BIG_CURRENT_DAY_FONT "-*-helvetica-bold-r-normal--14-*-*-*-p-*-*-*"
/* Functions of this type are used by the marking functions to fetch color specifications. Such