home *** CD-ROM | disk | FTP | other *** search
- /*
- * $Header: paint.h,v 2.1 89/05/09 14:25:24 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 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.
- */
-
- #include <suntool/panel.h>
-
- extern Pixfont *font, *bigfont;
- extern Canvas canvas;
- extern Pixwin *main_pixwin;
- extern struct tm current, today, First, Last;
- extern struct dayslot slots[];
- extern Pixrect *timeslot_pr, *daybox_pr, *weekarrow_pr, *weekslot_pr;
- extern Pixrect *weekarrowshaft_pr, *weekarrowhead_pr;
- extern Pixrect *triangle_pr;
- extern Pixrect *ydaybox_pr, *ymonthbox_pr;
- extern Pixrect *timeslot_td_pr, *daybox_td_pr, *weekslot_td_pr, *ydaybox_td_pr;
- extern Pixrect *morebutton;
- extern struct weekrect week_boxes[];
- extern int x_coord, y_coord, startx, starty;
- extern int mainsw_state;
- extern int dayslot_width, nr_weekdays, max_strlen, n_tslots;
- 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 char apts_pathname[], tmpapts_pathname[];
- extern int read_only, day_is_open, version2;
- extern char *progname;
- extern Frame fframe;
- extern char *daynames[], *monthnames[];
- #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();
-
-