aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-week-view.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-week-view.h')
-rw-r--r--calendar/gui/e-week-view.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/calendar/gui/e-week-view.h b/calendar/gui/e-week-view.h
index 9525b87c02..5a1f2e6d22 100644
--- a/calendar/gui/e-week-view.h
+++ b/calendar/gui/e-week-view.h
@@ -53,12 +53,12 @@
((obj), E_TYPE_WEEK_VIEW, EWeekViewClass))
/* The maximum number of weeks we show. 5 is usually enough for 1 month,
- but we allow 6 for longer selections. */
+ * but we allow 6 for longer selections. */
#define E_WEEK_VIEW_MAX_WEEKS 6
/* The size of the reminder & recurrence icons, and padding around them.
- X_PAD is the padding between icons. R_PAD is the padding on the right of
- the last icon, before the event text. */
+ * X_PAD is the padding between icons. R_PAD is the padding on the right of
+ * the last icon, before the event text. */
#define E_WEEK_VIEW_ICON_WIDTH 16
#define E_WEEK_VIEW_ICON_HEIGHT 16
#define E_WEEK_VIEW_ICON_X_PAD 1
@@ -66,7 +66,7 @@
#define E_WEEK_VIEW_ICON_R_PAD 8
/* The space on the left & right outside of the event. (The triangle to
- indicate the event continues is displayed in this space). */
+ * indicate the event continues is displayed in this space). */
#define E_WEEK_VIEW_EVENT_L_PAD 2
#define E_WEEK_VIEW_EVENT_R_PAD 2
@@ -90,12 +90,12 @@
#define E_WEEK_VIEW_EVENT_EDGE_X_PAD 2
/* The padding above and on the right of the date string at the top of each
- cell. */
+ * cell. */
#define E_WEEK_VIEW_DATE_T_PAD 2
#define E_WEEK_VIEW_DATE_R_PAD 4
/* The padding above and below the line under the date string, in the Week
- view, and also the space on the left of it. */
+ * view, and also the space on the left of it. */
#define E_WEEK_VIEW_DATE_LINE_T_PAD 1
#define E_WEEK_VIEW_DATE_LINE_B_PAD 1
#define E_WEEK_VIEW_DATE_LINE_L_PAD 10
@@ -104,8 +104,8 @@
#define E_WEEK_VIEW_DATE_B_PAD 1
/* We use a 7-bit field to store row numbers in EWeekViewEventSpan, so the
- maximum number or rows we can allow is 127. It is very unlikely to be
- reached anyway. */
+ * maximum number or rows we can allow is 127. It is very unlikely to be
+ * reached anyway. */
#define E_WEEK_VIEW_MAX_ROWS_PER_CELL 127
G_BEGIN_DECLS
@@ -139,7 +139,7 @@ typedef enum
} EWeekViewDragPosition;
/* These specify which times are shown for the 1-day events. We use the small
- font for the minutes if it can be loaded and the option is on. */
+ * font for the minutes if it can be loaded and the option is on. */
typedef enum
{
E_WEEK_VIEW_TIME_NONE,
@@ -195,8 +195,8 @@ struct _EWeekView {
gint layout_timeout_id;
/* An array of EWeekViewEventSpan elements. Each event has its own
- space within this array, and uses the spans_index and num_spans
- fields of the EWeekViewEvent struct to access it. */
+ * space within this array, and uses the spans_index and num_spans
+ * fields of the EWeekViewEvent struct to access it. */
GArray *spans;
/* The start of each day displayed. */
@@ -209,7 +209,7 @@ struct _EWeekView {
GDate first_day_shown;
/* If we are displaying multiple weeks in rows. If this is FALSE only
- one week is shown, with a different layout. */
+ * one week is shown, with a different layout. */
gboolean multi_week_view;
/* TRUE when requires scrolling by a week in a multi_week_view */
@@ -219,11 +219,11 @@ struct _EWeekView {
gboolean update_base_date;
/* How many weeks we are showing. This is only relevant if
- display_month is TRUE. */
+ * display_month is TRUE. */
gint weeks_shown;
/* If Sat & Sun are compressed. Only applicable in month view, since
- they are always compressed into 1 cell in the week view. */
+ * they are always compressed into 1 cell in the week view. */
gboolean compress_weekend;
/* Whether we use show event end times. */
@@ -233,8 +233,8 @@ struct _EWeekView {
gint week_start_day;
/* The first day of the week we display, 0 (Monday) to 6 (Sunday).
- This will usually be week_start_day, but if the weekend is
- compressed, and week_start_day is Sunday we have to use Saturday. */
+ * This will usually be week_start_day, but if the weekend is
+ * compressed, and week_start_day is Sunday we have to use Saturday. */
gint display_start_day;
/* The vertical offset of the events from the top of the cells. */
@@ -257,7 +257,7 @@ struct _EWeekView {
PangoFontDescription *small_font_desc;
/* The widths of various pieces of text, used to determine which of
- several date formats to display, set in e_week_view_style_set (). */
+ * several date formats to display, set in e_week_view_style_set (). */
gint space_width; /* One space character ' '. */
gint colon_width; /* Size of ':' in the font. */
gint slash_width; /* Size of '/' in the font. */
@@ -273,10 +273,10 @@ struct _EWeekView {
gint max_abbr_month_width;
/* The size of the main grid of days and of the cells. A row
- corresponds to a compressed day, so normal days usually take
- up 2 rows. Note that the offsets arrays have one more element
- than the widths/heights arrays since they also contain the
- right/bottom edge. */
+ * corresponds to a compressed day, so normal days usually take
+ * up 2 rows. Note that the offsets arrays have one more element
+ * than the widths/heights arrays since they also contain the
+ * right/bottom edge. */
gint rows;
gint columns;
gint col_widths[7];
@@ -285,7 +285,7 @@ struct _EWeekView {
gint row_offsets[E_WEEK_VIEW_MAX_WEEKS * 2 + 1];
/* This specifies which times we are showing for the events, depending
- on how much room is available. */
+ * on how much room is available. */
EWeekViewTimeFormat time_format;
/* The icons. */
@@ -307,22 +307,22 @@ struct _EWeekView {
GdkCursor *last_cursor_set;
/* The currently selected region, in days from the first day shown.
- If selection_start_day is -1 there is no current selection. */
+ * If selection_start_day is -1 there is no current selection. */
gint selection_start_day;
gint selection_end_day;
/* This specifies which end of the selection is being dragged, or is
- E_WEEK_VIEW_DRAG_NONE if the selection isn't being dragged. */
+ * E_WEEK_VIEW_DRAG_NONE if the selection isn't being dragged. */
EWeekViewDragPosition selection_drag_pos;
/* This is the event the mouse button was pressed on. If the button
- is released we start editing it, but if the mouse is dragged we set
- this to -1. */
+ * is released we start editing it, but if the mouse is dragged we set
+ * this to -1. */
gint pressed_event_num;
gint pressed_span_num;
/* The event span currently being edited. The num is -1 if no event is
- being edited. */
+ * being edited. */
gint editing_event_num;
gint editing_span_num;
@@ -344,7 +344,7 @@ struct _EWeekView {
gboolean event_destroyed;
/* remember last selected interval when click and restore on double click,
- if we double clicked inside that interval. */
+ * if we double clicked inside that interval. */
guint32 bc_event_time;
time_t before_click_dtstart;
time_t before_click_dtend;
@@ -365,16 +365,16 @@ GType e_week_view_get_type (void);
ECalendarView * e_week_view_new (ECalModel *model);
/* The first day shown. Note that it will be rounded down to the start of a
- week when set. The returned value will be invalid if no date has been set
- yet. */
+ * week when set. The returned value will be invalid if no date has been set
+ * yet. */
void e_week_view_get_first_day_shown (EWeekView *week_view,
GDate *date);
void e_week_view_set_first_day_shown (EWeekView *week_view,
GDate *date);
/* The selected time range. The EWeekView will show the corresponding
- month and the days between start_time and end_time will be selected.
- To select a single day, use the same value for start_time & end_time. */
+ * month and the days between start_time and end_time will be selected.
+ * To select a single day, use the same value for start_time & end_time. */
void e_week_view_set_selected_time_range_visible
(EWeekView *week_view,
time_t start_time,
@@ -396,7 +396,7 @@ void e_week_view_set_weeks_shown (EWeekView *week_view,
gint weeks_shown);
/* Whether the weekend (Sat/Sun) should be compressed into 1 cell in the Month
- view. In the Week view they are always compressed. */
+ * view. In the Week view they are always compressed. */
gboolean e_week_view_get_compress_weekend (EWeekView *week_view);
void e_week_view_set_compress_weekend (EWeekView *week_view,
gboolean compress_weekend);