Added WMSetTabViewFont().
[wmaker-crm.git] / src / winspector.h
blobeceee2899f42e71ad04e3763c773b6ae3a902cd4
1 /* winspector.h - window attribute inspector header file
2 *
3 * Window Maker window manager
4 *
5 * Copyright (c) 1997, 1998 Alfredo K. Kojima
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
20 * USA.
23 #ifndef WINSPECTOR_H_
24 #define WINSPECTOR_H_
26 #include "window.h"
28 typedef struct InspectorPanel {
29 struct InspectorPanel *nextPtr;
31 WWindow *frame;
33 WWindow *inspected; /* the window that's being inspected */
35 WMWindow *win;
37 Window parent;
39 /* common stuff */
40 WMButton *revertBtn;
41 WMButton *applyBtn;
42 WMButton *saveBtn;
44 WMPopUpButton *pagePopUp;
46 /* first page. general stuff */
48 WMFrame *specFrm;
49 WMButton *instRb;
50 WMButton *clsRb;
51 WMButton *bothRb;
52 WMButton *defaultRb;
54 WMLabel *specLbl;
56 /* second page. attributes */
58 WMFrame *attrFrm;
59 WMButton *attrChk[10];
61 /* 3rd page. more attributes */
62 WMFrame *moreFrm;
63 WMButton *moreChk[8];
65 /* 4th page. icon and workspace */
66 WMFrame *iconFrm;
67 WMLabel *iconLbl;
68 WMLabel *fileLbl;
69 WMTextField *fileText;
70 WMButton *alwChk;
72 WMButton *updateIconBtn;
74 WMButton *browseIconBtn;
76 WMFrame *wsFrm;
77 WMPopUpButton *wsP;
79 /* 5th page. application wide attributes */
80 WMFrame *appFrm;
81 WMButton *appChk[2];
83 unsigned int done:1;
84 unsigned int destroyed:1;
85 unsigned int choosingIcon:1;
86 } InspectorPanel;
90 void wShowInspectorForWindow(WWindow *wwin);
91 void wDestroyInspectorPanels();
93 #endif