Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / dtcm / MonthPanelP.h
1 /*********************************************************************************
2 **  MonthPanelP.h
3 **
4 **  $XConsortium: MonthPanelP.h /main/4 1995/11/03 10:16:54 rswiston $
5 **
6 **  RESTRICTED CONFIDENTIAL INFORMATION:
7 **
8 **  The information in this document is subject to special
9 **  restrictions in a confidential disclosure agreement between
10 **  HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
11 **  document outside HP, IBM, Sun, USL, SCO, or Univel without
12 **  Sun's specific written approval.  This document and all copies
13 **  and derivative works thereof must be returned or destroyed at
14 **  Sun's request.
15 **
16 **  Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
17 **
18 *******************************************************************************/
19
20 /*                                                                      *
21  * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
22  * (c) Copyright 1993, 1994 International Business Machines Corp.       *
23  * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
24  * (c) Copyright 1993, 1994 Novell, Inc.                                *
25  */
26
27 /*
28  * Month Panel widget private header file
29  */
30 #ifndef _XmMonthPanelP_h
31 #define _XmMonthPanelP_h
32
33 #include "MonthPanel.h"
34
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38
39 /* New fields for the MonthPanel widget class record */
40 typedef struct {
41      int mumble;   /* No new procedures */
42 } XmMonthPanelClassPart;
43
44 /******************************
45  *
46  * Class record declaration
47  *
48  ******************************/
49 typedef struct _XmMonthPanelClassRec {
50     CoreClassPart               core_class;
51     CompositeClassPart          composite_class;
52     ConstraintClassPart         constraint_class;
53     XmManagerClassPart          manager_class;
54     XmMonthPanelClassPart       month_panel_class;
55 } XmMonthPanelClassRec;
56
57 externalref XmMonthPanelClassRec xmMonthPanelClassRec;
58
59 /************************************
60  *
61  * Month Panel instance structure.
62  *
63  ************************************/
64 typedef struct {
65 /* resource fields */
66    int year;
67    int month;
68    XtCallbackList callback;
69    String title_format;
70    Boolean active_header;
71    Boolean active_days;
72    Boolean show_panel_header;
73    Boolean show_column_headers;
74    Boolean show_separator;
75 /* private fields */
76    Widget header;
77    Widget separator;
78    Widget *day_labels;   
79    Widget *days;   
80    int    display_rows;
81 } XmMonthPanelPart;
82
83
84 /************************************************************************
85  *                                                                      *
86  * Full instance record declaration                                     *
87  *                                                                      *
88  ************************************************************************/
89
90 typedef struct _XmMonthPanelRec {
91     CorePart        core;
92     CompositePart   composite;
93     ConstraintPart constraint;
94     XmManagerPart   manager;
95     XmMonthPanelPart   month_panel;
96 } XmMonthPanelRec;
97
98
99 /********    Private Function Declarations    ********/
100
101
102 /********    End Private Function Declarations    ********/
103
104
105 #ifdef __cplusplus
106 }  /* Close scope of 'extern "C"' declaration which encloses file. */
107 #endif
108
109 #endif /* _XmMonthPanelP_h */
110 /* DON'T ADD STUFF AFTER THIS #endif */