~ctwm/ctwm/trunk

304.1.2 by Matthew Fuller
Run 'make indent' to reindent the world.
1
/*
554.1.6 by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all
2
 * AddWindow include file
3
 *
4
 *
5
 *       Copyright 1988 by Evans & Sutherland Computer Corporation,
6
 *                          Salt Lake City, Utah
7
 *  Portions Copyright 1989 by the Massachusetts Institute of Technology
8
 *                        Cambridge, Massachusetts
1 by Claude Lecommandeur
CTWM version 1.1
9
 *
10
 * $XConsortium: add_window.h,v 1.7 90/04/17 14:04:33 jim Exp $
11
 *
12
 * 31-Mar-88 Tom LaStrange        Initial Version.
13
 *
554.1.6 by Matthew Fuller
Collapse away redundant license texts in most .h files. These are all
14
 * Copyright 1992 Claude Lecommandeur.
15
 */
1 by Claude Lecommandeur
CTWM version 1.1
16
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
17
#ifndef _CTWM_ADD_WINDOW_H
18
#define _CTWM_ADD_WINDOW_H
1 by Claude Lecommandeur
CTWM version 1.1
19
20
extern char NoName[];
492.2.91 by Matthew Fuller
Track down a bunch more boolean vars, and make them bool.
21
extern bool resizeWhenAdd;
1 by Claude Lecommandeur
CTWM version 1.1
22
497.1.16 by Matthew Fuller
Now that we've eliminated the magic about it, we can just turn this
23
typedef enum {
24
	AWT_NORMAL,
25
	AWT_ICON_MANAGER,
26
	AWT_WINDOWBOX,
27
	AWT_WORKSPACE_MANAGER,
512.1.7 by Matthew Fuller
Add a new AddWindow() type for the Occupy window.
28
	AWT_OCCUPY,
497.1.16 by Matthew Fuller
Now that we've eliminated the magic about it, we can just turn this
29
} AWType;
30
31
TwmWindow *AddWindow(Window w, AWType wtype, IconMgr *iconp,
492.2.28 by Matthew Fuller
extern is implicit and the only linkage specifier that's meaningful
32
                     VirtualScreen *vs);
33
void GrabButtons(TwmWindow *tmp_win);
34
void GrabKeys(TwmWindow *tmp_win);
518.1.22 by Matthew Fuller
Break the funcs for handling WindowRegion stuff out of add_window.c
35
304.1.2 by Matthew Fuller
Run 'make indent' to reindent the world.
36
extern int AddingX;
1 by Claude Lecommandeur
CTWM version 1.1
37
extern int AddingY;
134 by Richard Levitte
Resolve a lot of unsigned vs. signed conflicts, and a few other
38
extern unsigned int AddingW;
39
extern unsigned int AddingH;
13 by Claude Lecommandeur
CTWM version 3.3.1
40
93 by Richard Levitte
- Convert all functions to use proper prototypes.
41
484 by Matthew Fuller
Consistently rename all the include guards so they match the filename,
42
#endif /* _CTWM_ADD_WINDOW_H */
1 by Claude Lecommandeur
CTWM version 1.1
43