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 librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: PanelSP.h /main/3 1995/11/01 11:27:59 rswiston $ */
25 #ifndef _DtPanelShellP_h
26 #define _DtPanelShellP_h
29 #include <X11/ShellP.h>
33 typedef struct _DtPanelShellClassPart
36 } DtPanelShellClassPart;
38 typedef struct _DtPanelShellClassRec
40 CoreClassPart core_class;
41 CompositeClassPart composite_class;
42 ShellClassPart shell_class;
43 WMShellClassPart wm_shell_class;
44 VendorShellClassPart vendor_shell_class;
45 TopLevelShellClassPart top_level_shell_class;
46 DtPanelShellClassPart application_shell_class;
47 } DtPanelShellClassRec;
49 extern DtPanelShellClassRec dtPanelShellClassRec;
52 typedef struct _DtPanelShellPart
54 XmFontList high_res_font_list;
55 XmFontList medium_res_font_list;
56 XmFontList low_res_font_list;
60 typedef struct _DtPanelShellRec
63 CompositePart composite;
66 VendorShellPart vendor;
67 TopLevelShellPart topLevel;
68 DtPanelShellPart panel;
72 /*-------------------------------------------------------------
73 ** Class and Instance Macros
76 /* DtPanelShell Class Macros
79 /* DtPanelShell Instance Macros
81 #define S_Resolution(s) (s -> panel.resolution)
82 #define S_HighResFontList(s) (s -> panel.high_res_font_list)
83 #define S_MediumResFontList(s) (s -> panel.medium_res_font_list)
84 #define S_LowResFontList(s) (s -> panel.low_res_font_list)
87 #endif /* _DtPanelShellP_h */