Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / dtcm / monthglance.h
1 /*******************************************************************************
2 **
3 **  monthglance.h
4 **
5 **  static char sccsid[] = "@(#)yearglance.h 1.2 93/08/10 Copyr 1991 Sun Microsystems, Inc."; 
6 **
7 **  $XConsortium: monthglance.h /main/4 1996/04/12 14:58:21 rswiston $
8 **
9 **  RESTRICTED CONFIDENTIAL INFORMATION:
10 **
11 **  The information in this document is subject to special
12 **  restrictions in a confidential disclosure agreement between
13 **  HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
14 **  document outside HP, IBM, Sun, USL, SCO, or Univel without
15 **  Sun's specific written approval.  This document and all copies
16 **  and derivative works thereof must be returned or destroyed at
17 **  Sun's request.
18 **
19 **  Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
20 **
21 *******************************************************************************/
22
23 /*                                                                      *
24  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
25  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
26  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
27  * (c) Copyright 1993, 1994 Novell, Inc.                                *
28  */
29
30 #ifndef _MONTHGLANCE_H
31 #define _MONTHGLANCE_H
32
33 #include <csa.h>
34 #include "ansi_c.h"
35
36 typedef struct month {
37         Widget  *hot_button;
38         Widget  month_label;
39         XPoint  *button_loc;
40         int     ndays;
41         int     dayname_height;
42 } Month;
43
44 extern void     prepare_to_paint_monthview      P((Calendar*, XRectangle*));
45 extern void     get_time_str            P((Dtcm_appointment*, char*));
46 extern void     month_button            P((Widget, XtPointer, XtPointer));
47 extern void     month_event             P((XEvent*));
48 extern void     paint_grid              P((Calendar*, XRectangle*));
49 extern void     print_month_range       P((Calendar*, Tick, Tick));
50 extern void     cleanup_after_monthview P((Calendar*));
51
52
53 #endif