1 #ifndef SCREEN_H
2 #define SCREEN_H
3 
4 #include "icon.h"
5 
6 typedef struct _Scrn {
7   struct _Scrn *behind, *upfront;
8   Window root, back, inputbox;
9   Colormap cmap;
10   Visual *visual;
11   GC gc, icongc, rubbergc, menubargc;
12   char *title;
13   char *deftitle;
14   struct DrawInfo dri;
15   int fh,bh,h2,h3,h4,h5,h6,h7,h8;
16   int width, height, depth, y, bw;
17   struct IconPixmaps default_tool_pms;
18   Pixmap disabled_stipple;
19   unsigned int default_tool_pm_w, default_tool_pm_h, lh;
20   Window menubar, menubarparent, menubardepth;
21   int hotkeyspace, checkmarkspace, subspace, menuleft;
22   struct _Icon *icons, *firstselected;
23   struct Menu *firstmenu;
24   int number, realized, iconcolorsallocated;
25   unsigned long iconcolor[256];
26 } Scrn;
27 
28 extern Scrn *scr, *front;
29 
30 #endif
31