ab9c6b16cc701c560aaa6259cde98790c14576cb
[oweals/cde.git] / cde / programs / dtwm / PanelSP.h
1 /* $XConsortium: PanelSP.h /main/3 1995/11/01 11:27:59 rswiston $ */
2
3 #ifndef _DtPanelShellP_h
4 #define _DtPanelShellP_h
5
6 #include <Xm/XmP.h>
7 #include <X11/ShellP.h>
8 #include "PanelS.h"
9
10
11 typedef struct _DtPanelShellClassPart
12     {
13     XtPointer           extension;
14     }   DtPanelShellClassPart;
15
16 typedef struct _DtPanelShellClassRec
17     {
18     CoreClassPart       core_class;
19     CompositeClassPart  composite_class;
20     ShellClassPart      shell_class;
21     WMShellClassPart    wm_shell_class;
22     VendorShellClassPart        vendor_shell_class;
23     TopLevelShellClassPart      top_level_shell_class;
24     DtPanelShellClassPart       application_shell_class;
25     }   DtPanelShellClassRec;
26
27 extern DtPanelShellClassRec dtPanelShellClassRec;
28
29
30 typedef struct _DtPanelShellPart
31     {
32     XmFontList          high_res_font_list;
33     XmFontList          medium_res_font_list;
34     XmFontList          low_res_font_list;
35     Dimension           resolution;
36     }   DtPanelShellPart;
37
38 typedef struct _DtPanelShellRec
39     {
40     CorePart            core;
41     CompositePart       composite;
42     ShellPart           shell;
43     WMShellPart         wm;
44     VendorShellPart     vendor;
45     TopLevelShellPart   topLevel;
46     DtPanelShellPart    panel;
47     }   DtPanelShellRec;
48
49
50 /*-------------------------------------------------------------
51 **      Class and Instance Macros
52 */
53
54 /*      DtPanelShell Class Macros
55 */      
56
57 /*      DtPanelShell Instance Macros
58 */
59 #define S_Resolution(s)         (s -> panel.resolution)
60 #define S_HighResFontList(s)    (s -> panel.high_res_font_list)
61 #define S_MediumResFontList(s)  (s -> panel.medium_res_font_list)
62 #define S_LowResFontList(s)     (s -> panel.low_res_font_list)
63
64
65 #endif /* _DtPanelShellP_h */