File: screen.h

package info (click to toggle)
amiwm 0.22pl2-5
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid
  • size: 1,048 kB
  • sloc: ansic: 10,195; perl: 443; makefile: 258; yacc: 245; lex: 215; sh: 211
file content (35 lines) | stat: -rw-r--r-- 902 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef SCREEN_H
#define SCREEN_H

#include "icon.h"

typedef struct _Scrn {
  struct _Scrn *behind, *upfront;
  Window root, back, inputbox;
  Colormap cmap;
  Visual *visual;
  GC gc, icongc, rubbergc, menubargc;
  char *title;
  char *deftitle;
  struct DrawInfo dri;
  int fh,bh,h2,h3,h4,h5,h6,h7,h8;
  int width, height, depth, y, bw;
  struct IconPixmaps default_tool_pms;
  Pixmap disabled_stipple;
  unsigned int default_tool_pm_w, default_tool_pm_h, lh;
  Window menubar, menubarparent, menubardepth;
  int hotkeyspace, checkmarkspace, subspace, menuleft;
  struct _Icon *icons, *firstselected;
  struct Menu *firstmenu;
  int number, realized, iconcolorsallocated;
  unsigned long iconcolor[256];
} Scrn;

extern Scrn *scr, *front;

extern Scrn *openscreen(char *deftitle, Window root);
extern void closescreen(void);
extern void realizescreens(void);
extern void screentoback(void);

#endif