/*
 * $Header: paint.h,v 2.4 91/03/27 16:46:08 billr Exp $
 */
/*
 * paint.h
 *
 * Author: Philip Heller, Sun Microsystems. Inc. <terrapin!heller@sun.com>
 *
 * Original source Copyright (C) 1987, Sun Microsystems, Inc.
 *	All Rights Reserved
 * Permission is hereby granted to use and modify this program in source
 * or binary form as long as it is not sold for profit and this copyright
 * notice remains intact.
 *
 *
 * Changes/additions by: Bill Randle, Tektronix, Inc. <billr@saab.CNA.TEK.COM>
 *
 * Changes and additions Copyright (C) 1988, 1989, 1991 Tektronix, Inc.
 *	All Rights Reserved
 * Permission is hereby granted to use and modify the modifications in source
 * or binary form as long as they are not sold for profit and this copyright
 * notice remains intact.
 */

#ifndef NOTOOL
#include <xview/panel.h>

extern Xv_Font font, bigfont;
extern Canvas canvas;
extern Xv_window cpwindow;
extern Pixwin *main_pixwin;
extern Pixmap timeslot_pr, daybox_pr, weekarrow_pr,  weekslot_pr;
extern Pixmap weekarrowshaft_pr, weekarrowhead_pr;
extern Pixmap gr_weekarrowshaft_pr, gr_weekarrowhead_pr;
extern Pixmap triangle_pr;
extern Pixmap a_ydaybox_pr, ydaybox_pr, ymonthbox_pr;
extern Pixmap timeslot_td_pr, daybox_td_pr, weekslot_td_pr, ydaybox_td_pr;
extern Pixmap morebutton;
extern struct weekrect week_boxes[];
extern int x_coord, y_coord, startx, starty;
extern int mainsw_state;
extern int dayslot_height, weekslot_height, weekslot_width;
extern int ybox_height, ybox_width;
extern struct rect_limits boxlims[];
extern struct rect_limits mboxlims[];
extern struct week_arrow week_arrows[];
extern Frame fframe;
extern int hour24, monday_first, day_first;
#endif  /* NOTOOL */
extern char apts_pathname[], tmpapts_pathname[];
extern int read_only, day_is_open, version2;
extern char *progname;
extern char *daynames[], *monthnames[];
extern int dayslot_width, nr_weekdays, max_strlen, n_tslots, n_slots;
extern int start_hour;
extern struct tm current, today, First, Last;
extern struct dayslot *slots;
#ifndef NO_HOLIDAYS
extern int holiday_a, holiday_c, holiday_i, holiday_j, holiday_s;

extern int a_dates(), c_dates(), i_dates(), j_dates(), s_dates();
#endif
extern char *strcpy(), *strncpy();
extern int week_number();

