2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
24 #ifndef _DtPanelShellP_h
25 #define _DtPanelShellP_h
28 #include <X11/ShellP.h>
32 typedef struct _DtPanelShellClassPart
35 } DtPanelShellClassPart;
37 typedef struct _DtPanelShellClassRec
39 CoreClassPart core_class;
40 CompositeClassPart composite_class;
41 ShellClassPart shell_class;
42 WMShellClassPart wm_shell_class;
43 VendorShellClassPart vendor_shell_class;
44 TopLevelShellClassPart top_level_shell_class;
45 DtPanelShellClassPart application_shell_class;
46 } DtPanelShellClassRec;
48 extern DtPanelShellClassRec dtPanelShellClassRec;
51 typedef struct _DtPanelShellPart
53 XmFontList high_res_font_list;
54 XmFontList medium_res_font_list;
55 XmFontList low_res_font_list;
59 typedef struct _DtPanelShellRec
62 CompositePart composite;
65 VendorShellPart vendor;
66 TopLevelShellPart topLevel;
67 DtPanelShellPart panel;
71 /*-------------------------------------------------------------
72 ** Class and Instance Macros
75 /* DtPanelShell Class Macros
78 /* DtPanelShell Instance Macros
80 #define S_Resolution(s) (s -> panel.resolution)
81 #define S_HighResFontList(s) (s -> panel.high_res_font_list)
82 #define S_MediumResFontList(s) (s -> panel.medium_res_font_list)
83 #define S_LowResFontList(s) (s -> panel.low_res_font_list)
86 #endif /* _DtPanelShellP_h */