home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / sun / volume1 / calentool / part06 / paint.h < prev   
Encoding:
C/C++ Source or Header  |  1989-05-27  |  2.0 KB  |  59 lines

  1. /*
  2.  * $Header: paint.h,v 2.1 89/05/09 14:25:24 billr Exp $
  3.  */
  4. /*
  5.  * paint.h
  6.  *
  7.  * Author: Philip Heller, Sun Microsystems. Inc. <terrapin!heller@sun.com>
  8.  *
  9.  * Original source Copyright (C) 1987, Sun Microsystems, Inc.
  10.  *    All Rights Reserved
  11.  * Permission is hereby granted to use and modify this program in source
  12.  * or binary form as long as it is not sold for profit and this copyright
  13.  * notice remains intact.
  14.  *
  15.  *
  16.  * Changes/additions by: Bill Randle, Tektronix, Inc. <billr@saab.CNA.TEK.COM>
  17.  *
  18.  * Changes and additions Copyright (C) 1988, 1989 Tektronix, Inc.
  19.  *    All Rights Reserved
  20.  * Permission is hereby granted to use and modify the modifications in source
  21.  * or binary form as long as they are not sold for profit and this copyright
  22.  * notice remains intact.
  23.  */
  24.  
  25. #include <suntool/panel.h>
  26.  
  27. extern Pixfont *font, *bigfont;
  28. extern Canvas canvas;
  29. extern Pixwin *main_pixwin;
  30. extern struct tm current, today, First, Last;
  31. extern struct dayslot slots[];
  32. extern Pixrect *timeslot_pr, *daybox_pr, *weekarrow_pr,  *weekslot_pr;
  33. extern Pixrect *weekarrowshaft_pr, *weekarrowhead_pr;
  34. extern Pixrect *triangle_pr;
  35. extern Pixrect *ydaybox_pr, *ymonthbox_pr;
  36. extern Pixrect *timeslot_td_pr, *daybox_td_pr, *weekslot_td_pr, *ydaybox_td_pr;
  37. extern Pixrect *morebutton;
  38. extern struct weekrect week_boxes[];
  39. extern int x_coord, y_coord, startx, starty;
  40. extern int mainsw_state;
  41. extern int dayslot_width, nr_weekdays, max_strlen, n_tslots;
  42. extern int dayslot_height, weekslot_height, weekslot_width;
  43. extern int ybox_height, ybox_width;
  44. extern struct rect_limits boxlims[];
  45. extern struct rect_limits mboxlims[];
  46. extern struct week_arrow week_arrows[];
  47. extern char apts_pathname[], tmpapts_pathname[];
  48. extern int read_only, day_is_open, version2;
  49. extern char *progname;
  50. extern Frame fframe;
  51. extern char *daynames[], *monthnames[];
  52. #ifndef NO_HOLIDAYS
  53. extern int holiday_a, holiday_c, holiday_i, holiday_j, holiday_s;
  54.  
  55. extern int a_dates(), c_dates(), i_dates(), j_dates(), s_dates();
  56. #endif
  57. extern char *strcpy(), *strncpy();
  58.  
  59.