From e67721cbd7d3549c07701913b1de32fac8807063 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Sat, 17 Jun 2000 04:13:42 +0000 Subject: updated to use EText items rather than GtkEntry widgets and added support 2000-06-17 Damon Chaplin * widgets/meeting-time-sel/*: updated to use EText items rather than GtkEntry widgets and added support for adding new rows. svn path=/trunk/; revision=3604 --- widgets/meeting-time-sel/e-meeting-time-sel.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'widgets/meeting-time-sel/e-meeting-time-sel.h') diff --git a/widgets/meeting-time-sel/e-meeting-time-sel.h b/widgets/meeting-time-sel/e-meeting-time-sel.h index 6df15fe54c..a2ad4b9cd5 100644 --- a/widgets/meeting-time-sel/e-meeting-time-sel.h +++ b/widgets/meeting-time-sel/e-meeting-time-sel.h @@ -26,6 +26,7 @@ #include #include +#include "../e-text/e-text.h" #ifdef __cplusplus extern "C" { @@ -43,6 +44,8 @@ extern "C" { /* This is the width of the icon column in the attendees list. */ #define E_MEETING_TIME_SELECTOR_ICON_COLUMN_WIDTH 24 +#define E_MEETING_TIME_SELECTOR_TEXT_Y_PAD 3 +#define E_MEETING_TIME_SELECTOR_TEXT_X_PAD 2 /* These specify the type of attendee. Either a person or a resource (e.g. a meeting room). These are used for the Autopick options, where the user can @@ -146,6 +149,11 @@ struct _EMeetingTimeSelectorAttendee /* This is TRUE if the meeting request is sent to this attendee. */ gboolean send_meeting_to; + /* This is the period for which free/busy data for the attendee is + available. */ + EMeetingTimeSelectorTime busy_periods_start; + EMeetingTimeSelectorTime busy_periods_end; + /* This is an array of EMeetingTimeSelectorPeriod elements. When it is updated busy_periods_sorted is set to FALSE, and if a function needs them sorted, it should call this to re-sort them if needed: @@ -423,6 +431,20 @@ void e_meeting_time_selector_attendee_set_send_meeting_to (EMeetingTimeSelector gint row, gboolean send_meeting_to); +gboolean e_meeting_time_selector_attendee_set_busy_range (EMeetingTimeSelector *mts, + gint row, + gint start_year, + gint start_month, + gint start_day, + gint start_hour, + gint start_minute, + gint end_year, + gint end_month, + gint end_day, + gint end_hour, + gint end_minute); + + /* Clears all busy times for the given attendee. */ void e_meeting_time_selector_attendee_clear_busy_periods (EMeetingTimeSelector *mts, gint row); -- cgit v1.2.3